Configuration

Every option in config.lua is documented below.

MS.Settings.dev_modefalse
Prints verbose debug output to the server console via MS.Debug().
MS.Locale"en"
Active locale key. Must match a table in MS.Locales; "de" and "en" are bundled in backend/locale/.
MS.Layout.version"1"
Header layout version. Switch to "2" for the new header design.
MS.Settings.load_delay3000
Milliseconds the client waits after start before creating markers/opening the UI (in ms).
MS.Settings.keybind"G"
Default keybind for quick-accepting an incoming dispatch, registered with RegisterKeyMapping.
MS.Settings.interval5000
Milliseconds between board sweeps that remove finished dispatches that have aged out.
MS.Settings.days90
Maximum days of daily dispatch stats the frontend chart can request.
MS.Settings.phone"lb-phone"
Phone resource used for MS.CallPhoneNumber (lb-phone / roadphone / your own integration).
MS.Settings.phone_anonymoustrue
Hides the responder's number from the person being called.
MS.Settings.phone_company""
lb-phone only: company name shown on the call. Empty calls as the responder.
MS.Settings.create_cooldown10
Seconds between two self-reported dispatches from the same player.
MS.Settings.call_cooldown5
Seconds between two phone calls placed by the same responder.
MS.Settings.stats_cooldown3
Seconds between two stats queries from the same player.
MS.Jobs{ ["ambulance"] = true }
Jobs allowed to access the dispatch board. Add more job names set to true to grant access.
MS.DispatchMarkertable
The 3D marker drawn at a dispatch's location (type, scale, rotation, color, bobbing, rotating, draw/close distance). See cl_config.lua for all fields.
MS.Hospitalsvector3[]
Hospital locations (Pillbox Hill, Sandy Shores, Paleto Bay) used as map reference points.
MS.Discord.enabled
Turns Discord webhook logging on or off.
MS.Discord.webhook""
Discord webhook URL used for logging. Required when MS.Discord.enabled is true.

Last updated