Browse Source

Merge branch 'develop' into fix/monitor-exitcode

pull/4155/head
Daniel Gibbs 2 years ago
parent
commit
a244dc3488
  1. 1
      .github/ISSUE_TEMPLATE/bug_report.yml
  2. 1
      .github/ISSUE_TEMPLATE/feature_request.yml
  3. 2
      .github/workflows/add-to-project.yml
  4. 74
      .github/workflows/details-check.yml
  5. 25
      .github/workflows/detals-check-generate-matrix.sh
  6. 2
      .github/workflows/labeler.yml
  7. 22
      .github/workflows/serverlist-validate.sh
  8. 13
      .github/workflows/serverlist-validate.yml
  9. 2
      .github/workflows/update-copyright-years-in-license-file.yml
  10. 2
      .github/workflows/version-check.sh
  11. 13
      .github/workflows/version-check.yml
  12. 0
      .prettierrc
  13. 17
      .vscode/extensions.json
  14. 2
      README.md
  15. 3
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  16. 2
      lgsm/config-default/config-lgsm/kf2server/_default.cfg
  17. 3
      lgsm/config-default/config-lgsm/momserver/_default.cfg
  18. 4
      lgsm/config-default/config-lgsm/necserver/_default.cfg
  19. 8
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  20. 8
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  21. 2
      lgsm/config-default/config-lgsm/pc2server/_default.cfg
  22. 2
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  23. 6
      lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  24. 3
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  25. 2
      lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
  26. 10
      lgsm/config-default/config-lgsm/stserver/_default.cfg
  27. 5
      lgsm/config-default/config-lgsm/tiserver/_default.cfg
  28. 4
      lgsm/config-default/config-lgsm/vhserver/_default.cfg
  29. 5
      lgsm/data/almalinux-8.csv
  30. 5
      lgsm/data/almalinux-9.csv
  31. 5
      lgsm/data/centos-7.csv
  32. 5
      lgsm/data/centos-8.csv
  33. 5
      lgsm/data/centos-9.csv
  34. 5
      lgsm/data/debian-10.csv
  35. 5
      lgsm/data/debian-11.csv
  36. 132
      lgsm/data/debian-12.csv
  37. 5
      lgsm/data/debian-9.csv
  38. 5
      lgsm/data/rhel-7.csv
  39. 5
      lgsm/data/rhel-8.csv
  40. 5
      lgsm/data/rhel-9.csv
  41. 5
      lgsm/data/rocky-8.csv
  42. 5
      lgsm/data/rocky-9.csv
  43. 3
      lgsm/data/serverlist.csv
  44. 3
      lgsm/data/ubuntu-16.04.csv
  45. 5
      lgsm/data/ubuntu-18.04.csv
  46. 5
      lgsm/data/ubuntu-20.04.csv
  47. 5
      lgsm/data/ubuntu-21.04.csv
  48. 9
      lgsm/data/ubuntu-21.10.csv
  49. 5
      lgsm/data/ubuntu-22.04.csv
  50. 0
      lgsm/functions/README.md
  51. 0
      lgsm/functions/alert.sh
  52. 0
      lgsm/functions/alert_discord.sh
  53. 0
      lgsm/functions/alert_email.sh
  54. 0
      lgsm/functions/alert_ifttt.sh
  55. 0
      lgsm/functions/alert_mailgun.sh
  56. 0
      lgsm/functions/alert_pushbullet.sh
  57. 0
      lgsm/functions/alert_pushover.sh
  58. 0
      lgsm/functions/alert_rocketchat.sh
  59. 0
      lgsm/functions/alert_slack.sh
  60. 0
      lgsm/functions/alert_telegram.sh
  61. 2
      lgsm/functions/check.sh
  62. 0
      lgsm/functions/check_config.sh
  63. 0
      lgsm/functions/check_deps.sh
  64. 0
      lgsm/functions/check_executable.sh
  65. 0
      lgsm/functions/check_glibc.sh
  66. 18
      lgsm/functions/check_ip.sh
  67. 0
      lgsm/functions/check_last_update.sh
  68. 0
      lgsm/functions/check_logs.sh
  69. 0
      lgsm/functions/check_permissions.sh
  70. 0
      lgsm/functions/check_root.sh
  71. 0
      lgsm/functions/check_status.sh
  72. 0
      lgsm/functions/check_steamcmd.sh
  73. 0
      lgsm/functions/check_system_dir.sh
  74. 0
      lgsm/functions/check_system_requirements.sh
  75. 0
      lgsm/functions/check_tmuxception.sh
  76. 0
      lgsm/functions/check_version.sh
  77. 2
      lgsm/functions/command_check_update.sh
  78. 0
      lgsm/functions/command_console.sh
  79. 0
      lgsm/functions/command_debug.sh
  80. 0
      lgsm/functions/command_details.sh
  81. 0
      lgsm/functions/command_dev_clear_functions.sh
  82. 0
      lgsm/functions/command_dev_debug.sh
  83. 0
      lgsm/functions/command_dev_detect_deps.sh
  84. 0
      lgsm/functions/command_dev_detect_glibc.sh
  85. 0
      lgsm/functions/command_dev_detect_ldd.sh
  86. 0
      lgsm/functions/command_dev_query_raw.sh
  87. 0
      lgsm/functions/command_donate.sh
  88. 0
      lgsm/functions/command_fastdl.sh
  89. 0
      lgsm/functions/command_install.sh
  90. 0
      lgsm/functions/command_install_resources_mta.sh
  91. 0
      lgsm/functions/command_mods_install.sh
  92. 0
      lgsm/functions/command_mods_remove.sh
  93. 0
      lgsm/functions/command_mods_update.sh
  94. 22
      lgsm/functions/command_monitor.sh
  95. 0
      lgsm/functions/command_postdetails.sh
  96. 0
      lgsm/functions/command_restart.sh
  97. 0
      lgsm/functions/command_start.sh
  98. 0
      lgsm/functions/command_test_alert.sh
  99. 0
      lgsm/functions/command_ts3_server_pass.sh
  100. 0
      lgsm/functions/command_update.sh

