- misunderstand lgsm
This commit is contained in:
parent
deac02fa5c
commit
77965bd76a
@ -12,11 +12,11 @@ fi
|
|||||||
|
|
||||||
## For "details" command: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/info_messages.sh
|
## For "details" command: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/info_messages.sh
|
||||||
## fn_info_message_gameserver
|
## fn_info_message_gameserver
|
||||||
servername="$SERVER_NAME"
|
#servername="$SERVER_NAME"
|
||||||
serverpassword="$SERVER_PASSWORD"
|
#serverpassword="$SERVER_PASSWORD"
|
||||||
if [ ! -n "$SERVER_RCON_PASSWORD" ]; then
|
#if [ ! -n "$SERVER_RCON_PASSWORD" ]; then
|
||||||
rconpassword="$SERVER_RCON_PASSWORD"
|
# rconpassword="$SERVER_RCON_PASSWORD"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
|
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
|
||||||
ip="$SERVER_IP"
|
ip="$SERVER_IP"
|
||||||
@ -45,7 +45,7 @@ gslt="$SERVER_LOGIN_TOKEN"
|
|||||||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
||||||
fn_parms(){
|
fn_parms(){
|
||||||
#shellcheck disable=SC2034,SC2154
|
#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 ####
|
#### LinuxGSM Settings ####
|
||||||
@ -168,4 +168,4 @@ appid="4020"
|
|||||||
branch="$LGSM_BRANCH"
|
branch="$LGSM_BRANCH"
|
||||||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
||||||
#shellcheck disable=SC2034
|
#shellcheck disable=SC2034
|
||||||
steammaster="$LGSM_STEAMMASTER"
|
steammaster="$LGSM_STEAMMASTER"
|
||||||
|
Loading…
Reference in New Issue
Block a user