Commands
Core Gangs includes player and admin commands.
Player Commands
all
/criminalqb-coreesx
Opens the Core Gangs UI. Also available via the configured keybind (default: F9).
Usage
lua
/criminalall
/currentzoneqb-coreesx
Prints the zone ID at your current location to the F8 console. Use this when setting up zones in config.lua.
Usage
lua
/currentzone
-- Output in F8: ZoneID to set in config : 6740Integration Callbacks
Core Gangs provides an onWarEnd callback in server/integration_main.lua for hooking into war results:
lua
function onWarEnd(winnerInfo, loserInfo)
-- winnerInfo: { organization, score, playersInvolved }
-- loserInfo: { [orgName] = { organization, score, playersInvolved } }
endINFO
The playersInvolved table maps player identifiers to their individual scores during the war.