1
.github/ISSUE_TEMPLATE/bug_report.yml

@ -34,6 +34,7 @@ body:
- Ubuntu 20.04 - Ubuntu 20.04
- Ubuntu 18.04 - Ubuntu 18.04
- Ubuntu 16.04 - Ubuntu 16.04
- Debian 12
- Debian 11 - Debian 11
- Debian 10 - Debian 10
- Debian 9 - Debian 9

1
.github/ISSUE_TEMPLATE/feature_request.yml

@ -34,6 +34,7 @@ body:
- Ubuntu 20.04 - Ubuntu 20.04
- Ubuntu 18.04 - Ubuntu 18.04
- Ubuntu 16.04 - Ubuntu 16.04
- Debian 12
- Debian 11 - Debian 11
- Debian 10 - Debian 10
- Debian 9 - Debian 9

2
.github/workflows/add-to-project.yml

@ -10,7 +10,7 @@ jobs:
name: Add game server requests to project name: Add game server requests to project
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/add-to-project@v0.4.1 - uses: actions/add-to-project@v0.5.0
with: with:
project-url: https://github.com/orgs/GameServerManagers/projects/11 project-url: https://github.com/orgs/GameServerManagers/projects/11
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

74
.github/workflows/details-check.yml

@ -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

25
.github/workflows/detals-check-generate-matrix.sh

@ -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

2
.github/workflows/labeler.yml

@ -15,7 +15,7 @@ jobs:
issues: write # for github/issue-labeler to create or remove labels issues: write # for github/issue-labeler to create or remove labels
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: github/issue-labeler@v2.5 - uses: github/issue-labeler@v3.1
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml configuration-path: .github/labeler.yml

22
.github/workflows/serverlist-validate.sh

@ -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}

13
.github/workflows/serverlist-validate.yml

@ -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

2
.github/workflows/update-copyright-years-in-license-file.yml

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v2 - uses: FantasticFiasco/action-update-license-year@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
path: LICENSE.md path: LICENSE.md

2
.github/workflows/version-check.sh

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
version=$(grep "version=" linuxgsm.sh | sed -e 's/version//g' | tr -d '="') version=$(grep "version=" linuxgsm.sh | sed -e 's/version//g' | tr -d '="')
modulesversion=$(grep "modulesversion=" lgsm/functions/core_functions.sh | sed -e 's/modulesversion//g' | tr -d '="') modulesversion=$(grep "modulesversion=" lgsm/modules/core_modules.sh | sed -e 's/modulesversion//g' | tr -d '="')
if [ "${version}" != "${modulesversion}" ]; then if [ "${version}" != "${modulesversion}" ]; then
echo "Error! LinuxGSM version mismatch" echo "Error! LinuxGSM version mismatch"

13
.github/workflows/version-check.yml

@ -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
.prettierrc.json → .prettierrc

17
.vscode/extensions.json

