From 77965bd76a397ecd99186448edc858d2b66ae870 Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Tue, 15 Oct 2019 14:33:40 +0200 Subject: [PATCH] - misunderstand lgsm --- gmod/common.cfg | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gmod/common.cfg b/gmod/common.cfg index 18aba7a..4500afa 100644 --- a/gmod/common.cfg +++ b/gmod/common.cfg @@ -12,11 +12,11 @@ fi ## For "details" command: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/info_messages.sh ## fn_info_message_gameserver -servername="$SERVER_NAME" -serverpassword="$SERVER_PASSWORD" -if [ ! -n "$SERVER_RCON_PASSWORD" ]; then - rconpassword="$SERVER_RCON_PASSWORD" -fi +#servername="$SERVER_NAME" +#serverpassword="$SERVER_PASSWORD" +#if [ ! -n "$SERVER_RCON_PASSWORD" ]; then +# rconpassword="$SERVER_RCON_PASSWORD" +#fi ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters ip="$SERVER_IP" @@ -45,7 +45,7 @@ gslt="$SERVER_LOGIN_TOKEN" ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters fn_parms(){ #shellcheck disable=SC2034,SC2154 - parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} +host_workshop_collection ${wscollectionid} -authkey ${wsapikey} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} +hostname '$servername' ${customparms}" + parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} +host_workshop_collection ${wscollectionid} -authkey ${wsapikey} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}" } #### LinuxGSM Settings #### @@ -168,4 +168,4 @@ appid="4020" branch="$LGSM_BRANCH" # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server #shellcheck disable=SC2034 -steammaster="$LGSM_STEAMMASTER" \ No newline at end of file +steammaster="$LGSM_STEAMMASTER"