33 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
SyncSettings = {}
 | 
						|
 | 
						|
--[[
 | 
						|
	find documentation here: 
 | 
						|
	https://daburnergermany.gitbook.io/mymdt/info/sync-config.sync.lua
 | 
						|
]]
 | 
						|
 | 
						|
SyncSettings.Licenses = {
 | 
						|
	sync = false,
 | 
						|
	system = {
 | 
						|
		ESX = true,
 | 
						|
		myDocuments = false,
 | 
						|
		bcs_licensemanager = false --only syncs the relation for the user, the licenses needs to be added manually to database (myemergency_licenses), string_key must be license type!!
 | 
						|
	},
 | 
						|
	interval = 1 * 60 * 1000, --here one minute
 | 
						|
	onlyOnStartUp = true --if this should only run at script start true else false
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
SyncSettings.MainData = {
 | 
						|
	active = false,
 | 
						|
	fullSync = false, --if set to true all you data is synced every time, if false only new data or deletes are done! (for vehicles the check for plate and owner change)
 | 
						|
	showServerMessages = false,
 | 
						|
	Types = {
 | 
						|
		Users = true,
 | 
						|
		Vehicles = true,
 | 
						|
		UserLicenses = true --works only with esx default or myDocuments and when the users-sync is active!
 | 
						|
	},
 | 
						|
	VehiclesWhere = nil,
 | 
						|
 | 
						|
	Interval = 1 * 60 * 1000, --here one minute
 | 
						|
	onlyOnStartUp = false --if this should only run at script start true else false
 | 
						|
}
 |