Skip to main content
Server-only: database tables & columns, Government Portal accounts, security, money account, payment item, refunds, bill history, server hooks and the custom phone adapter.
Runs on: server. This file stays editable when the resource is escrow-protected. Restart the resource after editing.
Server-only file: players never receive it, so it is the right place for passwords and hidden settings.
config/config.server.lua — database, money and hooks.

Database tables

Set vehicles to a table name (columns name, model, price, category) to read the catalog from the database on any framework.

Owned vehicle columns

'auto' uses the framework’s default columns. Set a table if your garage script names them differently.

Security

Requests above the limit are ignored and logged once (possible cheat menu). Every purchase, ownership, job and permission check runs on the server; the client only shows results. location stops cheat menus from using City Hall from anywhere on the map: taking tests, ordering documents, buying insurance, paying bills and taxes, business actions, Job Center applications, collecting paychecks and the hidden console commands only work within distance of a City Hall. Viewing data, the phone app, mail and the Government Portal (which has its own access checks) work everywhere.
Opening the PC away from City Hall:
  • Config.Command.enabled = true turns the location check off, since the command works anywhere.
  • From a server script (laptop item, MDT…), use exports['aps_cityhall']:openCityHall(source). That PC session skips the check until the player closes it.
  • If you open it with the client export OpenCityHall() away from City Hall, set location.enabled = false.

Money & payment

Server hooks are documented on the Hooks page.

Full View

Preview File Updated: 3.7.0 - 02.11.2026
config/config.server.lua