Skip to content

Installation

Framework QBCore, Qbox or ESX Legacy
Inventory ox_inventory, qb-inventory or qs-inventory (beta). ESX needs ox_inventory or qs-inventory: its default inventory has no trunks
Interaction sl_interact, ox_target or qb-target
Server OneSync enabled, recent artifacts

No other dependencies: no ox_lib, no PolyZone.

These files are open so you can adapt them:

File What you change there
config.lua Every option
locales/ Every text the players see; copy en.lua to add a language
data/items.lua, data/fallback.lua Which prop shows each item
data/zones/ Generated trunk zones and your own (custom/, written by the editor)
data/loot.lua NPC loot tables (Pro)
server/bridge/, client/bridge/, shared/framework.lua, client/target.lua, client/notify.lua Inventory, framework, target and notification bridges

The rest is protected by the Cfx Asset Escrow.

Get SL-Trunk from the store, then open portal.cfx.re, go to Assets > Granted Assets and download it.

2. Add it after your framework, inventory and target

Section titled “2. Add it after your framework, inventory and target”

Place the sl_trunk folder in your resources and ensure it after them:

server.cfg
ensure ox_inventory # or qb-inventory / qs-inventory
ensure ox_target # or qb-target / sl_interact
ensure sl_trunk

Framework admins can already use it. To give it to a group:

server.cfg
add_ace group.admin sl_trunk.editor allow

On start, the server console says what sl_trunk found:

[sl_trunk] framework: qb
[sl_trunk] inventory: qb-inventory

If it says no supported inventory found, start ox_inventory, qb-inventory or qs-inventory before sl_trunk.

Replace everything except the files you changed (config.lua, locales/, data/items.lua, data/fallback.lua, data/loot.lua) and keep data/zones/custom/ and data/footprints_auto.lua, which your server writes. Check the changelog for new options.