config/ hold what has to be known before the database is read: branding, colours and who can see the app. Restart the resource after changing them.
Which framework, inventory, target, keys and dispatch you run is not set here either. Awoken Bridge answers that for every Awoken script at once.
General
config/core.lua
Branding
config/core.lua
nameis what the app is called on the tablet’s home screen.iconis the home screen tile. Use an image link, or the name of a Lucide icon such as'truck'.iconBackgroundis the colour behind the icon.inAppLogois the logo shown inside the app.
Who sees the app
By default everyone does. Turn on a gate to restrict it. Turn on more than one and a player has to pass all of them.config/core.lua
itemGate.mode decides what “have” means:
'item'checks their pockets. They carry it.'sdcard'means the item has to be installed inside their tablet. That needs the tablet’s SD card system. On a server with SD cards turned off it quietly behaves as'item', so picking it is safe either way.
itemGate, register the item first. See Installation.
The van
config/core.lua
extras and livery.
boxville2 is the GoPostal van, and its logos are part of its paint. Repainting a branded van wipes them off, so leave colors out if you want the stock look.Map blips
config/core.lua
Notifications
config/core.lua
position takes any of: top, bottom, top-left, top-right, bottom-left, bottom-right, center-left, center-right.
Who answers the door
config/core.lua
Admin access
config/core.lua
aceOnly = true to require the ace and nothing else.
Colours
The app’s palette is inconfig/theme.lua. Every value is a hex colour, '#RRGGBB', or '#RRGGBBAA' where the last two digits are how solid it is.
config/theme.lua
categoryAccentsgives each Training category its own colour.routeTintsmakes one route card stand out. Most routes should not be listed.
Going light on the surface colours means darkening the three text colours to match, or nothing will be readable.
Language
Every line of text is inconfig/locales/en.lua, including everything the app shows, under the web table.
- To reword something, edit the value in place.
- To translate, copy the file, change
Config.Locales.ento your language such asConfig.Locales.fr, translate the values, add the file toshared_scriptsinfxmanifest.lua, and setConfig.Locale = 'fr'.
web table uses {name} style placeholders. Keep them exactly as they are.
Files you can ignore
config/depot.luais read once, on the first start, to create the starting depot. Editing it afterwards does nothing. Depots are edited in the admin panel.config/neighbourhoods/is empty on purpose. Areas and doorsteps live in the database.