Documentation
Optional Addon

Vcore-stashboxes

Optional VCORE addon for VIN-bound concealed vehicle storage. It uses Core menus, progress, notifications and animations, VCORE inventory stashes, state bags, server-issued action sessions and central logs. There is no custom NUI. 1. Merge `install/vcore_items.lua` into Core shared items. All referenced images already exist in VCORE inventory. 2. Import `sql/stashboxes.sql`; startup also creates and migrates the tables. 3. Set a private server-only PIN pepper, for example: `set vcore_stashboxes_pepper "replace-with-a-long-random-secret"` 4. Configure kits, access points, police jobs/tools, durations and class rules. 5. Start `stashboxes` after `core`, `inventory` and `oxmysql`. `radialmenu` and `vcore_minigames` are optional integrations. Without radialmenu,

Introduction

Optional VCORE addon for VIN-bound concealed vehicle storage. It uses Core menus, progress, notifications and animations, VCORE inventory stashes, state bags, server-issued action sessions and central logs. There is no custom NUI. 1. Merge `install/vcore_items.lua` into Core shared items. All referenced images already exist in VCORE inventory. 2. Import `sql/stashboxes.sql`; startup also creates and migrates the tables. 3. Set a private server-only PIN pepper, for example: `set vcore_stashboxes_pepper "replace-with-a-long-random-secret"` 4. Configure kits, access points, police jobs/tools, durations and class rules. 5. Start `stashboxes` after `core`, `inventory` and `oxmysql`. `radialmenu` and `vcore_minigames` are optional integrations. Without radialmenu,

Version: 1.0.0Optional Resource9 Lua files1 SQL files

Exports

serverGetVehicleStashboxes

Export available from this resource. Check the resource notes and expected parameters before integrating it.

serverHasVehicleStashbox

Export available from this resource. Check the resource notes and expected parameters before integrating it.

Callbacks

serverstashboxes:server:cancelAction

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:changePin

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:completeForceEntry

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:completeInstall

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:completePoliceSearch

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:completeRemoval

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:open

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:requestForceEntry

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:requestInstall

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:requestPoliceSearch

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:requestRemoval

Callback available from this resource. Confirm parameters and return values before using it.

serverstashboxes:server:status

Callback available from this resource. Confirm parameters and return values before using it.

Registered network events

clientstashboxes:client:install

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientstashboxes:client:open

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientstashboxes:client:policeSearch

Registered event for this resource. Confirm the expected payload and intended scope before using it.

Commands

  • /searchstashbox (client)
  • /stashbox (client)

Database / SQL

SQL files

  • sql/stashboxes.sql

Detected tables

  • vehicle_stashbox_audit
  • vehicle_stashboxes

Troubleshooting

  • Confirm every manifest dependency above is started first.
  • Import the SQL where the resource includes database files.
  • Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
  • Do not copy internal event names into integrations without checking their implementation.