@ -1,11 +1,10 @@
{ {
"recommendations": [ "recommendations": [
"ms-python.python", "ms-python.python",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"yzhang.markdown-all-in-one", "yzhang.markdown-all-in-one",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"timonwong.shellcheck", "timonwong.shellcheck",
"foxundermoon.shell-format", "redhat.vscode-yaml"
"redhat.vscode-yaml" ]
]
} }

2
README.md

@ -1,7 +1,7 @@
<p align="center"> <p align="center">
<a href="https://linuxgsm.com"><img src="https://i.imgur.com/Eoh1jsi.jpg" alt="LinuxGSM"> <a href="https://linuxgsm.com"><img src="https://i.imgur.com/Eoh1jsi.jpg" alt="LinuxGSM">
<a href="https://www.codacy.com/gh/GameServerManagers/LinuxGSM/dashboard"><img src="https://img.shields.io/codacy/grade/d19c5234dc3743d8a8a14093711ca52d?style=flat-square&logo=codacy&logoColor=white" alt="Codacy grade"></a> <a href="https://www.codacy.com/gh/GameServerManagers/LinuxGSM/dashboard"><img src="https://img.shields.io/codacy/grade/d19c5234dc3743d8a8a14093711ca52d?style=flat-square&logo=codacy&logoColor=white" alt="Codacy grade"></a>
<a href="https://bitbucket.org/GameServerManagers/linuxgsm"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/GameServerManagers/LinuxGSM/Github%20to%20Bitbucket%20sync?color=%230052CC&label=Backup&logo=bitbucket&style=flat-square"></a> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/GameServerManagers/LinuxGSM/git-sync.yml?color=0052CC&logo=bitbucket&style=flat-square">
<a href="https://linuxgsm.com/discord"><img alt="Discord" src="https://img.shields.io/discord/127498813903601664?color=5865F2&label=%20&logo=discord&logoColor=ffffff&style=flat-square"></a> <a href="https://linuxgsm.com/discord"><img alt="Discord" src="https://img.shields.io/discord/127498813903601664?color=5865F2&label=%20&logo=discord&logoColor=ffffff&style=flat-square"></a>
<a href="https://developer.valvesoftware.com/wiki/SteamCMD"><img src="https://img.shields.io/badge/SteamCMD-000000?style=flat-square&amp;logo=Steam&amp;logoColor=white" alt="SteamCMD"></a> <a href="https://developer.valvesoftware.com/wiki/SteamCMD"><img src="https://img.shields.io/badge/SteamCMD-000000?style=flat-square&amp;logo=Steam&amp;logoColor=white" alt="SteamCMD"></a>
<a href="https://github.com/GameServerManagers/LinuxGSM/blob/main/LICENSE"><img src="https://img.shields.io/github/license/gameservermanagers/LinuxGSM?style=flat-square" alt="MIT License"></a> <a href="https://github.com/GameServerManagers/LinuxGSM/blob/main/LICENSE"><img src="https://img.shields.io/github/license/gameservermanagers/LinuxGSM?style=flat-square" alt="MIT License"></a>

3
lgsm/config-default/config-lgsm/hwserver/_default.cfg

@ -16,7 +16,6 @@ queryport="12881"
maxplayers="20" maxplayers="20"
defaultmap="" # Optional defaultmap="" # Optional
creativemode="0" # Free Build: creativemode="1" creativemode="0" # Free Build: creativemode="1"
gamelog="gamelog.txt"
## Add admins using STEAMID64 ## Add admins using STEAMID64
# Example : addadmin 012345678901234567; addadmin 987654321098765432 # Example : addadmin 012345678901234567; addadmin 987654321098765432
@ -28,7 +27,7 @@ loadsave=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server # Edit with care | http://hurtworld.wikia.com/wiki/Hosting_A_Server
startparameters="-batchmode -nographics -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\"" startparameters="-batchmode -nographics -logfile ${gamelog} -exec \"host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

2
lgsm/config-default/config-lgsm/kf2server/_default.cfg

@ -121,7 +121,7 @@ steamcmdforcewindows="no"
branch="" branch=""
betapassword="" betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false" steammaster="true"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill # 1: tmux kill

3
lgsm/config-default/config-lgsm/momserver/_default.cfg

@ -12,10 +12,9 @@
ip="0.0.0.0" ip="0.0.0.0"
port="7777" port="7777"
beaconport="15000" beaconport="15000"
maxplayers="32"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-port="${port}" -beaconport="${beaconport}" -MULTIHOME="${ip}" -maxplayers=${maxplayers}" startparameters="-port="${port}" -beaconport="${beaconport}" -MULTIHOME="${ip}""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

