gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.3 KiB
84 lines
2.3 KiB
##################################
|
|
######## Default Settings ########
|
|
##################################
|
|
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
|
|
# Copy settings from here and use them in either:
|
|
# common.cfg - applies settings to every instance.
|
|
# [instance].cfg - applies settings to a specific instance.
|
|
|
|
#### Game Server Settings ####
|
|
|
|
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
|
|
ip="0.0.0.0"
|
|
port="27015"
|
|
defaultmap="ns2_summit"
|
|
maxplayers="24"
|
|
servername="LinuxGSM Server"
|
|
webadminuser="admin"
|
|
webadminpass="admin"
|
|
webadminport="8080"
|
|
mods=""
|
|
serverpassword=""
|
|
# Add the following line to the parms if you want a private server. Ensuring
|
|
# that the password variable above is not left empty.
|
|
# -password \"${serverpassword}\"
|
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
|
|
startparameters="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${webadminuser} -webpassword \"${webadminpass}\" -webport ${webadminport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -logdir \"${gamelogdir}\" -modstorage \"${modstoragedir}\" -mods2 \"${mods}\""
|
|
|
|
## Monitor | https://docs.linuxgsm.com/commands/monitor
|
|
# Query delay time
|
|
querydelay="1"
|
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
|
|
# Server appid
|
|
appid="4940"
|
|
steamcmdforcewindows="no"
|
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
|
|
branch=""
|
|
betapassword=""
|
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
|
|
steammaster="true"
|
|
|
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
|
|
# 1: tmux kill
|
|
# 2: CTRL+c
|
|
# 3: quit
|
|
# 4: quit 120s
|
|
# 5: stop
|
|
# 6: q
|
|
# 7: exit
|
|
# 8: 7 Days to Die
|
|
# 9: GoldSrc
|
|
# 10: Avorion
|
|
# 11: end
|
|
stopmode="6"
|
|
|
|
## Query mode
|
|
# 1: session only
|
|
# 2: gamedig (gsquery fallback)
|
|
# 3: gamedig
|
|
# 4: gsquery
|
|
# 5: tcp
|
|
querymode="2"
|
|
querytype="protocol-valve"
|
|
|
|
## Console type
|
|
consoleverbose="yes"
|
|
consoleinteract="no"
|
|
|
|
## Game Server Details
|
|
# Do not edit
|
|
gamename="Natural Selection 2"
|
|
engine="spark"
|
|
glibc="2.17"
|
|
|
|
#### Directories ####
|
|
# Edit with care
|
|
|
|
## Game Server Directories
|
|
systemdir="${serverfiles}"
|
|
executabledir="${serverfiles}/x64"
|
|
executable="./server_linux"
|
|
servercfgdir="${systemdir}/${selfname}"
|
|
modstoragedir="${servercfgdir}/Workshop"
|
|
|
|
|