---
title: "Match Lobby rules ([game_rules])"
description: "Every Ace of Spades Match Lobby rule BattleSpades supports in [game_rules]: classes, equipment, weapons, respawn, block health, damage, spawn protection and per-mode targets, with accepted values and defaults."
canonical: "https://www.aosplay.net/guides/server/game-rules"
markdown: "https://www.aosplay.net/docs/guides/server/game-rules.md"
last_updated: "2026-09-28"
section: "BattleSpades server hosting guides"
keywords: ["Ace of Spades game rules","BattleSpades game_rules","Ace of Spades disable weapon","Ace of Spades respawn time setting"]
---

# Match Lobby rules ([game_rules])

> Every Ace of Spades Match Lobby rule BattleSpades supports in [game_rules]: classes, equipment, weapons, respawn, block health, damage, spawn protection and per-mode targets, with accepted values and defaults.

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`/`false` or `"ON"`/`"OFF"`.
- Percentage sliders accept a string such as `"200%"` or the multiplier `2.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 = true` is the same as `RULE_ENABLE_BLOCKS = true`.
- A `[modes.<code>]` override (see the [configuration reference](https://www.aosplay.net/guides/server/configuration#modes)) 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.

**Example: a snipers-only, fast-respawn server**

~~~toml
[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 true
~~~

> **Defaults: BattleSpades differs from retail in three places.** When a rule is not set, BattleSpades uses the retail lobby default except: respawn time 5 s instead of 10, spawn protection off in bare configs (the sample sets 3 s), and the flare block tool, which the sample turns off because this retail build shows it as a fake first prefab tile.

## All rules

“Default if omitted” is what the server uses without the key; “Sample config” is what the shipped `config.toml` sets.

_The complete generated reference table (gameRules) is on the [HTML page](https://www.aosplay.net/guides/server/game-rules); it is generated from the BattleSpades source._

## Frequently asked 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.

---

Source: [Match Lobby rules ([game_rules])](https://www.aosplay.net/guides/server/game-rules)  
Ace of Spades Revival is an independent community project, not affiliated with the original publisher. Community Discord: https://discord.gg/aosbb