4
lgsm/config-default/config-lgsm/necserver/_default.cfg

@ -139,8 +139,8 @@ stopmode="2"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="2" querymode="1"
querytype="protocol-valve" querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"

8
lgsm/config-default/config-lgsm/ns2cserver/_default.cfg

@ -14,9 +14,9 @@ port="27015"
defaultmap="co_core" defaultmap="co_core"
maxplayers="24" maxplayers="24"
servername="LinuxGSM Server" servername="LinuxGSM Server"
webadminuser="admin" httpuser="admin"
webadminpass="admin" httppassword="admin"
webadminport="8080" httpport="8080"
mods="" mods=""
serverpassword="" serverpassword=""
# Add the following line to the parms if you want a private server. Ensuring # Add the following line to the parms if you want a private server. Ensuring
@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\" # -password \"${serverpassword}\"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${webadminuser} -webpassword \"${webadminpass}\" -webport ${webadminport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -modstorage \"${modstoragedir}\" -mods \"${mods}\"" startparameters="-name \"${servername}\" -port ${port} -webinterface -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -modstorage \"${modstoragedir}\" -mods \"${mods}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

8
lgsm/config-default/config-lgsm/ns2server/_default.cfg

@ -14,9 +14,9 @@ port="27015"
defaultmap="ns2_summit" defaultmap="ns2_summit"
maxplayers="24" maxplayers="24"
servername="LinuxGSM Server" servername="LinuxGSM Server"
webadminuser="admin" httpuser="admin"
webadminpass="admin" httppassword="admin"
webadminport="8080" httpport="8080"
mods="" mods=""
serverpassword="" serverpassword=""
# Add the following line to the parms if you want a private server. Ensuring # Add the following line to the parms if you want a private server. Ensuring
@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\" # -password \"${serverpassword}\"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${webadminuser} -webpassword \"${webadminpass}\" -webport ${webadminport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -logdir \"${gamelogdir}\" -modstorage \"${modstoragedir}\" -mods2 \"${mods}\"" startparameters="-name \"${servername}\" -port ${port} -webinterface -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -logdir \"${gamelogdir}\" -modstorage \"${modstoragedir}\" -mods2 \"${mods}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

2
lgsm/config-default/config-lgsm/pc2server/_default.cfg

@ -119,7 +119,7 @@ steamcmdforcewindows="no"
branch="" branch=""
betapassword="" betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false" steammaster="true"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill # 1: tmux kill

2
lgsm/config-default/config-lgsm/pcserver/_default.cfg

@ -115,7 +115,7 @@ steamcmdforcewindows="no"
branch="" branch=""
betapassword="" betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false" steammaster="true"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill # 1: tmux kill

6
lgsm/config-default/config-lgsm/pstbsserver/_default.cfg

@ -10,15 +10,15 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0" ip="0.0.0.0"
maxplayers="40"
port="10027" port="10027"
queryport="10037" queryport="10037"
rconport="21114"
randommap="NONE" randommap="NONE"
maxplayers="40"
reservedslots="0" reservedslots="0"
tickrate="50"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport} RCONPORT=${rconport} FIXEDMAXPLAYERS=${maxplayers} NumReservedSlots=${reservedslots}" startparameters="MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport} FIXEDMAXPLAYERS=${maxplayers} FIXEDMAXTICKRATE=${tickrate} NumReservedSlots=${reservedslots}"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

3
lgsm/config-default/config-lgsm/pzserver/_default.cfg

@ -10,10 +10,11 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0" ip="0.0.0.0"
javaram="8192" # -Xmx$8192M
adminpassword="CHANGE_ME" adminpassword="CHANGE_ME"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="--ip ${ip} -adminpassword \"${adminpassword}\" -servername ${selfname}" startparameters="--ip ${ip} -adminpassword \"${adminpassword}\" -servername ${selfname} -Xmx${javaram}M"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

2
lgsm/config-default/config-lgsm/sbotsserver/_default.cfg

@ -13,8 +13,6 @@ port="7777"
queryport="27015" queryport="27015"
defaultmap="StationKappa" defaultmap="StationKappa"
servername="LinuxGSM Server" servername="LinuxGSM Server"
serverpassword="NOT SET" # Can't be adjusted currently
maxplayers="8" # Can't be adjusted currently
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="Port=${port}?QueryPort=${queryport} -startup_map ${defaultmap} -server_name \"${servername}\"" startparameters="Port=${port}?QueryPort=${queryport} -startup_map ${defaultmap} -server_name \"${servername}\""

