72 changed files with 670 additions and 654 deletions
@ -1,45 +1,46 @@ |
|||
arkserver "ARK: Survival Evolved" |
|||
arma3server "Arma 3" |
|||
bb2server "BrainBread 2" |
|||
bmdmserver "Black Mesa" |
|||
bsserver "Blade Symphony" |
|||
csczserver "Counter Strike: Condition Zero" |
|||
csgoserver "Counter Strike: Global Offensive" |
|||
csserver "Counter Strike" |
|||
cssserver "Counter Strike: Source" |
|||
dabserver "Double Action: Boogaloo" |
|||
dmcserver "Deathmatch Classic" |
|||
dodserver "Day Of Defeat" |
|||
dodsserver "Day Of Defeat: Source" |
|||
dstserver "Don't Starve Together" |
|||
fofserver "Fistful Of Frags" |
|||
gesserver "GoldenEye: Source" |
|||
gmodserver "Garry's Mod" |
|||
hl2dmserver "Half Life 2: Deathmatch" |
|||
hldmserver "Half Life: Deathmatch" |
|||
hldmsserver "Half-Life Deathmatch: Source" |
|||
hwserver "Hurtworld" |
|||
insserver "Insurgency" |
|||
jc2server "Just Cause 2" |
|||
kfserver "Killing Floor" |
|||
l4d2server "Left 4 Dead 2" |
|||
l4dserver "Left 4 Dead" |
|||
mumbleserver "Mumble" |
|||
nmrihserver "No More Room In Hell" |
|||
ns2cserver "NS2: Combat" |
|||
ns2server "Natural Selection 2" |
|||
opforserver "Opposing Force" |
|||
pvkiiserver "Pirates, Vikings, and Knights II" |
|||
pzserver "Project Zomboid" |
|||
ricochetserver "Ricochet" |
|||
roserver "Red Orchestra" |
|||
sbserver "StarBound" |
|||
sdtdserver "7 Days To Die" |
|||
ss3sserver "Serious Sam 3: BFE" |
|||
terrariaserver "Terraria" |
|||
tf2server "Team Fortress 2" |
|||
tfcserver "Team Fortress Classic" |
|||
ts3server "TeamSpeak 3" |
|||
twserver "Teeworlds" |
|||
ut2k4server "Unreal Tournament 2004" |
|||
ut99server "Unreal Tournament 99" |
|||
arkserver:fn_set_game_setting settings "gamename" "ARK: Survival Evolved" |
|||
arma3server:fn_set_game_setting settings "gamename" "Arma 3" |
|||
bb2server:fn_set_game_setting settings "gamename" "BrainBread 2" |
|||
bmdmserver:fn_set_game_setting settings "gamename" "Black Mesa" |
|||
bsserver:fn_set_game_setting settings "gamename" "Blade Symphony" |
|||
csczserver:fn_set_game_setting settings "gamename" "Counter Strike: Condition Zero" |
|||
csgoserver:fn_set_game_setting settings "gamename" "Counter Strike: Global Offensive" |
|||
csserver:fn_set_game_setting settings "gamename" "Counter Strike" |
|||
cssserver:fn_set_game_setting settings "gamename" "Counter Strike: Source" |
|||
cureserver:fn_set_game_setting settings "gamename" "Codename CURE" |
|||
dabserver:fn_set_game_setting settings "gamename" "Double Action: Boogaloo" |
|||
dmcserver:fn_set_game_setting settings "gamename" "Deathmatch Classic" |
|||
dodserver:fn_set_game_setting settings "gamename" "Day Of Defeat" |
|||
dodsserver:fn_set_game_setting settings "gamename" "Day Of Defeat: Source" |
|||
dstserver:fn_set_game_setting settings "gamename" "Don't Starve Together" |
|||
fofserver:fn_set_game_setting settings "gamename" "Fistful Of Frags" |
|||
gesserver:fn_set_game_setting settings "gamename" "GoldenEye: Source" |
|||
gmodserver:fn_set_game_setting settings "gamename" "Garry's Mod" |
|||
hl2dmserver:fn_set_game_setting settings "gamename" "Half Life 2: Deathmatch" |
|||
hldmserver:fn_set_game_setting settings "gamename" "Half Life: Deathmatch" |
|||
hldmsserver:fn_set_game_setting settings "gamename" "Half-Life Deathmatch: Source" |
|||
hwserver:fn_set_game_setting settings "gamename" "Hurtworld" |
|||
insserver:fn_set_game_setting settings "gamename" "Insurgency" |
|||
jc2server:fn_set_game_setting settings "gamename" "Just Cause 2" |
|||
kfserver:fn_set_game_setting settings "gamename" "Killing Floor" |
|||
l4d2server:fn_set_game_setting settings "gamename" "Left 4 Dead 2" |
|||
l4dserver:fn_set_game_setting settings "gamename" "Left 4 Dead" |
|||
mumbleserver:fn_set_game_setting settings "gamename" "Mumble" |
|||
nmrihserver:fn_set_game_setting settings "gamename" "No More Room In Hell" |
|||
ns2cserver:fn_set_game_setting settings "gamename" "NS2: Combat" |
|||
ns2server:fn_set_game_setting settings "gamename" "Natural Selection 2" |
|||
opforserver:fn_set_game_setting settings "gamename" "Opposing Force" |
|||
pvkiiserver:fn_set_game_setting settings "gamename" "Pirates, Vikings, and Knights II" |
|||
pzserver:fn_set_game_setting settings "gamename" "Project Zomboid" |
|||
ricochetserver:fn_set_game_setting settings "gamename" "Ricochet" |
|||
roserver:fn_set_game_setting settings "gamename" "Red Orchestra" |
|||
sbserver:fn_set_game_setting settings "gamename" "StarBound" |
|||
sdtdserver:fn_set_game_setting settings "gamename" "7 Days To Die" |
|||
ss3sserver:fn_set_game_setting settings "gamename" "Serious Sam 3: BFE" |
|||
terrariaserver:fn_set_game_setting settings "gamename" "Terraria" |
|||
tf2server:fn_set_game_setting settings "gamename" "Team Fortress 2" |
|||
tfcserver:fn_set_game_setting settings "gamename" "Team Fortress Classic" |
|||
ts3server:fn_set_game_setting settings "gamename" "TeamSpeak 3" |
|||
twserver:fn_set_game_setting settings "gamename" "Teeworlds" |
|||
ut2k4server:fn_set_game_setting settings "gamename" "Unreal Tournament 2004" |
|||
ut99server:fn_set_game_setting settings "gamename" "Unreal Tournament 99" |
|||
|
@ -3,61 +3,63 @@ |
|||
# Base defaults for all games |
|||
|
|||
# Set the default settings for the script |
|||
fn_set_game_params settings "dependency_path" "${filesdir}" |
|||
fn_set_game_setting settings "dependency_path" "${filesdir}" |
|||
|
|||
# Default settings. This group includes a lot of blanks just so that the comments are set (and the engine/game files will show blank values to remind people to set them). |
|||
fn_set_game_params settings "backupdir" "\${lgsmdir}/backups" "Backup Directory" |
|||
fn_set_game_params settings "defaultmap" "--EMPTY--" "Default map to load" |
|||
fn_set_game_params settings "email" "[email protected]" "Email address for notification" |
|||
fn_set_game_params settings "emaillog" "\${scriptlogdir}/\${servicename}-email.log" "Email Log" |
|||
fn_set_game_params settings "emailnotification" "off" "Email notification (on|off)" |
|||
fn_set_game_params settings "engine" "--EMPTY--" "Game Engine" |
|||
fn_set_game_params settings "filesdir" "\${rootdir}/serverfiles" "Server Files Directory" |
|||
fn_set_game_params settings "game" "--EMPTY--" "Name of game" |
|||
fn_set_game_params settings "gamename" "--EMPTY--" "Name for subdirectory in GitHub repo" |
|||
fn_set_game_params settings "ip" "0.0.0.0" "IP Address to bind for server" |
|||
fn_set_game_params settings "lgsm_version" "${version}" "Version of LGSM that created this config" |
|||
fn_set_game_params settings "lockselfname" ".\${servicename}.lock" "LGSM Lock File" |
|||
fn_set_game_params settings "logdays" "7" "Number of days to retain logs" |
|||
fn_set_game_params settings "maxplayers" "--EMPTY--" "Maximum player count" |
|||
fn_set_game_params settings "port" "--EMPTY--" "Port to bind for server" |
|||
fn_set_game_setting settings "backupdir" "\${lgsmdir}/backups" "Backup Directory" |
|||
fn_set_game_setting settings "map" "--EMPTY--" "Default map to load" |
|||
fn_set_game_setting settings "email" "[email protected]" "Email address for notification" |
|||
fn_set_game_setting settings "emaillog" "\${scriptlogdir}/\${servicename}-email.log" "Email Log" |
|||
fn_set_game_setting settings "emailnotification" "off" "Email notification (on|off)" |
|||
fn_set_game_setting settings "engine" "--EMPTY--" "Game Engine" |
|||
fn_set_game_setting settings "filesdir" "\${rootdir}/serverfiles" "Server Files Directory" |
|||
fn_set_game_setting settings "game" "--EMPTY--" "Name of game" |
|||
fn_set_game_setting settings "gamename" "--EMPTY--" "Name for subdirectory in GitHub repo" |
|||
fn_set_game_setting settings "ip" "0.0.0.0" "IP Address to bind for server" |
|||
fn_set_game_setting settings "lgsm_version" "${version}" "Version of LGSM that created this config" |
|||
fn_set_game_setting settings "lockselfname" ".\${servicename}.lock" "LGSM Lock File" |
|||
fn_set_game_setting settings "logdays" "7" "Number of days to retain logs" |
|||
fn_set_game_setting settings "maxplayers" "--EMPTY--" "Maximum player count" |
|||
fn_set_game_setting settings "port" "--EMPTY--" "Port to bind for server" |
|||
|
|||
# These settings are in a second group, since they reference the first group. |
|||
fn_set_game_params settings "consolelogdir" "\${lgsmdir}/log/console" "Console Log Dir" |
|||
fn_set_game_params settings "consolelog" "\${consolelogdir}/\${servicename}-console.log" "Console Log" |
|||
fn_set_game_params settings "consolelogdate" "\${consolelogdir}/\${servicename}-console-\$(date '+%d-%m-%Y-%H-%M-%S').log" "Console Log Rotation Filename" |
|||
fn_set_game_setting settings "consolelogdir" "\${lgsmserverdir}/log/console" "Console Log Dir" |
|||
fn_set_game_setting settings "consolelog" "\${consolelogdir}/\${servicename}-console.log" "Console Log" |
|||
fn_set_game_setting settings "consolelogdate" "\${consolelogdir}/\${servicename}-console-\$(date '+%d-%m-%Y-%H-%M-%S').log" "Console Log Rotation Filename" |
|||
|
|||
fn_set_game_params settings "scriptlogdir" "\${lgsmdir}/log/script" "Script Log Dir" |
|||
fn_set_game_params settings "scriptlog" "\${scriptlogdir}/\${servicename}-script.log" "Script Log" |
|||
fn_set_game_params settings "scriptlogdate" "\${scriptlogdir}/\${servicename}-script-\$(date '+%d-%m-%Y-%H-%M-%S').log" "Script Log Rotation Filename" |
|||
fn_set_game_setting settings "scriptlogdir" "\${lgsmserverdir}/log/script" "Script Log Dir" |
|||
fn_set_game_setting settings "scriptlog" "\${scriptlogdir}/\${servicename}-script.log" "Script Log" |
|||
fn_set_game_setting settings "scriptlogdate" "\${scriptlogdir}/\${servicename}-script-\$(date '+%d-%m-%Y-%H-%M-%S').log" "Script Log Rotation Filename" |
|||
|
|||
fn_set_game_params settings "servercfg_suffix" ".cfg" "Suffix to put on the end of the server config. For file extensions, use \".ext\", setting to empty will use the bare server config name." |
|||
fn_set_game_params settings "systemdir" "\${filesdir}/\${game}" "System Directory (root of game installation)" |
|||
fn_set_game_params settings "gamelogdir" "\${systemdir}/logs" "Game log directory" |
|||
fn_set_game_setting settings "servercfg_suffix" ".cfg" "Suffix to put on the end of the server config. For file extensions, use \".ext\", setting to empty will use the bare server config name." |
|||
fn_set_game_setting settings "systemdir" "\${filesdir}/\${game}" "System Directory (root of game installation)" |
|||
fn_set_game_setting settings "gamelogdir" "\${systemdir}/logs" "Game log directory" |
|||
|
|||
fn_set_game_params settings "executabledir" "\${filesdir}" "Executable directory" |
|||
fn_set_game_params settings "executable" "--EMPTY--" "Executable to invoke to start game server" |
|||
fn_set_game_setting settings "executabledir" "\${filesdir}" "Executable directory" |
|||
fn_set_game_setting settings "executable" "--EMPTY--" "Executable to invoke to start game server" |
|||
|
|||
fn_set_game_params settings "servercfgdir" "\${systemdir}/cfg" "Server config directory" |
|||
fn_set_game_params settings "servercfg" "\${servicename}\${servercfg_suffix}" "Server config file for this instance" |
|||
fn_set_game_params settings "servercfgdefault" "\${servercfgdir}/lgsm-default\${servercfg_suffix}" "Default server configuration file" |
|||
fn_set_game_params settings "servercfgfullpath" "\${servercfgdir}/\${servercfg}" "Full path to server config" |
|||
fn_set_game_setting settings "servercfgdir" "\${systemdir}/cfg" "Server config directory" |
|||
fn_set_game_setting settings "servercfg" "\${servicename}\${servercfg_suffix}" "Server config file for this instance" |
|||
fn_set_game_setting settings "servercfgdefault" "\${servercfgdir}/lgsm-default\${servercfg_suffix}" "Default server configuration file" |
|||
fn_set_game_setting settings "servercfgfullpath" "\${servercfgdir}/\${servercfg}" "Full path to server config" |
|||
|
|||
fn_set_game_setting settings "server_parms" "--EMPTY--" "Additional Server command-line arguments. Put the parameters that start with \"-\" first, then \"+\" parameters after" |
|||
|
|||
# Script actions |
|||
fn_set_game_params scriptactions "st" "start|command_start.sh|Start the server." |
|||
fn_set_game_params scriptactions "sp" "stop|command_stop.sh|Stop the server." |
|||
fn_set_game_params scriptactions "r" "restart|fn_restart|Restart the server." |
|||
fn_set_game_params scriptactions "dd" "depsdetect|command_dev_detect_deps.sh|Detect Dependencies" |
|||
fn_set_game_params scriptactions "u" "update|update_check.sh|Checks and applies updates from SteamCMD." |
|||
fn_set_game_params scriptactions "uf" "update-functions|update_functions.sh|Removes all functions so latest can be downloaded." |
|||
fn_set_game_params scriptactions "m" "monitor|command_monitor.sh|Checks that the server is running." |
|||
fn_set_game_params scriptactions "et" "email-test|command_email_test.sh|Sends test monitor email." |
|||
fn_set_game_params scriptactions "d" "details|command_details.sh|Displays useful infomation about the server." |
|||
fn_set_game_params scriptactions "debug" "|command_debug.sh|See the output of the server directly to your terminal." |
|||
fn_set_game_params scriptactions "dev" "dev-debug|command_dev_debug.sh|Toggle Developer Debug mode" |
|||
fn_set_game_params scriptactions "i" "install|command_install.sh|Install the server." |
|||
fn_set_game_params scriptactions "ai" "auto-install|fn_autoinstall|Install the server, without prompts." |
|||
fn_set_game_params scriptactions "b" "backup|command_backup.sh|Create archive of the server." |
|||
fn_set_game_setting scriptactions "st" "start|command_start.sh|Start the server." |
|||
fn_set_game_setting scriptactions "sp" "stop|command_stop.sh|Stop the server." |
|||
fn_set_game_setting scriptactions "r" "restart|fn_restart|Restart the server." |
|||
fn_set_game_setting scriptactions "dd" "depsdetect|command_dev_detect_deps.sh|Detect Dependencies" |
|||
fn_set_game_setting scriptactions "u" "update|update_check.sh|Checks and applies updates from SteamCMD." |
|||
fn_set_game_setting scriptactions "uf" "update-functions|update_functions.sh|Removes all functions so latest can be downloaded." |
|||
fn_set_game_setting scriptactions "m" "monitor|command_monitor.sh|Checks that the server is running." |
|||
fn_set_game_setting scriptactions "et" "email-test|command_email_test.sh|Sends test monitor email." |
|||
fn_set_game_setting scriptactions "d" "details|command_details.sh|Displays useful infomation about the server." |
|||
fn_set_game_setting scriptactions "debug" "|command_debug.sh|See the output of the server directly to your terminal." |
|||
fn_set_game_setting scriptactions "dev" "dev-debug|command_dev_debug.sh|Toggle Developer Debug mode" |
|||
fn_set_game_setting scriptactions "i" "install|command_install.sh|Install the server." |
|||
fn_set_game_setting scriptactions "ai" "auto-install|fn_autoinstall|Install the server, without prompts." |
|||
fn_set_game_setting scriptactions "b" "backup|command_backup.sh|Create archive of the server." |
|||
|
|||
# Default fn_parms just loads the parms file. Still need to figure out how to handle "simple" parms. |
|||
fn_parms(){ |
|||
|
@ -1,5 +1,4 @@ |
|||
# Game Settings File |
|||
# Game Server Login Token Support |
|||
|
|||
fn_set_game_params settings "gslt" "--EMPTY--" "Required: Game Server Login Token. GSLT is required for running a public server. More info: http://gameservermanagers.com/gslt" |
|||
fn_set_game_params parms_plus "sv_setsteamaccount" "\${gslt}" |
|||
fn_set_game_parm parms_plus "sv_setsteamaccount" "--EMPTY--" "Required: Game Server Login Token. GSLT is required for running a public server. More info: http://gameservermanagers.com/gslt" |
|||
|
@ -0,0 +1,4 @@ |
|||
# Game Settings File |
|||
|
|||
# Map Cycle File |
|||
fn_set_game_setting settings "mapcyclefile" "--UNSET--" "Map Cycle File" |
@ -0,0 +1,4 @@ |
|||
# Game Settings File |
|||
|
|||
# Tickrate |
|||
fn_set_game_parm parms_minus "tickrate" "66" "Server Tick Rate" |
@ -1,9 +1,6 @@ |
|||
# Game Settings File |
|||
|
|||
# Workshop Authentication and Settings |
|||
fn_set_game_params parms_minus "authkey" "\${authkey}" |
|||
fn_set_game_params parms_plus "host_workshop_collection" "\${host_workshop_collection}" |
|||
fn_set_game_params parms_plus "workshop_start_map" "\${workshop_start_map}" |
|||
fn_set_game_params settings "authkey" "--EMPTY--" "Optional key for Workshop Content. See https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators - To get an authkey visit - http://steamcommunity.com/dev/apikey" |
|||
fn_set_game_params settings "host_workshop_collection" "--EMPTY--" "Workshop Collection ID" |
|||
fn_set_game_params settings "workshop_start_map" "--EMPTY--" "Workshop Start Map" |
|||
fn_set_game_setting parms_minus "authkey" "--EMPTY--" "Optional key for Workshop Content. See https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators - To get an authkey visit - http://steamcommunity.com/dev/apikey" |
|||
fn_set_game_setting parms_plus "host_workshop_collection" "--EMPTY--" "Workshop Collection ID" |
|||
fn_set_game_setting parms_plus "workshop_start_map" "--EMPTY--" "Workshop Start Map" |
|||
|
@ -0,0 +1,17 @@ |
|||
# Game Settings File |
|||
# cureserver |
|||
# Codename: CURE |
|||
|
|||
# Import SRCDS |
|||
fn_import_game_settings _source |
|||
#fn_import_game_settings _gslt |
|||
#fn_import_game_settings _workshop |
|||
#fn_import_game_settings _mapcyclefile |
|||
|
|||
# Game Settings |
|||
fn_set_game_setting settings "appid" "383410" |
|||
fn_set_game_setting settings "game" "cure" |
|||
fn_set_game_setting settings "gamename" "Codename CURE" |
|||
|
|||
# Game Parameters |
|||
fn_set_game_parm parms_plus "map" "csv_house" |
Loading…
Reference in new issue