Installation
Requirements
| Dependency | Notes |
|---|---|
| ox_lib | Required — notifications, menus, skill checks, TextUI |
| ox_inventory | Recommended — primary inventory system |
| ox_target | Recommended — prop interaction (or use qb-target) |
| ESX / QBCore / OX Core | One framework required |
Steps
Download and place the resource
Download mbt_camp from the MBT Store or from GitHub.
Place it in your resources folder keeping the exact name mbt_camp:
resources/
└── [mbt]/
└── mbt_camp/
├── client/
├── server/
├── config.lua
└── fxmanifest.luaAdd items to ox_inventory
Add the following items to your ox_inventory items file (e.g. ox_inventory/data/items.lua):
['campkit'] = {
label = 'Camp Kit',
weight = 5000,
stack = false,
close = true,
},
['meat'] = {
label = 'Raw Meat',
weight = 200,
stack = true,
},
['cooked_meat'] = {
label = 'Cooked Meat',
weight = 200,
stack = true,
},
['burnt_meat'] = {
label = 'Burnt Meat',
weight = 200,
stack = true,
},Item names must match exactly what is set in MBT.ItemName and MBT.Items in config.lua. You can add as many cookable items as you need.
Configure the target system
Open config.lua and find MBT.SetupTarget. The function ships with both ox_target and qb-target blocks.
Using ox_target (default — already uncommented):
exports.ox_target:addEntity(netId, { ... })Switching to qb-target: comment out the ox_target block and uncomment the qb-target block below it.
Add to server.cfg
ensure ox_lib
ensure ox_inventory
ensure ox_target
ensure mbt_campGive yourself the campkit to test
Using your admin commands or directly:
/giveitem [playerid] campkit 1
/giveitem [playerid] meat 5Use the campkit item — the camp should deploy around you.
Verifying the install
After using the campkit you should see:
- 6 props spawned: tent, bonfire, 3 chairs and a BBQ grill
- Interaction prompts appearing when you look at each prop (via ox_target or qb-target)
- Standing near the bonfire triggers a warming animation
If props spawn but interactions don't appear, check that your target resource is running and that the correct block in MBT.SetupTarget is uncommented.