10
lgsm/config-default/config-lgsm/stserver/_default.cfg

@ -10,17 +10,17 @@
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0" ip="0.0.0.0"
servername="LinuxGSM" maxplayers="10"
port="27500" port="27500"
queryport="27015" queryport="27015"
worldtype="Moon" saveinterval="300"
maxplayers="10" servername="LinuxGSM"
autosaveinterval=300
worldname="moon_save" worldname="moon_save"
worldtype="Moon"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# Edit with care # Edit with care
startparameters="-LOADLATEST ${worldname} ${worldtype} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${autosaveinterval}" startparameters="-LOADLATEST ${worldname} ${worldtype} -settings ServerName ${servername} StartLocalHost true ServerVisible true ServerMaxPlayers ${maxplayers} GamePort ${port} UpdatePort ${queryport} UPNPEnabled true AutoSave true SaveInterval ${saveinterval}"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

5
lgsm/config-default/config-lgsm/tiserver/_default.cfg

@ -15,8 +15,11 @@ queryport="27015"
# Possible maps, see: https://isle.fandom.com/wiki/The_Isle_Server_Settings_and_Configuration#Optional_Maps # Possible maps, see: https://isle.fandom.com/wiki/The_Isle_Server_Settings_and_Configuration#Optional_Maps
map="" map=""
# EAC start parameters
eaclaunch="-ini:Engine:[EpicOnlineServices]:DedicatedServerClientId=xyza7891gk5PRo3J7G9puCJGFJjmEguW -ini:Engine:[EpicOnlineServices]:DedicatedServerClientSecret=pKWl6t5i9NJK8gTpVlAxzENZ65P8hYzodV8Dqe5Rlc8"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="${map} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -log" startparameters="${map} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -log ${eaclaunch}"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

4
lgsm/config-default/config-lgsm/vhserver/_default.cfg

@ -13,7 +13,7 @@ servername="Valheim Server"
# Minimum password length is 5. # Minimum password length is 5.
serverpassword="" serverpassword=""
port="2456" port="2456"
gameworld="${selfname}" worldname="${selfname}"
public="1" public="1"
savedir="$HOME/.config/unity3d/IronGate/Valheim" savedir="$HOME/.config/unity3d/IronGate/Valheim"
logFile="" logFile=""
@ -26,7 +26,7 @@ backuplong="43200"
crossplay="" crossplay=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${gameworld} -public ${public} -savedir '${savedir}' -logFile '${logFile}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} ${crossplay:+-crossplay}" startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -logFile '${logFile}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} ${crossplay:+-crossplay}"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####

5
lgsm/data/almalinux-8.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/almalinux-9.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/centos-7.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-libs mta,ncurses-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-11-openjdk pmc,java-11-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/centos-8.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/centos-9.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/debian-10.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-11-jre pmc,openjdk-11-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/debian-11.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-17-jre pmc,openjdk-17-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

132
lgsm/data/debian-12.csv

@ -0,0 +1,132 @@
all,bc,binutils,bsdmainutils,bzip2,ca-certificates,cpio,curl,distro-info,file,gzip,hostname,jq,lib32gcc-s1,lib32stdc++6,netcat-traditional,python3,tar,tmux,unzip,util-linux,wget,xz-utils
steamcmd,lib32gcc-s1,lib32stdc++6,libsdl2-2.0-0:i386,steamcmd
ac
ahl
ahl2
ark
arma3
armar,libcurl4
ats
av
bb
bb2,libcurl4-gnutls-dev:i386
bd
bf1942,libncurses5:i386,libtinfo5:i386
bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev,dos2unix
btl
cc
cd
ck,xvfb
cmw
cod,libstdc++5:i386
cod2,libstdc++5:i386
cod4
coduo,libstdc++5:i386
codwaw
col
cs
cscz
csgo
css,libtinfo5:i386
dab
dayz
dmc
dod
dodr
dods
doi
dst,libcurl4-gnutls-dev:i386
dys
eco,libgdiplus
em
etl
ets2
fctr
fof
gmod,libtinfo5:i386
hl2dm
hldm
hldms
hw,lib32z1
ins
inss
ios
jc2
jc3
jk2
kf
kf2
l4d
l4d2
lo
mc,openjdk-17-jre
mcb
mh
mohaa,libstdc++5:i386
mom
mta,libncursesw5,libxml2-utils
nd
nec
nmrih,libtinfo5:i386
ns
ns2,speex,libtbb12
ns2c,speex:i386,libtbb12
onset,libmariadb-dev
opfor
pc
pc2
pmc,openjdk-17-jre
pstbs,libgconf-2-4
pvkii
pvr,libc++1
pz,openjdk-17-jre,rng-tools5
q2
q3
ql
qw
ricochet
ro
rtcw
rust,lib32z1
rw,openjdk-17-jre
samp
sb
sbots
scpsl,mono-complete
scpslsm,mono-complete
sdtd,telnet,expect,libxml2-utils
sf
sfc,libtinfo5:i386
sof2
sol
squad
st
stn
sven,libssl3:i386,zlib1g:i386
terraria
tf2,libcurl4-gnutls-dev:i386
tfc
ti
ts
ts3
tu
tw
unt
ut
ut2k4
ut3
ut99
vh,libc6-dev
vints,mono-complete
vpmc,openjdk-17-jre
vs
wet
wf
wmc,openjdk-17-jre
wurm,xvfb
zmr,libtinfo5:i386
zps,libtinfo5:i386
Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/debian-9.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-8-jre pmc,openjdk-8-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/rhel-7.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-libs mta,ncurses-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-11-openjdk pmc,java-11-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/rhel-8.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/rhel-9.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/rocky-8.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/rocky-9.csv

