Optional:
Resource positioning
Database
The tables are created on the first start. Every later update applies its own database changes once, in order, so existing installs upgrade without losing units. storages.sql is included if you prefer to import the tables yourself.
If a database change fails, the resource stops and the console shows Migration N (...) failed with the reason. Fix the cause and restart; the changes that already ran are not repeated.
Permissions
Staff open the admin panel with a staff job (realEstateJobs in config/shared.lua, realestate by default). The Settings tab inside it also needs this ACE. Add it to your server.cfg:
See Commands and permissions for what each job can do.
Updating from 2.x
- Back up your database and the old resource folder.
- Replace the resource folder. Keep your old
config/files aside and compare them with the new ones rather than copying them over: they have many new options. The adapters incustom/,client/frameworks/,server/frameworks/andserver/logs/moved tobridge/. Move any changes you made into the new files; old copies left behind are not loaded, and the console warns about each one. - Start the server. The new tables and columns are added on start, and existing units, owners, passwords and rent dates are kept.
- Add the ACE above, then go through In-game settings.
The old ox_lib menus for players and admins are gone: players use the unit window and /mystorages, staff use the admin panel.
These are chosen in config/shared.lua and load when the resource starts, so they aren't in the Settings tab. Restart the resource after changing one.
Banking
Set banking in config/shared.lua to the resource that holds your society accounts. Paying the society is turned on in Settings β Rent and payments.
Interaction
How players open units, facility entrances and the evidence locker. Unlike the adapters above, this one is in Settings β Interaction, and a change applies straight away.