|
@ -28,7 +28,7 @@ saveinterval="300" # Auto-save in seconds. |
|
|
tickrate="30" # default: 30, range: 15-100. |
|
|
tickrate="30" # default: 30, range: 15-100. |
|
|
|
|
|
|
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.queryport ${queryport} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile" |
|
|
startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.queryport ${queryport} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile ${gamelog}" |
|
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
#### LinuxGSM Settings #### |
|
|
|
|
|
|
|
@ -184,6 +184,7 @@ backupdir="${lgsmdir}/backup" |
|
|
gamelogdir="${logdir}/server" |
|
|
gamelogdir="${logdir}/server" |
|
|
lgsmlogdir="${logdir}/script" |
|
|
lgsmlogdir="${logdir}/script" |
|
|
consolelogdir="${logdir}/console" |
|
|
consolelogdir="${logdir}/console" |
|
|
|
|
|
gamelog="${gamelogdir}/${selfname}-game.log" |
|
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
|
|
lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
|
|
consolelog="${consolelogdir}/${selfname}-console.log" |
|
|
consolelog="${consolelogdir}/${selfname}-console.log" |
|
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
|
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
|
|