Browse Source

Renamed variables, readded IP for gsquery

pull/573/head
UltimateByte 9 years ago
parent
commit
d69576e34a
  1. 8
      Hurtworld/hwserver

8
Hurtworld/hwserver

@ -25,9 +25,9 @@ steampass=""
# Start Variables # Start Variables
servername="Hurtworld LGSM Server" servername="Hurtworld LGSM Server"
logfile="gamelog.txt" port="12871"
hostport="12871"
queryport="12881" queryport="12881"
ip="0.0.0.0" #For server monitoring
maxplayers="20" maxplayers="20"
map="" map=""
creativemode="0" #Free Build (0 is off) creativemode="0" #Free Build (0 is off)
@ -37,7 +37,7 @@ logfile="gamelog.txt"
# http://hurtworld.wikia.com/wiki/Hosting_A_Server # http://hurtworld.wikia.com/wiki/Hosting_A_Server
fn_parms(){ fn_parms(){
parms="-batchmode -nographics -exec \"host ${hostport} ${map} ${save};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode}\" -logfile \"${logfile}\" " parms="-batchmode -nographics -exec \"host ${port} ${map} ${save};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode}\" -logfile \"${logfile}\" "
} }
#### Advanced Variables #### #### Advanced Variables ####
@ -55,7 +55,7 @@ appid="405100"
# Server Details # Server Details
servicename="hurtworld-server" servicename="hurtworld-server"
gamename="hurtworld" gamename="hurtworld"
engine="unity3d" engine="hwunity3d"
# Directories # Directories
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"

Loading…
Cancel
Save