Configuration

Every option in config.lua is documented below.

MS.Layout.prefix"DISPATCH"
Left half of the app title, rendered in the light face.
MS.Locale"en"
Active locale key. Must match a table in MS.Locales, populated from locale/*.lua (only en.lua ships by default).
MS.Layout.suffix"APP"
Right half of the title, rendered in the red accent face.
MS.Settings.load_delay3000
Milliseconds to wait after the client's session starts before it begins polling for more_dispatch and lb-phone to register the app.
MS.Layout.search"Search User"
Placeholder text of the user search field in the app.
MS.Layout.send_dispatch"Send Dispatch"
Label of the send-dispatch button.
MS.Layout.reason"Reason"
Label of the reason input field.
MS.Layout.confirm"Confirm"
Label of the confirm button on the send-dispatch screen.
MS.Settings.dev_modefalse
Prints verbose debug output to the server console via MS.Debug().
MS.Settings.timeout30
Seconds a player must wait between two dispatches sent from this app.
MS.Jobstable
Departments shown as cards in the app. Each key must match a job in more_dispatch's own MS.Jobs and defines a faction, tag, desc, and optional logo.
MS.BadWordstable
List of substrings blocked, case-insensitive, in the reason field before a dispatch can be sent.
MS.App.identifier"more_dispatchapp"
Unique app id passed to lb-phone's AddCustomApp export when registering.
MS.App.name"Dispatch App"
App name shown in lb-phone's home screen and app store.
MS.App.description"A dispatch app for the LB Phone"
App description shown in lb-phone's app store listing.
MS.App.developer"MORE"
Developer name shown in the app store listing.
MS.App.size59812
App size (in bytes) shown in the app store listing.
MS.App.defaultfalse
Whether the app is pre-installed on every phone by default.
MS.App.iconcfx-nui URL
Icon shown on the phone's home screen and in the app store.
MS.App.fixBlurtrue
Fixes icon blur on some lb-phone themes.
MS.App.price.enabledfalse
Whether the app is sold in the app store instead of free.
MS.App.price.amount0
Price charged in the app store when price.enabled is true.
MS.App.imagestable
Light/dark screenshot URLs shown in the app store listing.

Last updated