Enhance your FiveM server with a realistic robbery system
- Target player detection with distance-based interaction
- Robbery animations and progress bars for realism
- Inventory integration for both ox_inventory and qb-inventory
- Random item selection and amount generation for varied gameplay
- Database logging of robberies for server tracking
- FiveM server with QB-Core framework
- ox_inventory or qb-inventory plugin
- oxmysql for database operations
- Download the script files
- Place them in your resources folder
- Add
start robbery-systemto your server.cfg - Configure the config.lua file to match your server setup
Players can initiate a robbery by approaching another player and pressing the interaction key (default: E). The robbery will trigger animations, a progress bar, and transfer items from the target to the robber.
Edit the config.lua file to adjust:
- Robbery distance and time
- Animation settings
- Inventory type (ox_inventory or qb-inventory)
- Items that can be stolen
This plugin was generated in minutes with EnderDevelopment — the AI platform that turns your ideas into working Minecraft plugins, Discord bots and FiveM scripts.
Want your own? Generate this project on EnderDevelopment — describe it in one sentence and get the full source code.