404-Lootcrate

🎯 ESX / QBCore Universal Loot Crate System
Bring a smooth and immersive CSGO-style loot crate experience to your FiveM server.
Supports NUI animations, drop weight system, auto image matching, Discord logging, multilingual support, and various notification systems.
✨ Core Features
🛠 Framework Adaptive
Automatically detects ESX / QBCore
Can also be set manually
📦 Inventory Compatibility
Supports
ox_inventory/qb-inventoryCan fall back to native inventory API
🌐 Multilingual Support
Built-in
zh/enFollows for switching
Config.DefaultLocale
🎞 NUI Animations
CSGO-style roulette spin animation
Full sound sequence + legendary drop effects
Customizable background
🎲 Drop Weight System
Weight-based random drop mechanism
Supports quantity setting & rarity display
Global chat broadcast for rare drops
📜 Discord Logging
Records crate opening / missing key / rewards
Supports Embed and plain text modes
🔔 Notification Integration
ESX/okokNotify/ox_lib/QBCore notifications
🖼 Auto Image Matching
Prioritizes item images
ox_inventorySupports multiple image formats
📦 Dependencies
Required
ox_libFramework: (ESX) or (QBCore)
es_extendedqb-core
Optional
ox_inventoryqb-inventory
🚀 Installation Guide
Place the resource in your directory
resources/Add to in the following order:
server.cfgensure es_extended or qb-core ensure ox_lib ensure ox_inventory or qb-inventory ensure 404-lootcrateEdit to match your server settings
config.luaRestart your server and enjoy the smooth crate opening experience 🎉