An immersive storage solution utilizing container props.
- Container Placement UI
- Placement Validation
- AI Cargobob Delivery
- Unique Key Items
- Craftable Additional Keys
Shout out to MadCap, for the preview video!
To add additional framework compatability simply add the core event for when a player finishes loading their character into the list @pan-containers/server/framework.lua
- ox-core
- qb-core
- es_extended (untested as of 12/09/2024)
- qbx_core (untested as of 12/09/2024)
Before requesting support or submitting a github issue ensure that you have all dependencies and they are started before pan-containers
- Run
set pan:debug true
in the server console.- This will enable conversion as well as a few other commands.
- Restart the script
- Run
pan-containers:convert
in the server console.- This will convert all the database tables to use IDs instead of previous UUIDs. Keys will not be updated and will have to be remade (command for it pending).
- Install dependencies
- Drag and drop pan-containers into your resource folder, ensure it in server.cfg
- Run SQL file to add pan-containers table to your database
- Add items to
@ox_inventory/data/items.lua
:
["containergps"] = {
label = "GPS Transmitter",
weight = 100,
stack = false,
degrade = 20160,
close = true,
description = "A gps locator to call in a container drop",
consume = 0,
client = {
image = 'radio_yellow.png',
},
server = {
export = 'pan-containers.containergps',
}
},
["containerkey"] = {
label = "Padlock Key",
weight = 0,
stack = false,
close = true,
description = "A simple key.",
client = {
image = "key.png",
},
buttons = {
{
label = 'Set Waypoint',
action = function(slot)
TriggerEvent('pan-containers:client:markContainer', slot)
end
},
},
},
["blankkey"] = {
label = "Blank Key",
weight = 1,
stack = true,
close = true,
description = "A blank key, can be used to cut new keys.",
client = {
image = "blankkey.png",
}
},
- Add item images in
pan-containers/images
toox_inventory/web/images
(delete pan-containers/images folder after if you wish) - Add
ensure pan-containers
after all of the dependencies
Languages
- Place
setr ox:locale en
inside your server.cfg - Change the
en
to your language
- Config option to tie containers to citizen ids or equivalent
- Removing containers as a command
- DetCord (or similar) raiding option for police (currently police need to get the key as well as the location)
- Attaching Containers to flatbed for transport