forked from avivace/ror2-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_config.cfg
20 lines (19 loc) · 960 Bytes
/
default_config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Risk of Rain 2 dedicated server configuration
// This file gets populated with the environment variables so you shouldn't need to edit anything
// Default values are listed in the Dockerfile
// The maximum number of players
sv_maxplayers ${R2_PLAYERS};
// Set to 0 to not advertise to the master server
steam_server_heartbeat_enabled ${R2_HEARTBEAT};
// The name that will appear in the server browser
sv_hostname "${R2_HOSTNAME}";
// The port that the server will bind to. You cannot have multiple server instances with overlapping ports. (Default RoR2 port)
sv_port ${R2_SV_PORT};
steam_server_query_port ${R2_QUERY_PORT};
steam_server_steam_port 0;
// The password someone must provide to join this server. Leave empty if none. This is obviously not encrypted so don't use anything sensitive.
sv_password "${R2_PSW}";
// Set comma-delimited custom tags
sv_custom_tags "${R2_TAGS}";
// Set the gamemode (Classic or Simulacrum)
gamemode "${R2_GAMEMODE}";