QB Gang Zone War (bz_zonewars) is a territory war script for QBCore. Gangs fight for control of zones on the map. If the same gang takes all the regions, the amount of money you set is credited to their account at the interval you set, and the area on the map is painted in their color.
Features
- Up to three capture zones with configurable coordinates.
- Configurable region capture time.
- Set the hours of the day in which gangs can fight.
- Gangs who die while trying to take over cannot take the area.
- Minimum number of online members before a gang can join the war.
- Money payout (cash or black money) every set number of hours to the gang holding the zones.
- Optional items given to gang members at the same interval.
- A cooldown before a region can be taken back.
- Gangs, blip colors and zone radius set in the config (Ballas, Vagos, Grove, Bloods and Aztecas by default); add new gangs there.
- Language options in
lang.lua.
Requirements
- QBCore (QBUS)
- Included helper resources: bz_notification, bz_progressbar, nh-context, nh-keyboard and ghmattimysql
Installation
- Copy
bz_zonewarsand the resources frombz_zonewars_reqs(skip ghmattimysql if you already run it) into your resources. - Import
bz_zonewars.sql(zones and gang money tables). - Set zones, gangs, war hours and payouts in
config.lua. - Ensure the helper resources, then
ensure bz_zonewarsin your server.cfg.