2 changed files with 260 additions and 521 deletions
@ -1,261 +1,261 @@ |
|||||
################################## |
################################## |
||||
|
|
||||
######## Default Settings ######## |
######## Default Settings ######## |
||||
|
|
||||
################################## |
################################## |
||||
|
|
||||
# DO NOT EDIT WILL BE OVERWRITTEN! |
# DO NOT EDIT WILL BE OVERWRITTEN! |
||||
|
|
||||
# Copy settings from here and use them in either |
# Copy settings from here and use them in either |
||||
|
|
||||
# common.cfg - applies settings to every instance |
# common.cfg - applies settings to every instance |
||||
|
|
||||
# [instance].cfg - applies settings to a specific instance |
# [instance].cfg - applies settings to a specific instance |
||||
|
|
||||
|
|
||||
|
|
||||
#### Server Settings #### |
#### Server Settings #### |
||||
|
|
||||
|
|
||||
|
|
||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
||||
|
|
||||
ip="0.0.0.0" |
ip="0.0.0.0" |
||||
|
|
||||
port="5755" |
port="5755" |
||||
|
|
||||
queryport="57555" |
queryport="57555" |
||||
|
|
||||
rconport="27030" |
rconport="27030" |
||||
|
|
||||
# Default Map: Ocean |
# Default Map: Ocean |
||||
|
|
||||
defaultmap="Ocean" |
defaultmap="Ocean" |
||||
|
|
||||
maxplayers="50" |
maxplayers="50" |
||||
|
|
||||
|
|
||||
|
|
||||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
|
|
||||
fn_parms(){ |
fn_parms(){ |
||||
|
|
||||
parms="\"${defaultmap}?AltSaveDirectoryName=${defaultmap}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods\"" |
parms="\"${defaultmap}?AltSaveDirectoryName=${defaultmap}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods\"" |
||||
|
|
||||
} |
} |
||||
|
|
||||
|
|
||||
|
|
||||
#### LinuxGSM Settings #### |
#### LinuxGSM Settings #### |
||||
|
|
||||
|
|
||||
|
|
||||
## Notification Alerts |
## Notification Alerts |
||||
|
|
||||
# (on|off) |
# (on|off) |
||||
|
|
||||
|
|
||||
|
|
||||
# More info | https://docs.linuxgsm.com/alerts#more-info |
# More info | https://docs.linuxgsm.com/alerts#more-info |
||||
|
|
||||
postalert="off" |
postalert="off" |
||||
|
|
||||
postdays="7" |
postdays="7" |
||||
|
|
||||
posttarget="https://hastebin.com" |
posttarget="https://hastebin.com" |
||||
|
|
||||
|
|
||||
|
|
||||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
||||
|
|
||||
discordalert="off" |
discordalert="off" |
||||
|
|
||||
discordwebhook="webhook" |
discordwebhook="webhook" |
||||
|
|
||||
|
|
||||
|
|
||||
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
||||
|
|
||||
emailalert="off" |
emailalert="off" |
||||
|
|
||||
email="[email protected]" |
email="[email protected]" |
||||
|
|
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
|
|
||||
|
|
||||
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
||||
|
|
||||
iftttalert="off" |
iftttalert="off" |
||||
|
|
||||
ifttttoken="accesstoken" |
ifttttoken="accesstoken" |
||||
|
|
||||
iftttevent="linuxgsm_alert" |
iftttevent="linuxgsm_alert" |
||||
|
|
||||
|
|
||||
|
|
||||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
||||
|
|
||||
mailgunalert="off" |
mailgunalert="off" |
||||
|
|
||||
mailguntoken="accesstoken" |
mailguntoken="accesstoken" |
||||
|
|
||||
mailgundomain="example.com" |
mailgundomain="example.com" |
||||
|
|
||||
mailgunemailfrom="[email protected]" |
mailgunemailfrom="[email protected]" |
||||
|
|
||||
mailgunemail="[email protected]" |
mailgunemail="[email protected]" |
||||
|
|
||||
|
|
||||
|
|
||||
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
||||
|
|
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
|
|
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
|
||||
channeltag="" |
channeltag="" |
||||
|
|
||||
|
|
||||
|
|
||||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
||||
|
|
||||
pushoveralert="off" |
pushoveralert="off" |
||||
|
|
||||
pushovertoken="accesstoken" |
pushovertoken="accesstoken" |
||||
|
|
||||
|
|
||||
|
|
||||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
||||
|
|
||||
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". |
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". |
||||
|
|
||||
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need |
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need |
||||
|
|
||||
# any custom string in curl - simple ignore this parameter. |
# any custom string in curl - simple ignore this parameter. |
||||
|
|
||||
telegramalert="off" |
telegramalert="off" |
||||
|
|
||||
telegramtoken="accesstoken" |
telegramtoken="accesstoken" |
||||
|
|
||||
telegramchatid="" |
telegramchatid="" |
||||
|
|
||||
curlcustomstring="" |
curlcustomstring="" |
||||
|
|
||||
|
|
||||
|
|
||||
## Updating | https://docs.linuxgsm.com/commands/update |
## Updating | https://docs.linuxgsm.com/commands/update |
||||
|
|
||||
updateonstart="off" |
updateonstart="off" |
||||
|
|
||||
|
|
||||
|
|
||||
## Backup | https://docs.linuxgsm.com/commands/backup |
## Backup | https://docs.linuxgsm.com/commands/backup |
||||
|
|
||||
maxbackups="4" |
maxbackups="4" |
||||
|
|
||||
maxbackupdays="30" |
maxbackupdays="30" |
||||
|
|
||||
stoponbackup="on" |
stoponbackup="on" |
||||
|
|
||||
|
|
||||
|
|
||||
## Logging | https://docs.linuxgsm.com/features/logging |
## Logging | https://docs.linuxgsm.com/features/logging |
||||
|
|
||||
consolelogging="on" |
consolelogging="on" |
||||
|
|
||||
logdays="7" |
logdays="7" |
||||
|
|
||||
|
|
||||
|
|
||||
#### LinuxGSM Advanced Settings #### |
#### LinuxGSM Advanced Settings #### |
||||
|
|
||||
|
|
||||
|
|
||||
# ANSI Colors |
# ANSI Colors |
||||
|
|
||||
ansi="on" |
ansi="on" |
||||
|
|
||||
|
|
||||
|
|
||||
## SteamCMD Settings |
## SteamCMD Settings |
||||
|
|
||||
# Server appid |
# Server appid |
||||
|
|
||||
appid="1006030" |
appid="1006030" |
||||
|
|
||||
# Steam App Branch Select |
# Steam App Branch Select |
||||
|
|
||||
# Allows to opt into the various Steam app branches. Default branch is "". |
# Allows to opt into the various Steam app branches. Default branch is "". |
||||
|
|
||||
# Example: "-beta latest_experimental" |
# Example: "-beta latest_experimental" |
||||
|
|
||||
branch="" |
branch="" |
||||
|
|
||||
|
|
||||
|
|
||||
## LinuxGSM Server Details |
## LinuxGSM Server Details |
||||
|
|
||||
# Do not edit |
# Do not edit |
||||
|
|
||||
gamename="ATLAS Dedicated Server" |
gamename="ATLAS Dedicated Server" |
||||
|
|
||||
engine="unreal4" |
engine="unreal4" |
||||
|
|
||||
|
|
||||
|
|
||||
#### Directories #### |
#### Directories #### |
||||
|
|
||||
# Edit with care |
# Edit with care |
||||
|
|
||||
|
|
||||
|
|
||||
## Server Specific Directories |
## Server Specific Directories |
||||
|
|
||||
systemdir="${serverfiles}/ShooterGame" |
systemdir="${serverfiles}/ShooterGame" |
||||
|
|
||||
executabledir="${systemdir}/Binaries/Linux" |
executabledir="${systemdir}/Binaries/Linux" |
||||
|
|
||||
executable="./ShooterGameServer" |
executable="./ShooterGameServer" |
||||
|
|
||||
servercfgdir="${systemdir}/Saved/Config/LinuxServer" |
servercfgdir="${systemdir}/Saved/Config/LinuxServer" |
||||
|
|
||||
servercfg="GameUserSettings.ini" |
servercfg="GameUserSettings.ini" |
||||
|
|
||||
servercfgdefault="GameUserSettings.ini" |
servercfgdefault="GameUserSettings.ini" |
||||
|
|
||||
servercfgfullpath="${servercfgdir}/${servercfg}" |
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
|
||||
|
|
||||
## Backup Directory |
## Backup Directory |
||||
|
|
||||
backupdir="${lgsmdir}/backup" |
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
|
||||
|
|
||||
## Logging Directories |
## Logging Directories |
||||
|
|
||||
logdir="${rootdir}/log" |
logdir="${rootdir}/log" |
||||
|
|
||||
gamelogdir="${systemdir}/Saved/Logs" |
gamelogdir="${systemdir}/Saved/Logs" |
||||
|
|
||||
lgsmlogdir="${logdir}/script" |
lgsmlogdir="${logdir}/script" |
||||
|
|
||||
consolelogdir="${logdir}/console" |
consolelogdir="${logdir}/console" |
||||
|
|
||||
lgsmlog="${lgsmlogdir}/${servicename}-script.log" |
lgsmlog="${lgsmlogdir}/${servicename}-script.log" |
||||
|
|
||||
consolelog="${consolelogdir}/${servicename}-console.log" |
consolelog="${consolelogdir}/${servicename}-console.log" |
||||
|
|
||||
alertlog="${lgsmlogdir}/${servicename}-alert.log" |
alertlog="${lgsmlogdir}/${servicename}-alert.log" |
||||
|
|
||||
postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log" |
postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log" |
||||
|
|
||||
|
|
||||
|
|
||||
## Logs Naming |
## Logs Naming |
||||
|
|
||||
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
|
||||
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
@ -1,261 +0,0 @@ |
|||||
################################## |
|
||||
|
|
||||
######## Default Settings ######## |
|
||||
|
|
||||
################################## |
|
||||
|
|
||||
# DO NOT EDIT WILL BE OVERWRITTEN! |
|
||||
|
|
||||
# Copy settings from here and use them in either |
|
||||
|
|
||||
# common.cfg - applies settings to every instance |
|
||||
|
|
||||
# [instance].cfg - applies settings to a specific instance |
|
||||
|
|
||||
|
|
||||
|
|
||||
#### Server Settings #### |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
|
||||
|
|
||||
ip="0.0.0.0" |
|
||||
|
|
||||
port="5755" |
|
||||
|
|
||||
queryport="57555" |
|
||||
|
|
||||
rconport="27030" |
|
||||
|
|
||||
# Default Map: Ocean |
|
||||
|
|
||||
defaultmap="Ocean" |
|
||||
|
|
||||
maxplayers="50" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
||||
|
|
||||
fn_parms(){ |
|
||||
|
|
||||
parms="\"${defaultmap}?AltSaveDirectoryName=${defaultmap}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods\"" |
|
||||
|
|
||||
} |
|
||||
|
|
||||
|
|
||||
|
|
||||
#### LinuxGSM Settings #### |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Notification Alerts |
|
||||
|
|
||||
# (on|off) |
|
||||
|
|
||||
|
|
||||
|
|
||||
# More info | https://docs.linuxgsm.com/alerts#more-info |
|
||||
|
|
||||
postalert="off" |
|
||||
|
|
||||
postdays="7" |
|
||||
|
|
||||
posttarget="https://hastebin.com" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
|
||||
|
|
||||
discordalert="off" |
|
||||
|
|
||||
discordwebhook="webhook" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
|
||||
|
|
||||
emailalert="off" |
|
||||
|
|
||||
email="[email protected]" |
|
||||
|
|
||||
emailfrom="" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
|
||||
|
|
||||
iftttalert="off" |
|
||||
|
|
||||
ifttttoken="accesstoken" |
|
||||
|
|
||||
iftttevent="linuxgsm_alert" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
|
||||
|
|
||||
mailgunalert="off" |
|
||||
|
|
||||
mailguntoken="accesstoken" |
|
||||
|
|
||||
mailgundomain="example.com" |
|
||||
|
|
||||
mailgunemailfrom="[email protected]" |
|
||||
|
|
||||
mailgunemail="[email protected]" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
|
||||
|
|
||||
pushbulletalert="off" |
|
||||
|
|
||||
pushbullettoken="accesstoken" |
|
||||
|
|
||||
channeltag="" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
|
||||
|
|
||||
pushoveralert="off" |
|
||||
|
|
||||
pushovertoken="accesstoken" |
|
||||
|
|
||||
|
|
||||
|
|
||||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
|
||||
|
|
||||
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". |
|
||||
|
|
||||
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need |
|
||||
|
|
||||
# any custom string in curl - simple ignore this parameter. |
|
||||
|
|
||||
telegramalert="off" |
|
||||
|
|
||||
telegramtoken="accesstoken" |
|
||||
|
|
||||
telegramchatid="" |
|
||||
|
|
||||
curlcustomstring="" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Updating | https://docs.linuxgsm.com/commands/update |
|
||||
|
|
||||
updateonstart="off" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Backup | https://docs.linuxgsm.com/commands/backup |
|
||||
|
|
||||
maxbackups="4" |
|
||||
|
|
||||
maxbackupdays="30" |
|
||||
|
|
||||
stoponbackup="on" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Logging | https://docs.linuxgsm.com/features/logging |
|
||||
|
|
||||
consolelogging="on" |
|
||||
|
|
||||
logdays="7" |
|
||||
|
|
||||
|
|
||||
|
|
||||
#### LinuxGSM Advanced Settings #### |
|
||||
|
|
||||
|
|
||||
|
|
||||
# ANSI Colors |
|
||||
|
|
||||
ansi="on" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## SteamCMD Settings |
|
||||
|
|
||||
# Server appid |
|
||||
|
|
||||
appid="1006030" |
|
||||
|
|
||||
# Steam App Branch Select |
|
||||
|
|
||||
# Allows to opt into the various Steam app branches. Default branch is "". |
|
||||
|
|
||||
# Example: "-beta latest_experimental" |
|
||||
|
|
||||
branch="" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## LinuxGSM Server Details |
|
||||
|
|
||||
# Do not edit |
|
||||
|
|
||||
gamename="ATLAS Dedicated Server" |
|
||||
|
|
||||
engine="unreal4" |
|
||||
|
|
||||
|
|
||||
|
|
||||
#### Directories #### |
|
||||
|
|
||||
# Edit with care |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Server Specific Directories |
|
||||
|
|
||||
systemdir="${serverfiles}/ShooterGame" |
|
||||
|
|
||||
executabledir="${systemdir}/Binaries/Linux" |
|
||||
|
|
||||
executable="./ShooterGameServer" |
|
||||
|
|
||||
servercfgdir="${systemdir}/Saved/Config/LinuxServer" |
|
||||
|
|
||||
servercfg="GameUserSettings.ini" |
|
||||
|
|
||||
servercfgdefault="GameUserSettings.ini" |
|
||||
|
|
||||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Backup Directory |
|
||||
|
|
||||
backupdir="${lgsmdir}/backup" |
|
||||
|
|
||||
|
|
||||
|
|
||||
## Logging Directories |
|
||||
|
|
||||
logdir="${rootdir}/log" |
|
||||
|
|
||||
gamelogdir="${systemdir}/Saved/Logs" |
|
||||
|
|
||||
lgsmlogdir="${logdir}/script" |
|
||||
|
|
||||
consolelogdir="${logdir}/console" |
|
||||
|
|
||||
lgsmlog="${lgsmlogdir}/${servicename}-script.log" |
|
||||
|
|
||||
consolelog="${consolelogdir}/${servicename}-console.log" |
|
||||
|
|
||||
alertlog="${lgsmlogdir}/${servicename}-alert.log" |
|
||||
|
|
||||
postdetailslog="${lgsmlogdir}/${servicename}-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" |
|
Loading…
Reference in new issue