@ -68,7 +68,7 @@ mcb,libnsl
mh mh
mohaa,compat-libstdc++-33.i686 mohaa,compat-libstdc++-33.i686
mom mom
mta,ncurses-compat-libs mta,ncurses-compat-libs,libxml2
nd nd
nec nec
nmrih,ncurses-libs.i686 nmrih,ncurses-libs.i686
@ -78,6 +78,7 @@ ns2c,speex.i686,tbb.i686
onset,mariadb-connector-c onset,mariadb-connector-c
opfor opfor
pc pc
pc2
pmc,java-17-openjdk pmc,java-17-openjdk
pstbs,GConf2 pstbs,GConf2
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl scpsl
scpslsm scpslsm
sdtd,telnet,expect sdtd,telnet,expect,libxml2
sf sf
sfc,ncurses-libs.i686 sfc,ncurses-libs.i686
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

3
lgsm/data/serverlist.csv

@ -4,7 +4,7 @@ ahl2,ahl2server,Action: Source,ubuntu-22.04
ark,arkserver,ARK: Survival Evolved,ubuntu-22.04 ark,arkserver,ARK: Survival Evolved,ubuntu-22.04
arma3,arma3server,ARMA 3,ubuntu-22.04 arma3,arma3server,ARMA 3,ubuntu-22.04
armar,armarserver,Arma Reforger,ubuntu-20.04 armar,armarserver,Arma Reforger,ubuntu-20.04
ats,atsserver,American Truck Simulator ats,atsserver,American Truck Simulator,ubuntu-22.04
av,avserver,Avorion,ubuntu-22.04 av,avserver,Avorion,ubuntu-22.04
bb,bbserver,BrainBread,ubuntu-22.04 bb,bbserver,BrainBread,ubuntu-22.04
bb2,bb2server,BrainBread 2,ubuntu-22.04 bb2,bb2server,BrainBread 2,ubuntu-22.04
@ -128,4 +128,3 @@ wmc,wmcserver,WaterfallMC,ubuntu-22.04
wurm,wurmserver,Wurm Unlimited,ubuntu-22.04 wurm,wurmserver,Wurm Unlimited,ubuntu-22.04
zmr,zmrserver,Zombie Master: Reborn,ubuntu-22.04 zmr,zmrserver,Zombie Master: Reborn,ubuntu-22.04
zps,zpsserver,Zombie Panic! Source,ubuntu-22.04 zps,zpsserver,Zombie Panic! Source,ubuntu-22.04

Can't render this file because it has a wrong number of fields in line 7.

3
lgsm/data/ubuntu-16.04.csv

@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-8-jre pmc,openjdk-8-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/ubuntu-18.04.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-11-jre pmc,openjdk-11-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/ubuntu-20.04.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-17-jre pmc,openjdk-17-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/ubuntu-21.04.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-17-jre pmc,openjdk-17-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

9
lgsm/data/ubuntu-21.10.csv

@ -16,10 +16,11 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386 bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev bt,libicu-dev,dos2unix
btl btl
cc cc
ck,xvfb ck,xvfb
cd
cmw cmw
cod,libstdc++5:i386 cod,libstdc++5:i386
cod2,libstdc++5:i386 cod2,libstdc++5:i386
@ -32,6 +33,7 @@ cscz
csgo csgo
css,libtinfo5:i386 css,libtinfo5:i386
dab dab
dayz
dmc dmc
dod dod
dodr dodr
@ -66,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -76,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-17-jre pmc,openjdk-17-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -95,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

