MaxPlayers
Added in 0.1.0
Declares the largest number of players a multiplayer map is meant for, without restricting anything.
Packet-listed player ceiling
Specification — Packet-listed player ceiling
- Applies to
- map packets
- File
scenario packet (.pkt)- Section
[<Map ID>]- Value
- integer
- When omitted
4- Used by the game
- No — loaded but not used
[MYMAP] ; a section named by the packet's [MultiMaps] listMinPlayers=2MaxPlayers=4The value is stored with the map’s entry in the multiplayer map list, and nothing reads it afterwards. No lobby caps the number of players at it, and starting positions and houses are assigned without it. A map declaring MaxPlayers=4 still accepts as many players as the lobby allows.
Loose map player ceiling
Specification — Loose map player ceiling
- Applies to
- multiplayer maps
- File
map file (.mpr)- Section
[Multiplay]- Value
- integer
- When omitted
4- Used by the game
- No — loaded but not used
[Multiplay]MinPlayers=2MaxPlayers=4The value is stored with the map’s entry in the multiplayer map list, and nothing reads it afterwards. No lobby caps the number of players at it, and starting positions and houses are assigned without it. A map declaring MaxPlayers=4 still accepts as many players as the lobby allows.
History
- Added0.1.0