Skip to the content
Docs

Database

On this page3

5CODE Loadouts uses oxmysql and manages its schema for you.

Automatic setup

On first server start, the script creates all required tables. No manual SQL is needed for a standard install.

Tables

TablePurpose
loadouts_configsStored loadout definitions (units, items, deposits)
loadouts_deploymentsActive and historical deployments per officer
loadouts_activityIn-game activity log (deploy / return / emergency)
loadouts_settingsLive settings managed from the in-game UI
loadouts_grade_unitsGrade → unit access mapping
loadouts_equipment_vipPer-equipment VIP overrides

Optional manual import

If you prefer to provision the schema yourself, the SQL file shipped with the resource can be imported manually before first start. After that, the script will detect existing tables and skip creation.