Server Configuration
Server settings are stored in config.toml in the server directory. Restart the server after changing the file.
Server
| Setting |
Default |
Description |
name |
"Gothic Multiplayer Server" |
Server name. |
port |
57005 |
Server port. |
public |
false |
Shows the server on the public server list. |
slots |
12 |
Maximum number of players. |
admin_passwd |
"" |
Password used by /rcon login. Empty disables RCON login. |
server_identity_seed |
generated |
Server identity. Keep it private and back it up when moving the server. |
Gameplay
| Setting |
Default |
Description |
map |
"NEWWORLD\\NEWWORLD.ZEN" |
Starting world. |
hide_map |
false |
Hides the map name from clients. |
allow_modification |
true |
Keep this enabled. |
respawn_time_seconds |
5 |
Respawn delay. A negative value disables automatic respawn. |
seconds_per_game_minute |
4 |
Length of one in-game minute. 0 pauses the clock. |
voice_enabled |
true |
Enables voice chat. |
voice_range |
3500 |
Voice chat range. |
Resources
| Setting |
Default |
Description |
resources |
["default", "prototype"] |
Lua resources, loaded in this order. Unlisted resources are not loaded. |
addon_vdfs |
[] |
VDF files, loaded in this order. |
downloader_group |
"" |
Folder name used for downloaded server files. Empty uses the server address. |
See Lua Resources and VDF Resources for more.
Downloads
These settings can normally be left at their defaults.
| Setting |
Default |
Description |
downloader_file_max_chunk |
4194304 |
Maximum size of one download chunk. |
downloader_rate_limit |
30 |
Requests allowed per minute for one address. 0 disables the limit. |
downloader_download_timeout_seconds |
300 |
Download request timeout. 0 disables it. |
Logging
| Setting |
Default |
Description |
log_file |
"log.txt" |
Log file name. |
log_to_stdout |
true |
Prints logs in the server console. |
log_level |
"info" |
Log level, for example "info", "debug", or "trace". |
Streaming
| Setting |
Default |
Description |
tick_rate_ms |
100 |
Delay between server update ticks. |
stream_radius |
5000 |
Horizontal player visibility range. |
stream_height |
0 |
Vertical player visibility range. 0 disables this limit. |
Server Data Layout
config.toml
resources/
data/
public/
internal/
instances/
navigation/
| Path |
Contents |
resources/ |
Server, shared, and client Lua scripts. |
data/public/ |
Download files generated by the server. Do not edit them manually. |
data/internal/ |
Server-only files used by JSON, TOML, and SQLite. |
data/instances/ |
Required items.json and anims.json files. |
data/navigation/ |
Waypoint and freepoint files for each world. |
The server will not start without valid data/instances/items.json and data/instances/anims.json files. Navigation file names use the lower-case world name, for example newworld.json.
To generate the files, use client debug console commands, eg. generate items.