189 changed files with 2981 additions and 1713 deletions
@ -1,6 +1,6 @@ |
|||
# Description |
|||
|
|||
Please include a summary of the change and which issue is fixed. |
|||
Please include a summary of the change and which issues is fixed |
|||
|
|||
Fixes #[issue] |
|||
|
|||
@ -11,18 +11,19 @@ Fixes #[issue] |
|||
* [ ] New Server (new server added). |
|||
* [ ] Refactor (restructures existing code). |
|||
* [ ] Comment update (typo, spelling, explanation, examples, etc). |
|||
* [ ] This change requires a documentation update. |
|||
|
|||
## Checklist |
|||
|
|||
* [ ] This code follows the style guidelines of this project. |
|||
PR will not be merged until all steps are complete. |
|||
|
|||
* [ ] This pull request links to an issue. |
|||
* [ ] This pull request uses the `develop` branch as its base. |
|||
* [ ] This code follows the style guidelines of this project. |
|||
* [ ] I have provided Co-author details below. |
|||
* [ ] I have performed a self-review of my own code. |
|||
* [ ] I have squashed commits. |
|||
* [ ] I have commented my code, particularly in hard to understand areas. |
|||
* [ ] I have made corresponding changes to the documentation if required. |
|||
* [ ] I have checked that this code is commented where required. |
|||
* [ ] I have provided a detailed enough description of this PR. |
|||
* [ ] I have checked If documentation needs updating. |
|||
|
|||
## Provide Github Email |
|||
|
|||
@ -33,8 +34,15 @@ Co-authored-by: John Doe <[email protected]> |
|||
|
|||
- [ ] I do not wish to provide an email. I am aware this will hide me as the author of this commit. |
|||
|
|||
|
|||
All pull requests will now be squashed to create a tidy commit history and simplify changelog creation. You can provide either your own email or a GitHub-provided no-reply email. |
|||
|
|||
When a PR is squashed the author becomes the person who squashed the PR. This removes you as the author of your own PR. |
|||
The only workaround for this is to add your details as a co-author. More info about co-authors can be found [here](https://help.github.com/en/articles/creating-a-commit-with-multiple-authors). |
|||
|
|||
## Documentation |
|||
|
|||
If documentation does need updating either update it by creating a PR (preferred) or request a documentation update. |
|||
* User docs: https://github.com/GameServerManagers/LinuxGSM-Docs |
|||
* Dev docs: https://github.com/GameServerManagers/LinuxGSM-Dev-Docs |
|||
|
|||
**Thank you for your Pull Request!** |
@ -0,0 +1,137 @@ |
|||
################################## |
|||
######## 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 #### |
|||
|
|||
## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login |
|||
steamuser="username" |
|||
steampass='password' |
|||
|
|||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|||
fn_parms(){ |
|||
parms="" |
|||
} |
|||
|
|||
#### LinuxGSM Settings #### |
|||
|
|||
## Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
|||
displayip="" |
|||
|
|||
# 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" |
|||
|
|||
## Monitor | https://docs.linuxgsm.com/commands/monitor |
|||
# Query delay time |
|||
querydelay="1" |
|||
|
|||
#### LinuxGSM Advanced Settings #### |
|||
|
|||
# ANSI Colors |
|||
ansi="on" |
|||
|
|||
# Message Display Time |
|||
sleeptime="0.5" |
|||
|
|||
## SteamCMD Settings |
|||
# Server appid |
|||
appid="602960" |
|||
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
|||
branch="" |
|||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
|||
steammaster="true" |
|||
|
|||
## LinuxGSM Server Details |
|||
# Do not edit |
|||
gamename="Barotrauma" |
|||
engine="barotrauma" |
|||
glibc="2.17" |
|||
|
|||
#### Directories #### |
|||
# Edit with care |
|||
|
|||
## Server Specific Directories |
|||
systemdir="${serverfiles}" |
|||
executabledir="${systemdir}" |
|||
executable="./DedicatedServer" |
|||
servercfg="serversettings.xml" |
|||
servercfgdefault="serversettings.xml" |
|||
servercfgdir="${systemdir}" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
|
|||
## Backup Directory |
|||
backupdir="${lgsmdir}/backups" |
|||
|
|||
## Logging Directories |
|||
logdir="${rootdir}/log" |
|||
gamelogdir="${systemdir}/ServerLogs" |
|||
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" |
@ -0,0 +1,127 @@ |
|||
################################## |
|||
######## 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="20100" |
|||
defaultmap="mp_shop" |
|||
|
|||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|||
fn_parms(){ |
|||
parms="+set sv_punkbuster 0 +set dedicated 2 +set net_ip ${ip} +set net_port ${port} +exec ${servercfg} +map ${defaultmap}" |
|||
} |
|||
|
|||
#### LinuxGSM Settings #### |
|||
|
|||
## Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
|||
displayip="" |
|||
|
|||
# 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="" |
|||
|
|||
## Backup | https://docs.linuxgsm.com/commands/backup |
|||
maxbackups="4" |
|||
maxbackupdays="30" |
|||
stoponbackup="on" |
|||
|
|||
## Logging | https://docs.linuxgsm.com/features/logging |
|||
consolelogging="on" |
|||
logdays="7" |
|||
|
|||
## Monitor | https://docs.linuxgsm.com/commands/monitor |
|||
# Query delay time |
|||
querydelay="1" |
|||
|
|||
#### LinuxGSM Advanced Settings #### |
|||
|
|||
# ANSI Colors |
|||
ansi="on" |
|||
|
|||
# Message Display Time |
|||
sleeptime="0.5" |
|||
|
|||
## LinuxGSM Server Details |
|||
# Do not edit |
|||
gamename="Soldier Of Fortune 2: Gold Edition" |
|||
engine="idtech3" |
|||
glibc="2.1" |
|||
|
|||
#### Directories #### |
|||
# Edit with care |
|||
|
|||
## Server Specific Directories |
|||
systemdir="${serverfiles}/main" |
|||
executabledir="${serverfiles}" |
|||
executable="./sof2ded" |
|||
servercfg="${servicename}.cfg" |
|||
servercfgdefault="server.cfg" |
|||
servercfgdir="${systemdir}" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
|
|||
## Backup Directory |
|||
backupdir="${rootdir}/backups" |
|||
|
|||
## Logging Directories |
|||
logdir="${rootdir}/log" |
|||
gamelogdir="${serverfiles}/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" |
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue