Skip to content

Commit e290bf3

Browse files
committed
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
1 parent b13b7a6 commit e290bf3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lgsm/config-default/config-lgsm/tf2classifiedserver/_default.cfg renamed to lgsm/config-default/config-lgsm/tf2cserver/_default.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ maxplayers="16"
2424
gslt=""
2525

2626
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
27-
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}"
27+
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}"
2828

2929
#### LinuxGSM Settings ####
3030

@@ -177,7 +177,7 @@ glibc="2.15"
177177
# Edit with care
178178

179179
## Game Server Directories
180-
systemdir="${serverfiles}/tf2classified"
180+
systemdir="${serverfiles}/tf2c"
181181
supportdir="${serverfiles}/tf2"
182182
executabledir="${serverfiles}"
183183
executable="./srcds.sh"

lgsm/data/serverlist.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sven,svenserver,Sven Co-op,ubuntu-24.04
114114
terraria,terrariaserver,Terraria,ubuntu-24.04
115115
tf,tfserver,The Front,ubuntu-24.04
116116
tf2,tf2server,Team Fortress 2,ubuntu-24.04
117-
tf2classified,tf2classifiedserver,Team Fortress 2 Classified,ubuntu-24.04
117+
tf2c,tf2cserver,Team Fortress 2 Classified,ubuntu-24.04
118118
tfc,tfcserver,Team Fortress Classic,ubuntu-24.04
119119
ti,tiserver,The Isle,ubuntu-24.04
120120
ts,tsserver,The Specialists,ubuntu-24.04

lgsm/modules/install_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ elif [ "${shortname}" == "tf2" ]; then
724724
fn_default_config_remote
725725
fn_set_config_vars
726726
fn_list_config_locations
727-
elif [ "${shortname}" == "tf2classified" ]; then
727+
elif [ "${shortname}" == "tf2c" ]; then
728728
array_configs+=(server.cfg)
729729
fn_default_config_remote
730730
fn_set_config_vars

0 commit comments

Comments
 (0)