Config

The default configuration provided with Possible Gang Wars.

Important

The resource folder on your server must be named exactly possible_wars.

Lua
return {    Debug = true, -- Set to true to enable debug mode    Framework = "qb", -- Framework to use (qb or esx)    NotifyPosition = "top", -- Position to show notifications (top or bottom)    -- Death Detection Methods (choose one)    DeathDetectionMethod = "statebag", -- Options: "framework", "statebag", "gameevent"    -- "framework" = Use framework-specific death detection (QBCore/ESX metadata)    -- "statebag" = Use state bags (wasabi_ambulance and any other resource that uses dead state bags)    -- "gameevent" = Use native game event only (basic, may have false positives)    -- Ensure all gangs are defined here, its used to make ESX gang checks easier.    Gangs = {        "ballas", "families", "vagos", "triads", "lostmc", "aztecas", "marrabunta", "armenians"    },    DeathTimerWait = 20000, -- Time in milliseconds to wait for death state to be confirmed (20 seconds)    -- Note: This delay is ONLY used with "framework" and "gameevent" detection methods    -- State bag detection doesn't use this delay as it's already accurate    GangWar = {        Command = 'gangwar', -- Command to open the gang war menu        MinimumRank = 3, -- Minimum gang rank required to request war (adjust based on your gang system)        WagerAmounts = {1000, 5000, 10000, 25000, 50000}, -- Available wager amounts        KillAmounts = {1, 5, 10, 15, 20, 25}, -- Available kill amounts to end the war        WarTimeout = 30, -- Time in minutes before a war request expires if not accepted        RequestCooldown = 60, -- Time in minutes before a gang can request another war after a previous one    },}
JDB-NET Logo
Partner Service

Self-hosted unlimited logs with managed Grafana

JDB-NET provides a self-hosted solution with unlimited logs, a fully managed Grafana instance, and unlimited users. Perfect for FiveM servers that need comprehensive logging and monitoring.

Check out JDB-NET