Skip to content

Commit 26189cd

Browse files
committed
.
1 parent b8abc8c commit 26189cd

2 files changed

Lines changed: 3 additions & 18 deletions

File tree

pages/lootbox.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A CS:GO-style lootbox/case opening system for FiveM with a polished React UI, we
1515
- 👀 **Preview system** - Players can view case contents and drop chances before opening
1616
- 🎨 **Rarity system** - Visual rarity tiers (Common, Uncommon, Rare, Epic, Legendary)
1717
- 🔧 **Framework agnostic** - Supports ESX, QBCore, Qbox, and ox_core out of the box
18-
- 📦 **Multiple inventory support** - Works with ox_inventory, qb-inventory, and ESX inventory
18+
- 📦 **Multiple inventory support** - Works with ox_inventory, qb-inventoryy
1919
- 🎁 **Metadata support** - Items can include custom metadata
2020
- 📝 **Config + Runtime API** - Define lootboxes in config or register them dynamically via exports
2121
- 🎀 **Bonus items** - Award hidden bonus items alongside the main reward (e.g., ammo with weapons)
@@ -25,7 +25,7 @@ A CS:GO-style lootbox/case opening system for FiveM with a polished React UI, we
2525

2626
- [ox_lib](https://github.com/overextended/ox_lib) (required)
2727
- A supported framework (ESX, QBCore, Qbox, or ox_core)
28-
- A supported inventory system (ox_inventory, qb-inventory, or ESX inventory)
28+
- A supported inventory system (ox_inventory, qb-inventory)
2929

3030
## Installation
3131

@@ -60,7 +60,7 @@ Add the following to your `server.cfg` (after ox_lib, your framework, and your i
6060
```cfg
6161
ensure ox_lib
6262
ensure es_extended # or qb-core, qbx_core, ox_core
63-
ensure ox_inventory # or qb-inventory, esx_inventory
63+
ensure ox_inventory # or qb-inventory
6464
ensure sleepless_lootbox
6565
```
6666

pages/lootbox/framework-setup.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -250,21 +250,6 @@ When you register a new lootbox (either in `config.lua` or via the `registerLoot
250250
</Tab>
251251
</Tabs>
252252

253-
## ESX Setup
254-
255-
ESX handles usable items through `ESX.RegisterUsableItem` on the server side. When `config.registerUsableItems = true`, the bridge registers the callbacks automatically. You just need to make sure the items exist in your database's `items` table:
256-
257-
```sql
258-
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
259-
('gun_case', 'Gun Case', 500),
260-
('supply_crate', 'Supply Crate', 1000),
261-
('vip_case', 'VIP Case', 500);
262-
```
263-
264-
<Callout type="info">
265-
If you are using **ox_inventory** with ESX (instead of the default ESX inventory), follow the ox_inventory setup instructions above instead — you'll need the `server.export` entries.
266-
</Callout>
267-
268253
## Troubleshooting
269254

270255
### Item does nothing when used

0 commit comments

Comments
 (0)