334 changed files with 22043 additions and 329 deletions
@ -0,0 +1,74 @@ |
|||||
|
name: Details Check |
||||
|
# This action will check that LinuxGSM is picking up game server config and parameter variables. |
||||
|
on: |
||||
|
workflow_dispatch: |
||||
|
push: |
||||
|
|
||||
|
jobs: |
||||
|
create-matrix: |
||||
|
runs-on: ubuntu-latest |
||||
|
outputs: |
||||
|
matrix: ${{ steps.set-matrix.outputs.matrix }} |
||||
|
steps: |
||||
|
- name: Checkout |
||||
|
uses: actions/checkout@v3 |
||||
|
|
||||
|
- name: Generate matrix with generate-matrix.sh |
||||
|
run: chmod +x .github/workflows/detals-check-generate-matrix.sh; .github/workflows/detals-check-generate-matrix.sh |
||||
|
|
||||
|
- id: set-matrix |
||||
|
run: | |
||||
|
shortnamearray=$(cat shortnamearray.json) |
||||
|
echo "${shortnamearray}" |
||||
|
echo -n "matrix=${shortnamearray}" >> $GITHUB_OUTPUT |
||||
|
|
||||
|
details-check: |
||||
|
needs: create-matrix |
||||
|
continue-on-error: true |
||||
|
runs-on: ubuntu-latest |
||||
|
|
||||
|
strategy: |
||||
|
matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }} |
||||
|
|
||||
|
steps: |
||||
|
- name: Install dependencies |
||||
|
run: sudo apt-get install libxml2-utils jq |
||||
|
|
||||
|
- name: Download linuxgsm.sh |
||||
|
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh |
||||
|
|
||||
|
- name: Grab server |
||||
|
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./linuxgsm.sh ${{ matrix.shortname }}server |
||||
|
|
||||
|
- name: Enable developer mode |
||||
|
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server developer |
||||
|
|
||||
|
- id: sets-servercfgname |
||||
|
name: Generate servercfgname |
||||
|
run: | |
||||
|
servercfg=$(sed -n "/^\<servercfgdefault\>/ { s/.*= *\"\?\([^\"']*\)\"\?/\1/p;q }" lgsm/config-lgsm/${{ matrix.shortname }}server/_default.cfg) |
||||
|
echo "servercfgname=$servercfg" >> "$GITHUB_OUTPUT" |
||||
|
|
||||
|
- name: Download config |
||||
|
run: | |
||||
|
if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then |
||||
|
echo "This game server has no config file." |
||||
|
else |
||||
|
curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/rename/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}" |
||||
|
fi |
||||
|
- name: Display config |
||||
|
run: | |
||||
|
if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then |
||||
|
echo "This game server has no config file." |
||||
|
else |
||||
|
cat config |
||||
|
fi |
||||
|
|
||||
|
- name: Display parameters |
||||
|
run: grep "startparameters" lgsm/config-default/config-lgsm/${{ matrix.shortname }}server/_default.cfg |
||||
|
|
||||
|
- name: Detect details |
||||
|
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server detect-details |
||||
|
|
||||
|
- name: Query Raw |
||||
|
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server query-raw |
@ -0,0 +1,25 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
curl "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/serverlist.csv" | grep -v '^[[:blank:]]*$' > serverlist.csv |
||||
|
|
||||
|
echo -n "{" > "shortnamearray.json" |
||||
|
echo -n "\"include\":[" >> "shortnamearray.json" |
||||
|
|
||||
|
while read -r line; do |
||||
|
shortname=$(echo "$line" | awk -F, '{ print $1 }') |
||||
|
export shortname |
||||
|
servername=$(echo "$line" | awk -F, '{ print $2 }') |
||||
|
export servername |
||||
|
gamename=$(echo "$line" | awk -F, '{ print $3 }') |
||||
|
export gamename |
||||
|
distro=$(echo "$line" | awk -F, '{ print $4 }') |
||||
|
export distro |
||||
|
echo -n "{" >> "shortnamearray.json" |
||||
|
echo -n "\"shortname\":" >> "shortnamearray.json" |
||||
|
echo -n "\"${shortname}\"" >> "shortnamearray.json" |
||||
|
echo -n "}," >> "shortnamearray.json" |
||||
|
done < serverlist.csv |
||||
|
sed -i '$ s/.$//' "shortnamearray.json" |
||||
|
echo -n "]" >> "shortnamearray.json" |
||||
|
echo -n "}" >> "shortnamearray.json" |
||||
|
rm serverlist.csv |
@ -0,0 +1,22 @@ |
|||||
|
#!/bin/bash |
||||
|
echo "Checking that all the game servers are listed in all csv files" |
||||
|
echo "this check will ensure serverlist.csv has the same number of lines (-2 lines) as the other csv files" |
||||
|
# count the number of lines in the serverlist.csv |
||||
|
cd "lgsm/data" || exit |
||||
|
serverlistcount="$(wc -l < serverlist.csv)" |
||||
|
echo "serverlistcount: $serverlistcount" |
||||
|
# get list of all csv files starting with ubunutu debian centos |
||||
|
csvlist="$(ls -1 | grep -E '^(ubuntu|debian|centos|rhel|almalinux|rocky).*\.csv$')" |
||||
|
# loop though each csv file and make sure the number of lines is the same as the serverlistcount |
||||
|
for csv in $csvlist; do |
||||
|
csvcount="$(wc -l < "${csv}")" |
||||
|
csvcount=$((csvcount-2)) |
||||
|
if [ "$csvcount" -ne "$serverlistcount" ]; then |
||||
|
echo "ERROR: $csv ($csvcount) does not match serverlist.csv ($serverlistcount)" |
||||
|
exitcode=1 |
||||
|
else |
||||
|
echo "OK: $csv ($csvcount) and serverlist.csv ($serverlistcount) match" |
||||
|
fi |
||||
|
done |
||||
|
|
||||
|
exit ${exitcode} |
@ -0,0 +1,13 @@ |
|||||
|
name: Server list Validation |
||||
|
on: |
||||
|
workflow_dispatch: |
||||
|
push: |
||||
|
|
||||
|
jobs: |
||||
|
serverlist-validate: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- uses: actions/checkout@v3 |
||||
|
|
||||
|
- name: compare versions |
||||
|
run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh |
@ -1,26 +1,15 @@ |
|||||
# This is a basic workflow to help you get started with Actions |
|
||||
|
|
||||
name: Version Check |
name: Version Check |
||||
|
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request |
|
||||
# events but only for the master branch |
|
||||
on: push |
on: push |
||||
|
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
|
||||
permissions: |
permissions: |
||||
contents: read |
contents: read |
||||
|
|
||||
jobs: |
jobs: |
||||
# This workflow contains a single job called "build" |
version-Check: |
||||
Version-Check: |
|
||||
# The type of runner that the job will run on |
|
||||
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
||||
|
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job |
|
||||
steps: |
steps: |
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
|
||||
- uses: actions/checkout@v3 |
- uses: actions/checkout@v3 |
||||
|
|
||||
# Runs a single command using the runners shell |
|
||||
- name: compare versions |
- name: compare versions |
||||
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh |
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh |
||||
|
@ -0,0 +1,182 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# DO NOT EDIT, ANY CHANGES 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
|
startparameters="-batchmode -showlogs" |
||||
|
|
||||
|
#### LinuxGSM Settings #### |
||||
|
|
||||
|
## LinuxGSM Stats |
||||
|
# Send useful stats to LinuxGSM developers. |
||||
|
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
||||
|
# (on|off) |
||||
|
stats="off" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
# 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="" |
||||
|
|
||||
|
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
||||
|
gotifyalert="off" |
||||
|
gotifytoken="token" |
||||
|
gotifywebhook="webhook" |
||||
|
|
||||
|
# 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" |
||||
|
mailgunapiregion="us" |
||||
|
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" |
||||
|
pushoveruserkey="userkey" |
||||
|
|
||||
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
||||
|
rocketchatalert="off" |
||||
|
rocketchatwebhook="webhook" |
||||
|
rocketchattoken="" |
||||
|
|
||||
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
||||
|
slackalert="off" |
||||
|
slackwebhook="webhook" |
||||
|
|
||||
|
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
||||
|
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramapi="api.telegram.org" |
||||
|
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" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
|
# Server appid |
||||
|
appid="1670340" |
||||
|
steamcmdforcewindows="no" |
||||
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
||||
|
branch="" |
||||
|
betapassword="" |
||||
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
||||
|
steammaster="false" |
||||
|
|
||||
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
||||
|
# 1: tmux kill |
||||
|
# 2: CTRL+c |
||||
|
# 3: quit |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="5" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="1" |
||||
|
querytype="" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="no" |
||||
|
consoleinteract="yes" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="Craftopia" |
||||
|
engine="unity3d" |
||||
|
glibc="2.17" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}" |
||||
|
executabledir="${serverfiles}" |
||||
|
executable="./Craftopia.x86_64" |
||||
|
servercfgdir="${systemdir}" |
||||
|
servercfg="ServerSetting.ini" |
||||
|
servercfgdefault="ServerSetting.ini" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
## Logging Directories |
||||
|
logdir="${rootdir}/log" |
||||
|
#gamelogdir="${serverfiles}" |
||||
|
lgsmlogdir="${logdir}/script" |
||||
|
consolelogdir="${logdir}/console" |
||||
|
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 |
||||
|
gamelogdate="${gamelogdir}/${selfname}-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" |
@ -0,0 +1,199 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# DO NOT EDIT, ANY CHANGES 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters |
||||
|
defaultmap="KidsBedroom" |
||||
|
ip="0.0.0.0" |
||||
|
maxplayers="8" |
||||
|
port="7777" |
||||
|
queryport="27015" |
||||
|
servername="LinuxGSM" |
||||
|
|
||||
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
|
startparameters="${defaultmap}?Difficulty=1?Game=DM?MapList=KidsBedroom,Playground,Garden,Hallway_Simple,Bathroom,Hallway_Hard,Attic_Daytime,Shed,ToyPalace,Kitchen,Garage?MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600?ScoreLimit=30?Teamplay -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended" |
||||
|
|
||||
|
## Server Parameters for Plague mode |
||||
|
#startparameters="${defaultmap}?Game=PL?MapList=KidsBedroom,Garden,Hallway_Simple,Attic_Daytime,Garage,Shed,Kitchen,Hallway_Hard,ToyPalace,Bathroom?MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600 -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended" |
||||
|
|
||||
|
## Server Parameters for Co-op mode |
||||
|
#startparameters="${defaultmap}?Difficulty=1?Game=WV?MapList=KidsBedroom?MaxPlayers=4 -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended" |
||||
|
|
||||
|
|
||||
|
#### LinuxGSM Settings #### |
||||
|
|
||||
|
## LinuxGSM Stats |
||||
|
# Send useful stats to LinuxGSM developers. |
||||
|
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
||||
|
# (on|off) |
||||
|
stats="off" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
# 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="" |
||||
|
|
||||
|
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
||||
|
gotifyalert="off" |
||||
|
gotifytoken="token" |
||||
|
gotifywebhook="webhook" |
||||
|
|
||||
|
# 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" |
||||
|
mailgunapiregion="us" |
||||
|
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" |
||||
|
pushoveruserkey="userkey" |
||||
|
|
||||
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
||||
|
rocketchatalert="off" |
||||
|
rocketchatwebhook="webhook" |
||||
|
rocketchattoken="" |
||||
|
|
||||
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
||||
|
slackalert="off" |
||||
|
slackwebhook="webhook" |
||||
|
|
||||
|
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
||||
|
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramapi="api.telegram.org" |
||||
|
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="5" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
|
# Server appid |
||||
|
appid="1045940" |
||||
|
steamcmdforcewindows="no" |
||||
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
||||
|
branch="" |
||||
|
betapassword="" |
||||
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
||||
|
steammaster="false" |
||||
|
|
||||
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
||||
|
# 1: tmux kill |
||||
|
# 2: CTRL+c |
||||
|
# 3: quit |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="2" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="1" |
||||
|
querytype="" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="no" |
||||
|
consoleinteract="no" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="HYPERCHARGE: Unboxed" |
||||
|
engine="unreal4" |
||||
|
glibc="2.17" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}/Unboxed" |
||||
|
executabledir="${systemdir}/Binaries/Linux" |
||||
|
executable="./UnboxedServer-Linux-Shipping" |
||||
|
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}/${selfname}-script.log" |
||||
|
consolelog="${consolelogdir}/${selfname}-console.log" |
||||
|
alertlog="${lgsmlogdir}/${selfname}-alert.log" |
||||
|
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
||||
|
|
||||
|
## Logs Naming |
||||
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
|
||||
|
## Log Parameters |
||||
|
logtimestamp="off" |
||||
|
logtimestampformat="%Y-%m-%d %H:%M:%S" |
@ -0,0 +1,191 @@ |
|||||
|
################################## |
||||
|
######## Default Settings ######## |
||||
|
################################## |
||||
|
# DO NOT EDIT, ANY CHANGES 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. |
||||
|
|
||||
|
#### Game Server Settings #### |
||||
|
|
||||
|
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters |
||||
|
ip="0.0.0.0" |
||||
|
port="7777" |
||||
|
queryport="27005" |
||||
|
servername="LinuxGSM Server" |
||||
|
serverpassword="" |
||||
|
# Maps: risala, khafji_p, lamdong, montecassino, argonne |
||||
|
defaultmap="AAS-TestMap" |
||||
|
maxplayers="16" |
||||
|
|
||||
|
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
|
startparameters="${defaultmap}?MaxPlayers=${maxplayers}?Password=${serverpassword} -Port=${port} -QueryPort=${queryport} -SteamServerName='${servername}' -log" |
||||
|
|
||||
|
#### LinuxGSM Settings #### |
||||
|
|
||||
|
## LinuxGSM Stats |
||||
|
# Send useful stats to LinuxGSM developers. |
||||
|
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
||||
|
# (on|off) |
||||
|
stats="off" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
# 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="" |
||||
|
|
||||
|
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
||||
|
gotifyalert="off" |
||||
|
gotifytoken="token" |
||||
|
gotifywebhook="webhook" |
||||
|
|
||||
|
# 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" |
||||
|
mailgunapiregion="us" |
||||
|
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" |
||||
|
pushoveruserkey="userkey" |
||||
|
|
||||
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
||||
|
rocketchatalert="off" |
||||
|
rocketchatwebhook="webhook" |
||||
|
rocketchattoken="" |
||||
|
|
||||
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
||||
|
slackalert="off" |
||||
|
slackwebhook="webhook" |
||||
|
|
||||
|
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
||||
|
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
||||
|
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
|
telegramapi="api.telegram.org" |
||||
|
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" |
||||
|
|
||||
|
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
||||
|
ansi="on" |
||||
|
|
||||
|
#### Advanced Settings #### |
||||
|
|
||||
|
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
||||
|
sleeptime="0.5" |
||||
|
|
||||
|
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
|
# Server appid |
||||
|
appid="950900" |
||||
|
steamcmdforcewindows="no" |
||||
|
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
||||
|
branch="" |
||||
|
betapassword="" |
||||
|
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
||||
|
steammaster="false" |
||||
|
|
||||
|
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
||||
|
# 1: tmux kill |
||||
|
# 2: CTRL+c |
||||
|
# 3: quit |
||||
|
# 4: quit 120s |
||||
|
# 5: stop |
||||
|
# 6: q |
||||
|
# 7: exit |
||||
|
# 8: 7 Days to Die |
||||
|
# 9: GoldSrc |
||||
|
# 10: Avorion |
||||
|
# 11: end |
||||
|
stopmode="2" |
||||
|
|
||||
|
## Query mode |
||||
|
# 1: session only |
||||
|
# 2: gamedig (gsquery fallback) |
||||
|
# 3: gamedig |
||||
|
# 4: gsquery |
||||
|
# 5: tcp |
||||
|
querymode="2" |
||||
|
querytype="protocol-valve" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="yes" |
||||
|
consoleinteract="no" |
||||
|
|
||||
|
## Game Server Details |
||||
|
# Do not edit |
||||
|
gamename="Operation: Harsh Doorstop" |
||||
|
engine="unreal4" |
||||
|
glibc="2.17" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Game Server Directories |
||||
|
systemdir="${serverfiles}/HarshDoorstop" |
||||
|
executabledir="${systemdir}/Binaries/Linux" |
||||
|
executable="./HarshDoorstopServer-Linux-Shipping" |
||||
|
servercfgdir="${systemdir}/Saved/Config/LinuxServer" |
||||
|
servercfg="Game.ini" |
||||
|
servercfgdefault="Game.ini" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${lgsmdir}/backup" |
||||
|
|
||||
|
## Logging Directories |
||||
|
logdir="${rootdir}/log" |
||||
|
gamelogdir="${systemdir}/Saved/Logs" |
||||
|
lgsmlogdir="${logdir}/script" |
||||
|
consolelogdir="${logdir}/console" |
||||
|
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}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
||||
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 7.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue