Browse Source

update

pull/1016/head
Alexander Hurd 9 years ago
parent
commit
bed8509ad6
  1. 3
      UnrealTournament3/ut3server
  2. 8
      lgsm/functions/install_config.sh

3
UnrealTournament3/ut3server

@ -39,11 +39,10 @@ shouldadvertise="true"
pureserver="1"
allowjoininprogress="true"
maxplayers="32"
adminpw="changeme"
#list of game types and mutators : http://wiki.unrealadmin.org/FAQ:UT3
fn_parms(){
parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?MaxPlayers=${maxplayers}?AdminPassword=${adminpw}?Mutator=${mutators} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog}"
parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?MaxPlayers=${maxplayers}?Mutator=${mutators} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog}"
}
# Server Details

8
lgsm/functions/install_config.sh

@ -170,12 +170,12 @@ fn_ut3config(){
echo "Configuring ${gamename} Server"
echo "================================="
sleep 1
echo "setting ServerName to 'LinuxGSM UT3 Server'"
fn_script_log_info "setting ServerName to 'LinuxGSM UT3 Server'"
echo "setting ServerName to 'LinuxGSM UT3 Server'."
fn_script_log_info "setting ServerName to 'LinuxGSM UT3 Server'."
sleep 1
sed -i 's/ServerName=/ServerName=LinuxGSM UT3 Server/g' "${servercfgdir}/DefaultGame.ini"
echo "setting WebAdmin password."
fn_script_log_info "setting WebAdmin password."
echo "setting WebAdmin password to admin."
fn_script_log_info "setting WebAdmin password to admin."
echo '[Engine.AccessControl]' >> "${servercfgdir}/DefaultGame.ini"
echo 'AdminPassword=admin' >> "${servercfgdir}/DefaultGame.ini"
sleep 1

Loading…
Cancel
Save