
Match Lobby rules ([game_rules])
The [game_rules] table uses the exact rule names of the retail Match Lobby. The server sends the client-visible switches to every player and enforces the same rules itself, so a modified client cannot use a disabled class or tool.
How to write rules
- Switches accept
true/falseor"ON"/"OFF". - Percentage sliders accept a string such as
"200%"or the multiplier2.0. - Only the listed values are accepted. Anything else, or an unknown rule name, stops the server at startup with the list of allowed values — so the client and server can never disagree.
- The
RULE_prefix is optional in lower case:enable_blocks = trueis the same asRULE_ENABLE_BLOCKS = true. - A
[modes.<code>]override (see the configuration reference) beats a rule for that mode only. - Disabled classes and tools are removed from the loadout menus and rejected by the server even if a modified client sends them.
[game_rules]
RULE_RESPAWN_TIMES = 5
RULE_SPAWN_PROTECTION_TIME = "2"
RULE_WEAPON_DAMAGE = "100%"
RULE_BLOCK_HEALTH = "200%"
RULE_ENABLE_CLASS_COMMANDO = false
RULE_ENABLE_CLASS_MINER = false
RULE_ENABLE_CLASS_ENGINEER = false
RULE_ENABLE_CLASS_ROCKETEER = false
RULE_ENABLE_CLASS_SPECIALIST = false
RULE_ENABLE_CLASS_MEDIC = false
# RULE_ENABLE_CLASS_MARKSMAN stays trueAll rules
“Default if omitted” is what the server uses without the key; “Sample config” is what the shipped config.toml sets.
General21 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_ENABLE_BLOCKSPlayers can build blocks. | falsetrue | true | true |
RULE_ENABLE_FLARE_BLOCKSFlare block tool. BattleSpades ships it off because this retail build shows the tool as a fake first prefab tile when it is on. | falsetrue | true | false |
RULE_ENABLE_PREFABSPlayers can place prefab structures. | falsetrue | true | true |
RULE_ENABLE_GRAVESTONESDead players leave gravestones. | falsetrue | true | true |
RULE_ENABLE_CORPSE_EXPLOSIONCorpse explosion effect (retail lobby switch). | falsetrue | true | true |
RULE_ENABLE_SNIPER_BEAMSniper beam effect (retail lobby switch). | falsetrue | true | true |
RULE_ENABLE_DEATH_CAMShow the killer camera after death. | falsetrue | true | true |
RULE_ENABLE_MINI_MAPShow the minimap. | falsetrue | true | true |
RULE_ENABLE_SPECTATORSAllow joining the spectator team. | falsetrue | true | true |
RULE_ENABLE_FALL_ON_WATER_DAMAGEFalling into water hurts. Land fall damage is [game] fall_damage. | falsetrue | true | true |
RULE_ENABLE_COLOUR_PICKERPlayers can pick custom block colours. | falsetrue | true | true |
RULE_ONE_HIT_KILLAny damage kills. | falsetrue | false | false |
RULE_POINTS_FROM_TEABAGGINGAward points for teabagging. | falsetrue | false | false |
RULE_RESPAWN_TIMESRespawn delay in seconds. BattleSpades uses 5 when this and [game] respawn_time are both missing; retail defaulted to 10. Retail default: 10. | 051015202530354045505560 | 5 | 5 |
RULE_BLOCK_HEALTHBlock durability multiplier. | 50%100%200% | 100% | 100% |
RULE_WEAPON_DAMAGEWeapon damage multiplier. | 50%100%200% | 100% | 100% |
RULE_SPAWN_PROTECTION_TIMESpawn protection in seconds; ends early when the protected player attacks. Off when omitted; the sample config sets 3. Retail default: 3. | OFF123 | OFF | 3 |
RULE_CHARACTER_BLOCK_WALLETSBlock wallet size multiplier. | 50%100%200% | 100% | 100% |
RULE_CHARACTER_SPEEDMovement speed multiplier. | 50%100%150%200% | 100% | 100% |
RULE_CRATES_SPAWN_TIMESeconds between supply-crate respawns. | 1015202530354045505560 | 25 | 25 |
RULE_VOTES_REQUIRED_FOR_KICKhidden in lobby UIShare of votes needed to pass a kick vote (hidden in the lobby UI). | 25%50%75% | 50% | 50% |
Classes7 rules
| Rule | Default | Sample config |
|---|---|---|
RULE_ENABLE_CLASS_COMMANDOAllow the commando class. | true | true |
RULE_ENABLE_CLASS_MARKSMANAllow the marksman class. | true | true |
RULE_ENABLE_CLASS_MINERAllow the miner class. | true | true |
RULE_ENABLE_CLASS_ENGINEERAllow the engineer class. | true | true |
RULE_ENABLE_CLASS_ROCKETEERAllow the rocketeer class. | true | true |
RULE_ENABLE_CLASS_SPECIALISTAllow the specialist class. | true | true |
RULE_ENABLE_CLASS_MEDICAllow the medic class. | true | true |
Equipment21 rules
| Rule | Default | Sample config |
|---|---|---|
RULE_ENABLE_EQUIPMENT_CLASSIC_SPADEAllow the classic spade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_CLASSIC_GRENADEAllow the classic grenade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_SPADEAllow the spade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_GRENADEAllow the grenade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_ANTIPERSONNEL_GRENADEAllow the antipersonnel grenade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_SNOWBLOWERAllow the snowblower equipment. | true | true |
RULE_ENABLE_EQUIPMENT_PICKAXEAllow the pickaxe equipment. | true | true |
RULE_ENABLE_EQUIPMENT_LANDMINEAllow the landmine equipment. | true | true |
RULE_ENABLE_EQUIPMENT_ROCKET_TURRETAllow the rocket turret equipment. | true | true |
RULE_ENABLE_EQUIPMENT_GLIDE_JETPACKAllow the glide jetpack equipment. | true | true |
RULE_ENABLE_EQUIPMENT_JUMP_JETPACKAllow the jump jetpack equipment. | true | true |
RULE_ENABLE_EQUIPMENT_JETPACKAllow the jetpack equipment. | true | true |
RULE_ENABLE_EQUIPMENT_SUPER_SPADEAllow the super spade equipment. | true | true |
RULE_ENABLE_EQUIPMENT_DRILL_CANNONAllow the drill cannon equipment. | true | true |
RULE_ENABLE_EQUIPMENT_DYNAMITEAllow the dynamite equipment. | true | true |
RULE_ENABLE_EQUIPMENT_MEDPACKAllow the medpack equipment. | true | true |
RULE_ENABLE_EQUIPMENT_CHEMICALBOMBAllow the chemicalbomb equipment. | true | true |
RULE_ENABLE_EQUIPMENT_RADAR_STATIONAllow the radar station equipment. | true | true |
RULE_ENABLE_EQUIPMENT_C4Allow the c4 equipment. | true | true |
RULE_ENABLE_EQUIPMENT_DISGUISEAllow the disguise equipment. | true | true |
RULE_ENABLE_EQUIPMENT_PARACHUTE_NORMALhidden in lobby UIAllow the parachute normal equipment. | true | true |
Weapons28 rules
| Rule | Default | Sample config |
|---|---|---|
RULE_ENABLE_WEAPON_KNIFEAllow the knife weapon. | true | true |
RULE_ENABLE_WEAPON_MINIGUNAllow the minigun weapon. | true | true |
RULE_ENABLE_WEAPON_RPGAllow the rpg weapon. | true | true |
RULE_ENABLE_WEAPON_TRIPLE_BARREL_RPGAllow the triple barrel rpg weapon. | true | true |
RULE_ENABLE_WEAPON_PISTOLAllow the pistol weapon. | true | true |
RULE_ENABLE_WEAPON_SNIPER_RIFLEAllow the sniper rifle weapon. | true | true |
RULE_ENABLE_WEAPON_SNIPER_RIFLE2Allow the sniper rifle2 weapon. | true | true |
RULE_ENABLE_WEAPON_RIFLEAllow the rifle weapon. | true | true |
RULE_ENABLE_WEAPON_DOUBLE_BARREL_SHOTGUNAllow the double barrel shotgun weapon. | true | true |
RULE_ENABLE_WEAPON_PUMP_ACTION_SHOTGUNAllow the pump action shotgun weapon. | true | true |
RULE_ENABLE_WEAPON_SMGAllow the smg weapon. | true | true |
RULE_ENABLE_WEAPON_CLASSIC_SHOTGUNAllow the classic shotgun weapon. | false | false |
RULE_ENABLE_WEAPON_CLASSIC_SMGAllow the classic smg weapon. | false | false |
RULE_ENABLE_WEAPON_TOMMYGUNAllow the tommygun weapon. | true | true |
RULE_ENABLE_WEAPON_SNUB_PISTOLAllow the snub pistol weapon. | true | true |
RULE_ENABLE_WEAPON_CROWBARAllow the crowbar weapon. | true | true |
RULE_ENABLE_WEAPON_MOLOTOVAllow the molotov weapon. | true | true |
RULE_ENABLE_WEAPON_RIOTSTICKAllow the riotstick weapon. | true | true |
RULE_ENABLE_WEAPON_RIOTSHIELDhidden in lobby UIAllow the riotshield weapon. | true | true |
RULE_ENABLE_WEAPON_MACHETEAllow the machete weapon. | true | true |
RULE_ENABLE_WEAPON_AUTOPISTOLAllow the autopistol weapon. | true | true |
RULE_ENABLE_WEAPON_GRENADE_LAUNCHERAllow the grenade launcher weapon. | true | true |
RULE_ENABLE_WEAPON_STICKY_GRENADEAllow the sticky grenade weapon. | true | true |
RULE_ENABLE_WEAPON_MINE_LAUNCHERAllow the mine launcher weapon. | true | true |
RULE_ENABLE_WEAPON_ASSAULTRIFLEAllow the assaultrifle weapon. | true | true |
RULE_ENABLE_WEAPON_LIGHTMACHINEGUNAllow the lightmachinegun weapon. | true | true |
RULE_ENABLE_WEAPON_AUTOSHOTGUNAllow the autoshotgun weapon. | true | true |
RULE_ENABLE_WEAPON_BLOCKSUCKERAllow the blocksucker weapon. | true | true |
Team Deathmatch1 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_TDM_SCORE_TARGETTeam kills needed to win Team Deathmatch (OFF = clock only). | OFF510152025303540455060708090100200 | 200 | 200 |
CTF and Classic CTF5 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_CTF_ENABLE_SHOOT_WITH_INTELIntel carriers may shoot. | falsetrue | false | false |
RULE_CTF_ENABLE_INTEL_RETURN_ON_TOUCHTouching your dropped intel returns it. | falsetrue | false | false |
RULE_CTF_SCORE_TARGETCaptures needed to win. | 12345678910 | 5 | 5 |
RULE_CTF_ENABLE_INTEL_AUTO_RETURNDropped intel returns home automatically. | falsetrue | true | true |
RULE_CTF_ENABLE_INTEL_IN_OWN_BASE_TO_SCOREhidden in lobby UIYour intel must be home to score (hidden rule). | falsetrue | false | false |
Zombie4 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_ZOMBIE_NOOF_ROUNDSRounds per map. | 12345 | 3 | 3 |
RULE_NOOF_FIRST_INFECTED_ZOMBIESPlayers infected at the start of a round. | 12345 | 2 | 2 |
RULE_CLASS_SPEEDClass speed multiplier in Zombie mode. | 50%100%200% | 100% | 100% |
RULE_ZOMBIE_CLASS_DAMAGEZombie class damage multiplier. | 50%100%200% | 100% | 100% |
VIP3 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_VIP_NOOF_ROUNDSRounds per map. | 12345 | 3 | 3 |
RULE_VIP_HEALTHVIP health multiplier. | 50%100%200% | 100% | 100% |
RULE_ENABLE_SUDDEN_DEATHSudden death when the clock runs out. | falsetrue | true | true |
Multi-Hill2 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_MULTIHILL_MAX_ACTIVE_BASESHills active at once. | 12345 | 1 | 1 |
RULE_BASE_ACTIVE_TIMESeconds a hill stays active. | 306090120180240300360420480540600 | 240 | 240 |
Territory Control2 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_TC_MAX_ACTIVE_BASESTerritories in play. | 2345 | 5 | 5 |
RULE_CAPTURE_RATECapture speed multiplier. | 50%100%200% | 100% | 100% |
Diamond Mine4 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_DIAMOND_MAX_ACTIVE_BASESDrop-off bases active at once. | 12345 | 1 | 1 |
RULE_DIA_SCORE_TARGETDiamonds needed to win. | 51015202530354045505560 | 15 | 15 |
RULE_MAX_ACTIVE_DIAMONDSDiamonds on the map at once. | 12345 | 2 | 2 |
RULE_DIAMOND_LIFETIMESeconds a dropped diamond lasts. | 102030405060 | 60 | 60 |
Demolition1 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_BUILD_STATE_LENGTHDemolition build phase in seconds (OFF = none). | OFF102030405060708090100110120 | 30 | 30 |
Occupation3 rules
| Rule | Accepted values | Default if omitted | Sample config |
|---|---|---|---|
RULE_OCC_SCORE_TARGETPoints needed to win Occupation (OFF = clock only). | OFF369153045607590150 | 30 | 30 |
RULE_MAX_ACTIVE_BOMBSBombs active at once. | 123 | 1 | 1 |
RULE_BOMB_FUSE_TIMEBomb fuse in seconds. | 5101520 | 10 | 10 |
Common questions
Why does RULE_RESPAWN_TIMES differ from [game] respawn_time?+
respawn_time is the older name. It is used only when RULE_RESPAWN_TIMES is not in [game_rules]; the sample config sets the rule.
Can I use values the lobby did not offer, such as a 7-second respawn?+
Not through [game_rules] — only retail slider values are accepted. Some mode settings can be tuned more freely with [modes.<code>] overrides.


