Browse Source

Merged branch hotfix-pzserver into master

pull/1128/merge 161113.2
Daniel Gibbs 9 years ago
parent
commit
f8ef089ae0
  1. 6
      ProjectZomboid/pzserver
  2. 1
      lgsm/functions/install_config.sh

6
ProjectZomboid/pzserver

@ -27,7 +27,7 @@ adminpassword="CHANGE_ME"
ip="0.0.0.0"
fn_parms(){
parms="-ip ${ip} -adminpassword \"${adminpassword}\""
parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}"
}
#### LinuxGSM Settings ####
@ -96,8 +96,8 @@ filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}"
executabledir="${filesdir}"
executable="./start-server.sh"
servercfg="server.ini"
servercfgdefault="server.cfg"
servercfg="${servicename}.ini"
servercfgdefault="server.ini"
servercfgdir="${HOME}/Zomboid/Server"
servercfgfullpath="${servercfgdir}/${servercfg}"

1
lgsm/functions/install_config.sh

@ -298,6 +298,7 @@ elif [ "${gamename}" == "Pirates, Vikings, and Knights II" ]; then
fn_set_config_vars
elif [ "${gamename}" == "Project Zomboid" ]; then
gamedirname="ProjectZomboid"
fn_check_cfgdir
array_configs+=( server.ini )
fn_fetch_default_config
fn_default_config_remote

Loading…
Cancel
Save