72 changed files with 670 additions and 654 deletions
@ -1,45 +1,46 @@ |
|||||
arkserver "ARK: Survival Evolved" |
arkserver:fn_set_game_setting settings "gamename" "ARK: Survival Evolved" |
||||
arma3server "Arma 3" |
arma3server:fn_set_game_setting settings "gamename" "Arma 3" |
||||
bb2server "BrainBread 2" |
bb2server:fn_set_game_setting settings "gamename" "BrainBread 2" |
||||
bmdmserver "Black Mesa" |
bmdmserver:fn_set_game_setting settings "gamename" "Black Mesa" |
||||
bsserver "Blade Symphony" |
bsserver:fn_set_game_setting settings "gamename" "Blade Symphony" |
||||
csczserver "Counter Strike: Condition Zero" |
csczserver:fn_set_game_setting settings "gamename" "Counter Strike: Condition Zero" |
||||
csgoserver "Counter Strike: Global Offensive" |
csgoserver:fn_set_game_setting settings "gamename" "Counter Strike: Global Offensive" |
||||
csserver "Counter Strike" |
csserver:fn_set_game_setting settings "gamename" "Counter Strike" |
||||
cssserver "Counter Strike: Source" |
cssserver:fn_set_game_setting settings "gamename" "Counter Strike: Source" |
||||
dabserver "Double Action: Boogaloo" |
cureserver:fn_set_game_setting settings "gamename" "Codename CURE" |
||||
dmcserver "Deathmatch Classic" |
dabserver:fn_set_game_setting settings "gamename" "Double Action: Boogaloo" |
||||
dodserver "Day Of Defeat" |
dmcserver:fn_set_game_setting settings "gamename" "Deathmatch Classic" |
||||
dodsserver "Day Of Defeat: Source" |
dodserver:fn_set_game_setting settings "gamename" "Day Of Defeat" |
||||
dstserver "Don't Starve Together" |
dodsserver:fn_set_game_setting settings "gamename" "Day Of Defeat: Source" |
||||
fofserver "Fistful Of Frags" |
dstserver:fn_set_game_setting settings "gamename" "Don't Starve Together" |
||||
gesserver "GoldenEye: Source" |
fofserver:fn_set_game_setting settings "gamename" "Fistful Of Frags" |
||||
gmodserver "Garry's Mod" |
gesserver:fn_set_game_setting settings "gamename" "GoldenEye: Source" |
||||
hl2dmserver "Half Life 2: Deathmatch" |
gmodserver:fn_set_game_setting settings "gamename" "Garry's Mod" |
||||
hldmserver "Half Life: Deathmatch" |
hl2dmserver:fn_set_game_setting settings "gamename" "Half Life 2: Deathmatch" |
||||
hldmsserver "Half-Life Deathmatch: Source" |
hldmserver:fn_set_game_setting settings "gamename" "Half Life: Deathmatch" |
||||
hwserver "Hurtworld" |
hldmsserver:fn_set_game_setting settings "gamename" "Half-Life Deathmatch: Source" |
||||
insserver "Insurgency" |
hwserver:fn_set_game_setting settings "gamename" "Hurtworld" |
||||
jc2server "Just Cause 2" |
insserver:fn_set_game_setting settings "gamename" "Insurgency" |
||||
kfserver "Killing Floor" |
jc2server:fn_set_game_setting settings "gamename" "Just Cause 2" |
||||
l4d2server "Left 4 Dead 2" |
kfserver:fn_set_game_setting settings "gamename" "Killing Floor" |
||||
l4dserver "Left 4 Dead" |
l4d2server:fn_set_game_setting settings "gamename" "Left 4 Dead 2" |
||||
mumbleserver "Mumble" |
l4dserver:fn_set_game_setting settings "gamename" "Left 4 Dead" |
||||
nmrihserver "No More Room In Hell" |
mumbleserver:fn_set_game_setting settings "gamename" "Mumble" |
||||
ns2cserver "NS2: Combat" |
nmrihserver:fn_set_game_setting settings "gamename" "No More Room In Hell" |
||||
ns2server "Natural Selection 2" |
ns2cserver:fn_set_game_setting settings "gamename" "NS2: Combat" |
||||
opforserver "Opposing Force" |
ns2server:fn_set_game_setting settings "gamename" "Natural Selection 2" |
||||
pvkiiserver "Pirates, Vikings, and Knights II" |
opforserver:fn_set_game_setting settings "gamename" "Opposing Force" |
||||
pzserver "Project Zomboid" |
pvkiiserver:fn_set_game_setting settings "gamename" "Pirates, Vikings, and Knights II" |
||||
ricochetserver "Ricochet" |
pzserver:fn_set_game_setting settings "gamename" "Project Zomboid" |
||||
roserver "Red Orchestra" |
ricochetserver:fn_set_game_setting settings "gamename" "Ricochet" |
||||
sbserver "StarBound" |
roserver:fn_set_game_setting settings "gamename" "Red Orchestra" |
||||
sdtdserver "7 Days To Die" |
sbserver:fn_set_game_setting settings "gamename" "StarBound" |
||||
ss3sserver "Serious Sam 3: BFE" |
sdtdserver:fn_set_game_setting settings "gamename" "7 Days To Die" |
||||
terrariaserver "Terraria" |
ss3sserver:fn_set_game_setting settings "gamename" "Serious Sam 3: BFE" |
||||
tf2server "Team Fortress 2" |
terrariaserver:fn_set_game_setting settings "gamename" "Terraria" |
||||
tfcserver "Team Fortress Classic" |
tf2server:fn_set_game_setting settings "gamename" "Team Fortress 2" |
||||
ts3server "TeamSpeak 3" |
tfcserver:fn_set_game_setting settings "gamename" "Team Fortress Classic" |
||||
twserver "Teeworlds" |
ts3server:fn_set_game_setting settings "gamename" "TeamSpeak 3" |
||||
ut2k4server "Unreal Tournament 2004" |
twserver:fn_set_game_setting settings "gamename" "Teeworlds" |
||||
ut99server "Unreal Tournament 99" |
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 |
# Base defaults for all games |
||||
|
|
||||
# Set the default settings for the script |
# 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). |
# 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_setting settings "backupdir" "\${lgsmdir}/backups" "Backup Directory" |
||||
fn_set_game_params settings "defaultmap" "--EMPTY--" "Default map to load" |
fn_set_game_setting settings "map" "--EMPTY--" "Default map to load" |
||||
fn_set_game_params settings "email" "[email protected]" "Email address for notification" |
fn_set_game_setting settings "email" "[email protected]" "Email address for notification" |
||||
fn_set_game_params settings "emaillog" "\${scriptlogdir}/\${servicename}-email.log" "Email Log" |
fn_set_game_setting settings "emaillog" "\${scriptlogdir}/\${servicename}-email.log" "Email Log" |
||||
fn_set_game_params settings "emailnotification" "off" "Email notification (on|off)" |
fn_set_game_setting settings "emailnotification" "off" "Email notification (on|off)" |
||||
fn_set_game_params settings "engine" "--EMPTY--" "Game Engine" |
fn_set_game_setting settings "engine" "--EMPTY--" "Game Engine" |
||||
fn_set_game_params settings "filesdir" "\${rootdir}/serverfiles" "Server Files Directory" |
fn_set_game_setting settings "filesdir" "\${rootdir}/serverfiles" "Server Files Directory" |
||||
fn_set_game_params settings "game" "--EMPTY--" "Name of game" |
fn_set_game_setting settings "game" "--EMPTY--" "Name of game" |
||||
fn_set_game_params settings "gamename" "--EMPTY--" "Name for subdirectory in GitHub repo" |
fn_set_game_setting 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_setting 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_setting 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_setting settings "lockselfname" ".\${servicename}.lock" "LGSM Lock File" |
||||
fn_set_game_params settings "logdays" "7" "Number of days to retain logs" |
fn_set_game_setting settings "logdays" "7" "Number of days to retain logs" |
||||
fn_set_game_params settings "maxplayers" "--EMPTY--" "Maximum player count" |
fn_set_game_setting settings "maxplayers" "--EMPTY--" "Maximum player count" |
||||
fn_set_game_params settings "port" "--EMPTY--" "Port to bind for server" |
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. |
# 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_setting settings "consolelogdir" "\${lgsmserverdir}/log/console" "Console Log Dir" |
||||
fn_set_game_params settings "consolelog" "\${consolelogdir}/\${servicename}-console.log" "Console Log" |
fn_set_game_setting 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 "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_setting settings "scriptlogdir" "\${lgsmserverdir}/log/script" "Script Log Dir" |
||||
fn_set_game_params settings "scriptlog" "\${scriptlogdir}/\${servicename}-script.log" "Script Log" |
fn_set_game_setting 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 "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_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_params settings "systemdir" "\${filesdir}/\${game}" "System Directory (root of game installation)" |
fn_set_game_setting 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 "gamelogdir" "\${systemdir}/logs" "Game log directory" |
||||
|
|
||||
fn_set_game_params settings "executabledir" "\${filesdir}" "Executable directory" |
fn_set_game_setting settings "executabledir" "\${filesdir}" "Executable directory" |
||||
fn_set_game_params settings "executable" "--EMPTY--" "Executable to invoke to start game server" |
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_setting 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_setting 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_setting 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 "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 |
# Script actions |
||||
fn_set_game_params scriptactions "st" "start|command_start.sh|Start the server." |
fn_set_game_setting 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_setting scriptactions "sp" "stop|command_stop.sh|Stop the server." |
||||
fn_set_game_params scriptactions "r" "restart|fn_restart|Restart the server." |
fn_set_game_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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_setting 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 "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. |
# Default fn_parms just loads the parms file. Still need to figure out how to handle "simple" parms. |
||||
fn_parms(){ |
fn_parms(){ |
||||
|
@ -1,5 +1,4 @@ |
|||||
# Game Settings File |
# Game Settings File |
||||
# Game Server Login Token Support |
# 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_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" |
||||
fn_set_game_params parms_plus "sv_setsteamaccount" "\${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 |
# Game Settings File |
||||
|
|
||||
# Workshop Authentication and Settings |
# Workshop Authentication and Settings |
||||
fn_set_game_params parms_minus "authkey" "\${authkey}" |
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_params parms_plus "host_workshop_collection" "\${host_workshop_collection}" |
fn_set_game_setting parms_plus "host_workshop_collection" "--EMPTY--" "Workshop Collection ID" |
||||
fn_set_game_params parms_plus "workshop_start_map" "\${workshop_start_map}" |
fn_set_game_setting parms_plus "workshop_start_map" "--EMPTY--" "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" |
|
||||
|
@ -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