mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
fix(unt): config is auto generated
This commit is contained in:
parent
8a9f34321d
commit
65e3a93d0d
@ -13,14 +13,16 @@ ip="0.0.0.0"
|
||||
port="27015"
|
||||
maxplayers="20"
|
||||
defaultmap="PEI"
|
||||
|
||||
servername="LinuxGSM"
|
||||
perspective="first" # Values: first, third, vehicle, Both.
|
||||
gamemode="normal" # Values: normal, easy, gold.
|
||||
## Game Server Login Token (GSLT): Required
|
||||
# GSLT is required for running a public server.
|
||||
# More info: https://docs.linuxgsm.com/steamcmd/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
||||
startparameters="-nographics -batchmode -bind ${ip} -port ${port} -maxplayers ${maxplayers} -map ${defaultmap} -gslt ${gslt} +InternetServer/${selfname}"
|
||||
startparameters="-nographics -batchmode -bind ${ip} -port ${port} -maxplayers ${maxplayers} -perspective ${perspective} -mode ${gamemode} -name ${servername} -map ${defaultmap} -gslt ${gslt} +InternetServer/${selfname}"
|
||||
|
||||
#### LinuxGSM Settings ####
|
||||
|
||||
|
@ -781,11 +781,8 @@ elif [ "${shortname}" == "ut99" ]; then
|
||||
fn_set_config_vars
|
||||
fn_list_config_locations
|
||||
elif [ "${shortname}" == "unt" ]; then
|
||||
array_configs+=(Config.json)
|
||||
fn_fetch_default_config
|
||||
fn_default_config_remote
|
||||
fn_set_config_vars
|
||||
fn_list_config_locations
|
||||
# Config is generated on first run
|
||||
:
|
||||
elif [ "${shortname}" == "vints" ]; then
|
||||
# Config is generated on first run
|
||||
:
|
||||
|
Loading…
Reference in New Issue
Block a user