Turn your gang conflicts into structured, fair and logged wars.
DIAVOLA Gang War Tablet adds a full gang war management system on top of QBCore, controlled entirely from an in‑game tablet.
🔥 Main Features
-
In‑game gang war tablet opened via
/gangwar. -
Gang access control:
-
Only gangs listed in ***
Config.AllowedGangs*can use the system. - Separate grade checks for opening the tablet, starting wars and accepting wars.
-
Only gangs listed in ***
-
War requests:
- Leaders can send war requests to target gangs with custom prize and kill target.
- Defending gang can accept or decline from the tablet (no chat commands).
-
Admin war tools:
- Staff can create wars between any two allowed gangs directly from the tablet.
- Staff can force‑end active wars with a reason (rule breaks, exploits, etc.).
-
Pending wars view:
- Defending gangs see a list of incoming pending wars and manage them in the UI.
-
Leaderboard & history:
- Leaderboard per gang with wars played, wars won and total kills.
- History of finished wars with basic details (attacker, defender, status, timestamps).
-
Staff override:
-
Configurable QBCore permission group (e.g.
admin/god) can always open the tablet and use admin actions.
-
Configurable QBCore permission group (e.g.
⚙️ Configuration
- ***
config.lua*is fully open:-
Config.StaffPermission– QBCore permission required for staff features.** -
Config.AllowedGangs– list of gangs that can participate in wars.** -
Config.Grades– minimum grades for:**- opening the war tablet,
- starting a war,
- accepting/declining wars.
-
Config.WarKillTarget– default kill target if none is specified.** -
Config.MinMembersOnline,Config.WarDurationMinutes– ready for custom validation/auto‑finish logic.**
-
- You can easily copy the same gang names you use in your gang management scripts.
📦 Requirements
-
qb-core(QBCore framework).** -
oxmysql(MySQL resource withMySQL.*.await).
🗄️ Database
-
wars– stores all wars and their status (pending, active, finished, cancelled).** -
war_stats– aggregated stats per gang (wars played, wars won, kills total).** -
SQL file ***
sql/gangwar.sql*is included.
🔧 Installation
-
Place the resource in your
resourcesfolder (e.g.coldstudio-gangwar). -
Import ***
sql/gangwar.sql*into your database. -
Configure
config.lua(staff permission, allowed gangs, grades, war settings).** -
Ensure
qb-coreand ***oxmysql*start before this resource. -
Add
ensure coldstudio-gangwarto your ***server.cfg*and restart.
🔒 Asset Escrow
- Sold as a CFX Asset Escrow resource.
-
config.lua,sql/gangwar.sqland ***README.md*remain open for full configuration. - Client, server and NUI logic are protected to prevent leaks and ensure fair usage.
🛠️ Support
- Support via Discord: https://discord.gg/aSc68qzPHj
-
When opening a ticket, please include:
- your FiveM build and QBCore version,
- any server/client errors,
-
your ***
config.lua*changes (or screenshots).