|
|
@ -25,7 +25,7 @@ allowjoininprogress="true" |
|
|
|
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
|
# Edit with care | List of game types and mutators : https://docs.linuxgsm.com/game-servers/unreal-tournament-3 |
|
|
|
fn_parms(){ |
|
|
|
parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?Mutator=${mutators}?ConfigSubDir=${servicename} -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}?Mutator=${mutators}?ConfigSubDir=${selfname} -port=${port} -queryport=${queryport} -multihome=${ip} -nohomedir -unattended -log=${gamelog}" |
|
|
|
} |
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
@ -148,7 +148,7 @@ executabledir="${systemdir}/Binaries" |
|
|
|
executable="./ut3" |
|
|
|
servercfg="UTGame.ini" |
|
|
|
servercfgdefault="UTGame.ini" |
|
|
|
servercfgdir="${systemdir}/UTGame/Config/${servicename}" |
|
|
|
servercfgdir="${systemdir}/UTGame/Config/${selfname}" |
|
|
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
|
|
|
|
|
|
|
## Backup Directory |
|
|
@ -159,13 +159,13 @@ logdir="${rootdir}/log" |
|
|
|
gamelogdir="${logdir}/server" |
|
|
|
lgsmlogdir="${logdir}/script" |
|
|
|
consolelogdir="${logdir}/console" |
|
|
|
gamelog="${gamelogdir}/${servicename}-game.log" |
|
|
|
lgsmlog="${lgsmlogdir}/${servicename}-script.log" |
|
|
|
consolelog="${consolelogdir}/${servicename}-console.log" |
|
|
|
alertlog="${lgsmlogdir}/${servicename}-alert.log" |
|
|
|
postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log" |
|
|
|
gamelog="${gamelogdir}/${selfname}-game.log" |
|
|
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
|
|
|
consolelog="${consolelogdir}/${selfname}-console.log" |
|
|
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
|
|
|
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
|
|
|
|
|
|
|
## Logs Naming |
|
|
|
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|