The server reads data/server.ini under the [server] section.
| Key | Type | Description | Valid Values |
|---|---|---|---|
name |
string | Server name shown in the directory. | Any text. |
location |
string | Human-readable server location. | Any text. |
max_players |
integer | Maximum number of players allowed on the server. | Clamped from 1 to 8. |
public_ip_address |
string | Advertised public address when lan is false. |
Any valid public IP address or hostname. |
lan |
bool | Controls whether the server is treated as a LAN server. | true or false. |
password |
string | Password required to join the server. | Any text. May be blank. |
game_mode |
string | Game mode the server will run. | KING_OF_THE_HILL, CAPTURE_THE_FLAG, LAST_ONE_STANDING, or TIMED_FREE_FOR_ALL. |
The client initializes data/cfg.ini. These are the keys currently read by the client.
| Section | Key | Type | Description | Valid Values |
|---|---|---|---|---|
[audio] |
volume |
float | General sound effect and UI volume percentage. | The in-game slider uses 0 to 100. |
[graphics] |
resolution |
integer | Index into the detected resolution list. | 0 through the last detected resolution index. If no display modes are detected, fallback options are 1920x1080, 1280x720, and 640x480. |
[graphics] |
fullscreen |
bool | Controls whether the client runs fullscreen. | true or false. |
[graphics] |
vsync |
bool | Controls vertical sync. | true or false. |
[graphics] |
max_fps |
integer | Frame-rate cap. | 30 to 512. |
[input] |
sensitivity |
float | Mouse look sensitivity. | The in-game slider uses 0.01 to 10.0. |
[input] |
forward |
string | Move forward key. | A single character. Default: W. |
[input] |
backward |
string | Move backward key. | A single character. Default: S. |
[input] |
right |
string | Move right key. | A single character. Default: D. |
[input] |
left |
string | Move left key. | A single character. Default: A. |
[input] |
select_rocket_launcher |
string | Select rocket launcher key. | A single character. Default: 1. |
[input] |
select_lightning_gun |
string | Select lightning gun key. | A single character. Default: 2. |
[input] |
select_sniper_rifle |
string | Select sniper rifle key. | A single character. Default: 3. |
[input] |
select_shotgun |
string | Select shotgun key. | A single character. Default: 4. |
[input] |
select_knife |
string | Select knife key. | A single character. Default: 5. |
[input] |
select_grenade_launcher |
string | Select grenade launcher key. | A single character. Default: 6. |
[input] |
toggle_chat |
string | Open or close chat. | A single character. Default: T. |
[network] |
lan |
bool | Controls whether the client uses the LAN directory server address. | true or false. |
[user] |
username |
string | Displayed username. | Any text up to 255 characters. |
[user] |
initials |
string | Short displayed initials. | Any text up to 3 characters. |
cfg.ini[audio]
volume = 50
[graphics]
resolution = 0
fullscreen = false
vsync = false
max_fps = 144
[input]
sensitivity = 2.1
forward = w
backward = s
right = d
left = a
select_rocket_launcher = 1
select_lightning_gun = 2
select_sniper_rifle = 3
select_shotgun = 4
select_knife = 5
select_grenade_launcher = 6
toggle_chat = t
[network]
lan = false
[user]
username = player
initials = plr