5
lgsm/data/ubuntu-22.04.csv

@ -68,7 +68,7 @@ mcb
mh mh
mohaa,libstdc++5:i386 mohaa,libstdc++5:i386
mom mom
mta,libncursesw5 mta,libncursesw5,libxml2-utils
nd nd
nec nec
nmrih,libtinfo5:i386 nmrih,libtinfo5:i386
@ -78,6 +78,7 @@ ns2c,speex:i386,libtbb2
onset,libmariadb-dev onset,libmariadb-dev
opfor opfor
pc pc
pc2
pmc,openjdk-17-jre pmc,openjdk-17-jre
pstbs,libgconf-2-4 pstbs,libgconf-2-4
pvkii pvkii
@ -97,7 +98,7 @@ sb
sbots sbots
scpsl,mono-complete scpsl,mono-complete
scpslsm,mono-complete scpslsm,mono-complete
sdtd,telnet,expect sdtd,telnet,expect,libxml2-utils
sf sf
sfc,libtinfo5:i386 sfc,libtinfo5:i386
sof2 sof2

Can't render this file because it has a wrong number of fields in line 2.

0
lgsm/functions/README.md

0
lgsm/functions/alert.sh

0
lgsm/functions/alert_discord.sh

0
lgsm/functions/alert_email.sh

0
lgsm/functions/alert_ifttt.sh

0
lgsm/functions/alert_mailgun.sh

0
lgsm/functions/alert_pushbullet.sh

0
lgsm/functions/alert_pushover.sh

0
lgsm/functions/alert_rocketchat.sh

0
lgsm/functions/alert_slack.sh

0
lgsm/functions/alert_telegram.sh

2
lgsm/functions/check.sh

@ -77,7 +77,7 @@ for allowed_command in "${allowed_commands_array[@]}"; do
fi fi
done done
allowed_commands_array=(DEBUG START UPDATE VALIDATE) allowed_commands_array=(DEBUG START UPDATE VALIDATE CHECK-UPDATE)
for allowed_command in "${allowed_commands_array[@]}"; do for allowed_command in "${allowed_commands_array[@]}"; do
if [ "${allowed_command}" == "${commandname}" ]; then if [ "${allowed_command}" == "${commandname}" ]; then
if [ "${appid}" ]; then if [ "${appid}" ]; then

0
lgsm/functions/check_config.sh

0
lgsm/functions/check_deps.sh

0
lgsm/functions/check_executable.sh

0
lgsm/functions/check_glibc.sh

18
lgsm/functions/check_ip.sh

