1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[mdt]/myMDT_core/config.sync.lua

34 lines
1 KiB
Lua
Raw Normal View History

2025-08-14 13:21:51 +02:00
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
}