🏳️Config

All configuration is located in shared/config.lua.


Gameplay

Config.Gameplay = {
    Weapon           = `WEAPON_PAINTBALL`,  -- Default weapon (hash)
    MaxHitDistance    = 65.0,                -- Max distance to register a hit (units)
    HitCooldownMs    = 1200,                -- Cooldown between hits on the same target (ms)
    SpawnProtectionMs = 3000,               -- Spawn protection duration (ms)
    MaxTeamSize      = 6,                   -- Global max team size
}
Parameter
Type
Description

Weapon

hash

Default weapon hash used in matches

MaxHitDistance

float

Maximum distance for a hit to be validated

HitCooldownMs

int

Minimum time between two hits on the same target (in ms)

SpawnProtectionMs

int

Duration of respawn protection (in ms)

MaxTeamSize

int

Max players per team (can be reduced per arena)


Lobby Defaults

Config.Defaults = {
    arena     = "boardwalk",   -- Default arena
    mode      = "TEAM",        -- Game mode (TEAM, ELIM, FFA, GUNGAME)
    weapon    = "paintball",   -- Weapon (key from Config.Weapons)
    teamSize  = 3,             -- Players per team
    target    = 35,            -- Target score to win
    timeLimit = 600,           -- Max duration in seconds (10 min)
    nightMode = false,         -- Night mode
    hardcore  = false,         -- Hardcore mode
    friendly  = false,         -- Friendly fire enabled
    autoStart = true,          -- Auto-start when everyone is ready
}

Available Weapons

All weapons have infinite ammo (9999). You can add or remove weapons from this list.


Gun Game

Weapon progression in Gun Game mode (9 tiers):

Tier
Weapon
Ammo

1

Knife

1

2

Pistol

12

3

Combat Pistol

12

4

SMG

30

5

Assault Rifle

30

6

Carbine Rifle

30

7

Sniper Rifle

5

8

Pump Shotgun

8

9

Final Knife

1

The first player to complete all 9 tiers wins the match.


Wager System

When enabled, the lobby creator can set a wager amount. Each player who joins pays the wager. Winners split the pot at the end of the match. If the lobby is disbanded, all wagers are refunded.


Medal System

Medal
Condition

First Blood

First kill of the match

Double Kill

2 kills within 4 seconds

Triple Kill

3 kills within 4 seconds

Multi Kill

4+ kills within 4 seconds

Killing Spree

3 kills without dying

Rampage

5 kills without dying

Unstoppable

7 kills without dying

Headshot

Kill with a headshot


Interaction Point

Coordinates of the point where players interact to open the paintball menu.


Map Blip

Set enabled = false to disable the blip.


Target System

The script auto-detects the first available target system in priority order. If none is found, it falls back to a 3D marker with the E key.


Team Uniforms

Set to nil to use the built-in uniforms. You can define your own by replacing this with a table of clothing components for each team (RED, BLUE, FFA) with male/female variants.


Discord Webhook

When enabled, a Discord embed is sent at the end of each match with the results, MVP, and player statistics.


Language

The language is auto-detected via the framework. The file shared/lang.lua contains translations for:

  • English (en)

  • French (fr)

You can add more languages by following the same format in shared/lang.lua.

最后更新于