Browse Source

refactor(tf2c): rename tf2classified/tf2classifiedserver to tf2c/tf2cserver

Shorter, conventional name consistent with other Source mod servers
(tfc, tf2, etc). The game directory is now tf2c, config dir tf2cserver,
shortname tf2c.

Also update startparameters game flag: -game tf2c
pull/4898/head
Daniel Gibbs 2 months ago
parent
commit
0726f657c8
Failed to extract signature
  1. 4
      lgsm/config-default/config-lgsm/tf2cserver/_default.cfg
  2. 2
      lgsm/data/serverlist.csv
  3. 4
      lgsm/modules/install_config.sh

4
lgsm/config-default/config-lgsm/tf2classifiedserver/_default.cfg → lgsm/config-default/config-lgsm/tf2cserver/_default.cfg

@ -24,7 +24,7 @@ maxplayers="16"
gslt=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-game tf2classified -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
startparameters="-game tf2c -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
#### LinuxGSM Settings ####
@ -166,7 +166,7 @@ glibc="2.15"
# Edit with care
## Game Server Directories
systemdir="${serverfiles}/tf2classified"
systemdir="${serverfiles}/tf2c"
supportdir="${serverfiles}/tf2"
executabledir="${serverfiles}"
executable="./srcds.sh"

2
lgsm/data/serverlist.csv

@ -114,7 +114,7 @@ sven,svenserver,Sven Co-op,ubuntu-24.04
terraria,terrariaserver,Terraria,ubuntu-24.04
tf,tfserver,The Front,ubuntu-24.04
tf2,tf2server,Team Fortress 2,ubuntu-24.04
tf2classified,tf2classifiedserver,Team Fortress 2 Classified,ubuntu-24.04
tf2c,tf2cserver,Team Fortress 2 Classified,ubuntu-24.04
tfc,tfcserver,Team Fortress Classic,ubuntu-24.04
ti,tiserver,The Isle,ubuntu-24.04
ts,tsserver,The Specialists,ubuntu-24.04

Can't render this file because it has a wrong number of fields in line 47.

4
lgsm/modules/install_config.sh

@ -719,12 +719,12 @@ elif [ "${shortname}" == "sven" ]; then
fn_default_config_remote
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "tf2classified" ]; then
elif [ "${shortname}" == "tf2" ]; then
array_configs+=(server.cfg)
fn_default_config_remote
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "tf2" ]; then
elif [ "${shortname}" == "tf2c" ]; then
array_configs+=(server.cfg)
fn_default_config_remote
fn_set_config_vars

Loading…
Cancel
Save