@ -12,7 +12,7 @@ info_game.sh
ip_commands_array=("/bin/ip" "/usr/sbin/ip" "ip") ip_commands_array=("/bin/ip" "/usr/sbin/ip" "ip")
for ip_command in "${ip_commands_array[@]}"; do for ip_command in "${ip_commands_array[@]}"; do
if [ "$(command -v ${ip_command} 2> /dev/null)" ]; then if [ "$(command -v "${ip_command}" 2> /dev/null)" ]; then
ipcommand="${ip_command}" ipcommand="${ip_command}"
break break
fi fi
@ -20,7 +20,7 @@ done
ethtool_commands_array=("/bin/ethtool" "/usr/sbin/ethtool" "ethtool") ethtool_commands_array=("/bin/ethtool" "/usr/sbin/ethtool" "ethtool")
for ethtool_command in "${ethtool_commands_array[@]}"; do for ethtool_command in "${ethtool_commands_array[@]}"; do
if [ "$(command -v ${ethtool_command} 2> /dev/null)" ]; then if [ "$(command -v "${ethtool_command}" 2> /dev/null)" ]; then
ethtoolcommand="${ethtool_command}" ethtoolcommand="${ethtool_command}"
break break
fi fi
@ -38,25 +38,25 @@ function fn_is_valid_ip() {
# If the IP variable has been set by user. # If the IP variable has been set by user.
if fn_is_valid_ip "${ip}"; then if fn_is_valid_ip "${ip}"; then
queryips=( "${ip}" ) queryips=("${ip}")
webadminip=( "${ip}" ) webadminip=("${ip}")
telnetip=( "${ip}" ) telnetip=("${ip}")
# If game config does have an IP set. # If game config does have an IP set.
elif fn_is_valid_ip "${configip}";then elif fn_is_valid_ip "${configip}"; then
queryips=( "${configip}" ) queryips=("${configip}")
ip="${configip}" ip="${configip}"
webadminip=("${configip}") webadminip=("${configip}")
telnetip=("${configip}") telnetip=("${configip}")
# If there is only 1 server IP address. # If there is only 1 server IP address.
# Some IP details can automaticly use the one IP # Some IP details can automaticly use the one IP
elif [ "${#current_ips[@]}" == "1" ]; then elif [ "${#current_ips[@]}" == "1" ]; then
queryips=( "127.0.0.1" "${current_ips[@]}" ) queryips=("127.0.0.1" "${current_ips[@]}")
ip="0.0.0.0" ip="0.0.0.0"
webadminip=("${current_ips[@]}") webadminip=("${current_ips[@]}")
telnetip=("${current_ips[@]}") telnetip=("${current_ips[@]}")
# If no ip is set by the user and server has more than one IP. # If no ip is set by the user and server has more than one IP.
else else
queryips=( "127.0.0.1" "${current_ips[@]}" ) queryips=("127.0.0.1" "${current_ips[@]}")
ip="0.0.0.0" ip="0.0.0.0"
webadminip=("${ip}") webadminip=("${ip}")
telnetip=("${ip}") telnetip=("${ip}")

0
lgsm/functions/check_last_update.sh

0
lgsm/functions/check_logs.sh

0
lgsm/functions/check_permissions.sh

0
lgsm/functions/check_root.sh

0
lgsm/functions/check_status.sh

0
lgsm/functions/check_steamcmd.sh

0
lgsm/functions/check_system_dir.sh

0
lgsm/functions/check_system_requirements.sh

0
lgsm/functions/check_tmuxception.sh

0
lgsm/functions/check_version.sh

2
lgsm/functions/command_check_update.sh

@ -6,7 +6,7 @@
# Description: Handles updating of servers. # Description: Handles updating of servers.
commandname="CHECK-UPDATE" commandname="CHECK-UPDATE"
commandaction="check for Update" commandaction="Check for Update"
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_firstcommand_set fn_firstcommand_set

0
lgsm/functions/command_console.sh

0
lgsm/functions/command_debug.sh

0
lgsm/functions/command_details.sh

0
lgsm/functions/command_dev_clear_functions.sh

0
lgsm/functions/command_dev_debug.sh

0
lgsm/functions/command_dev_detect_deps.sh

0
lgsm/functions/command_dev_detect_glibc.sh

0
lgsm/functions/command_dev_detect_ldd.sh

0
lgsm/functions/command_dev_query_raw.sh

0
lgsm/functions/command_donate.sh

0
lgsm/functions/command_fastdl.sh

0
lgsm/functions/command_install.sh

0
lgsm/functions/command_install_resources_mta.sh

0
lgsm/functions/command_mods_install.sh

0
lgsm/functions/command_mods_remove.sh

0
lgsm/functions/command_mods_update.sh

22
lgsm/functions/command_monitor.sh

@ -74,14 +74,20 @@ fn_monitor_is_server_running() {
fi fi
} }
fn_monitor_is_queryport_valid() { fn_monitor_check_queryport() {
fn_print_dots "Checking port value: \"${queryport}\"" # Monitor will check queryport is set before continuing.
if [ -z "${queryport}" ] || [ "${queryport}" == "0" ]; then
if ! grep -qe '^[1-9][0-9]*$' <<< "${queryport}"; then fn_print_dots "Checking port: "
fn_print_error_nl "Checking port value: \"${queryport}\" - Unable to query, queryport is illegal \"${queryport}\" and rcon=\"${rconenabled}\". This can be fine if server didn't already create the config file so we couldn't extract information from it, try to rerun." fn_print_checking_eol
return 1 fn_script_log_info "Checking port: CHECKING"
else if [ -n "${rconenabled}" ] && [ "${rconenabled}" != "true" ] && [ "${shortname}" == "av" ]; then
fn_print_ok_nl "Checking port value: \"${queryport}\"" fn_print_warn "Checking port: Unable to query, rcon is not enabled"
fn_script_log_warn "Checking port: Unable to query, rcon is not enabled"
else
fn_print_error "Checking port: Unable to query, queryport is not set"
fn_script_log_error "Checking port: Unable to query, queryport is not set"
fi
core_exit.sh
fi fi
return 0 return 0
} }

0
lgsm/functions/command_postdetails.sh

0
lgsm/functions/command_restart.sh

0
lgsm/functions/command_start.sh

0
lgsm/functions/command_test_alert.sh

0
lgsm/functions/command_ts3_server_pass.sh

0
lgsm/functions/command_update.sh

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save