Gang War Tablet (QBCore)

Gang War Tablet (QBCore)

€10.00

Add to Basket

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.
  • 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.​

⚙️ 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 with MySQL.*.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

  1. Place the resource in your resources folder (e.g. coldstudio-gangwar).
  2. Import ***sql/gangwar.sql*into your database.
  3. Configure config.lua(staff permission, allowed gangs, grades, war settings).**
  4. Ensure qb-core and ***oxmysql*start before this resource.
  5. Add ensure coldstudio-gangwar to your ***server.cfg*and restart.​

🔒 Asset Escrow

  • Sold as a CFX Asset Escrow resource.​
  • config.lua, sql/gangwar.sql and ***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).