Added SERVERNAME und ADMINPASSWORD placeholders

This commit is contained in:
Marvin Lehmann 2017-01-13 16:46:17 +01:00
parent 457136f2ff
commit 9a3362428e
3 changed files with 3 additions and 42 deletions

View File

@ -21,10 +21,10 @@ sets _Gametype ""
/////////////////////////////////
// Basics
set sv_hostname "LinuxGSM COD4X Server"
set sv_hostname "SERVERNAME"
set g_motd "" // Message of the day, which getting shown to every player on his 1st spawn
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet ( you probably want 2 )
set rcon_password "" // password for remote access, leave empty to deactivate, min 8 characters
set rcon_password "ADMINPASSWORD" // password for remote access, leave empty to deactivate, min 8 characters
set g_password "" // join password, leave empty to deactivate
set sv_privateClients "2" //Private Clients, number of slots that can only be changed with a password
set sv_privatePassword "mypassword" // the password to join private slots

View File

@ -1,39 +0,0 @@
[network]
default_server_name = SERVERNAME
default_server_description = Welcome to dstserver
server_port = 10999
server_password = ADMINPASSWORD
# max_players = 1 .. 64
max_players = 16
# pvp = true | false
pvp = false
# game_mode = endless | survival | wilderness
game_mode = endless
# enable_autosaver = true | false
enable_autosaver = true
# tick_rate = [ 10 | 15 | 30 | 60 ]
tick_rate = 30
connection_timeout = 8000
server_save_slot = 1
# enable_vote_kick = true | false
enable_vote_kick = true
# pause_when_empty = true | false
pause_when_empty = true
[account]
dedicated_lan_server = false
[STEAM]
DISABLECLOUD = true
[MISC]
CONSOLE_ENABLED = true
autocompiler_enabled = true

View File

@ -25,7 +25,7 @@ Server =
-- The name of the server, as seen by players and the server browser.
-- Default value: "JC2-MP Server"
Name = "JC2-MP Server",
Name = "SERVERNAME",
-- The server description, as seen by players and the server browser.
-- Default value: "No description available"
Description = "No description available.",