|
OpenMoHAA ..
|
Below is an explanation of the server settings commonly found in the server.cfg file.
This variable is bit-based, meaning multiple flags can be combined.
Use bitset dmflags n to set individual flags, where n matches a value from the table below.
The following are valid values across all games:
| Bit | Description |
|---|---|
| 0 | Disable health item |
| 2 | Make weapons stay when picked up |
| 3 | Prevent fall damage |
| 5 | Kill the player when it reaches a trigger_changelevel trigger |
| 14 | Infinite ammo |
| 22 | Disable rifle |
| 23 | Disable sniper |
| 24 | Disable submachine gun |
| 25 | Disable machine gun |
| 26 | Disable rocket |
| 27 | Disable shotgun |
| 28 | Disable landmine |
The following are valid values across Spearhead and Breakthrough:
| Bit | Description |
|---|---|
| 18 | Allow lean while moving |
| 19 | Allow old Sniper |
| 20 | Use shotgun for axis instead of the kar98 mortar |
The following are valid values on Breakthrough:
| Bit | Description |
|---|---|
| 21 | Always allow landmines |
Example:
This sets the dmflags to prevent fall damage and allow leaning while moving.
This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time. Defaults to 0.
In round and objective matches, this is the maximum time at which a player can join a team without being put in spectator. Defaults to 30.
Forces players to only be able to spectate behind their own team. Defaults to 1.
The game mode to use. The following values are accepted:
| Value | Name |
|---|---|
| 1 | Free for All |
| 2 | Team deathmatch |
| 3 | Round-based match |
| 4 | Objective |
| 5 | Tug-of-War (Spearhead) |
| 6 | Liberation (Breakthrough) |
The time in second after which an inactive player gets kicked. Defaults to 900
The time in second after which an inactive player gets moved into spectator. Defaults to 60
Make the server joinable only with a password. By default, no password is set.
This variable is bit-based, so you can also combine values using bitset:
Amount of team kills before the player is kicked off the server. Defaults to 5.
Amount of team kills before the player is warned. Defaults to 3.
The minimum delay to wait before a player can switch teams again. Defaults to 15.
The password so players using the same password can execute commands remotely. By default, no password is set.
Sets how long each round takes, in minutes. Defaults to 0.
The speed multiplier in multiplayer. Defaults to 1.1
Limits the amount of text a player can type.
Time in seconds at which a player is invulnerable after spawning. 0 means no invulnerability.
The name that appears on the server browser. Defaults to Nameless OpenMoHAA Battle.
Keywords, only relevant for server browsing software that handle this value. Not useful for the game client. By default, no keyword is set.
The map rotation, delimited by spaces. After the game ends, the server will start the next map in the rotation list. By default, the list is empty, which means the server restarts after the game ends.
Maximum ping to allow clients to join with. 0 no maximum (the default).
Maximum rate. 0 is unlimited (the default)
Minimum ping to allow clients to join with. 0 no minimum (the default).
Minimum rate at which clients receive data. 0 means no minimum (the default).
The number of slots to reserve for players joining with the password set for when the server is full. The default is 0 (no reserved slot).
The password for players to use reserved slots. By default, no password is set.
The speed multiplier when the player is sprinting. The default is 1.2.
Whether or not to allow sprinting, which makes the player run faster after some time (defined by sv_sprinttime_dm)
The time in seconds at which the player starts running faster. The default is 5.
Set the interval between spawns on team games.
This sets the elapsed time at which the game ends, in minutes. The winner being the player with the highest score at that time. Defaults to 0.