The main configuration file is 0r-paintball-v2/config.lua.
Main Settings You Will Usually Change#
| Field | What it controls |
|---|---|
Config.Commands.OpenMenu | Menu command |
Config.Commands.EndMatch | Force end match command for lobby leader |
Config.Game.weapon | Weapon used in paintball matches |
Config.Game.reviveCountdown | Respawn delay |
Config.Game.gameTimes | Allowed match durations |
Config.Game.startCountDown | Countdown before match starts |
Config.Game.maps | Arena list, preview image, and team spawns |
Config.PaintballLobby | Physical menu zone and blip |
Config.debug | Debug mode |
Commands#
Default commands:
/paintball
/endmatch
Match Weapon#
The included setup uses:
Config.Game.weapon = 'WEAPON_PAINTBALL'
If you change this weapon name, make sure the weapon actually exists on your server.
Match Flow#
The most commonly changed gameplay values are:
Config.Game.reviveCountdownConfig.Game.gameTimesConfig.Game.startCountDown
Maps and Spawn Points#
Each map entry contains:
- Preview image name
- Display name
- Red team spawn points
- Blue team spawn points
If you remove an included map resource, also remove or replace the matching config entry.
Lobby Zone#
Config.PaintballLobby lets you force players to go to one location before opening the arena UI.
You can change:
activecoords- blip sprite
- blip color
- blip scale
- blip name
Localization#
This resource uses locale files in the locales/ folder. The active language is controlled through ox_lib.
Example:
set ox:locale "en"