Browse Source

Merge remote-tracking branch 'origin/develop' into feature/786-playersonline

# Conflicts:
#	lgsm/modules/check_gamedig.sh
pull/4595/head
Daniel Gibbs 2 days ago
parent
commit
5faaf461ea
Failed to extract signature
  1. 30
      .devcontainer/devcontainer.json
  2. 30
      .editorconfig
  3. 14
      .github/FUNDING.yml
  4. 94
      .github/ISSUE_TEMPLATE/bug_report.yml
  5. 3
      .github/ISSUE_TEMPLATE/config.yml
  6. 55
      .github/ISSUE_TEMPLATE/feature_request.yml
  7. 38
      .github/ISSUE_TEMPLATE/server_request.yml
  8. 9
      .github/dependabot.yml
  9. 29
      .github/instructions/pr-review.instructions.md
  10. 86
      .github/labeler.yml
  11. 11
      .github/linters/.codespellrc
  12. 2
      .github/linters/.flake8
  13. 9
      .github/linters/.gitleaks.toml
  14. 20
      .github/linters/.markdown-lint.yml
  15. 1
      .github/linters/.shellcheckrc
  16. 25
      .github/linters/.yaml-lint.yml
  17. 52
      .github/pull_request_template.md
  18. 50
      .github/scripts/details-check-generate-matrix.sh
  19. 14
      .github/scripts/serverlist-validate-game-icons.sh
  20. 25
      .github/scripts/serverlist-validate.sh
  21. 87
      .github/scripts/sync-game-labels.sh
  22. 0
      .github/scripts/version-check.sh
  23. 36
      .github/workflows/action-prettier.yml
  24. 53
      .github/workflows/action-super-linter.yml
  25. 4
      .github/workflows/add-to-project.yml
  26. 243
      .github/workflows/ai-triage.yml
  27. 25
      .github/workflows/details-check-generate-matrix.sh
  28. 118
      .github/workflows/details-check.yml
  29. 4
      .github/workflows/git-sync.yml
  30. 30
      .github/workflows/labeler.yml
  31. 4
      .github/workflows/lock.yml
  32. 4
      .github/workflows/potential-duplicates.yml
  33. 38
      .github/workflows/serverlist-validate.sh
  34. 12
      .github/workflows/serverlist-validate.yml
  35. 28
      .github/workflows/sync-game-labels.yml
  36. 48
      .github/workflows/trigger-docker-build.yml
  37. 22
      .github/workflows/update-check.yml
  38. 6
      .github/workflows/update-copyright-years-in-license-file.yml
  39. 4
      .github/workflows/version-check.yml
  40. 13
      .gitignore
  41. 7
      .prettierignore
  42. 2
      .prettierrc
  43. 3
      .prettierrc.json
  44. 1
      .shellcheckrc
  45. 18
      .vscode/extensions.json
  46. 263
      CODE_OF_CONDUCT.md
  47. 133
      CONTRIBUTING.md
  48. 2
      LICENSE.md
  49. 32
      README.md
  50. 16
      lgsm/config-default/config-lgsm/acserver/_default.cfg
  51. 16
      lgsm/config-default/config-lgsm/ahl2server/_default.cfg
  52. 16
      lgsm/config-default/config-lgsm/ahlserver/_default.cfg
  53. 16
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  54. 16
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  55. 18
      lgsm/config-default/config-lgsm/armarserver/_default.cfg
  56. 16
      lgsm/config-default/config-lgsm/atsserver/_default.cfg
  57. 16
      lgsm/config-default/config-lgsm/avserver/_default.cfg
  58. 16
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  59. 16
      lgsm/config-default/config-lgsm/bbserver/_default.cfg
  60. 16
      lgsm/config-default/config-lgsm/bdserver/_default.cfg
  61. 16
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  62. 20
      lgsm/config-default/config-lgsm/bfvserver/_default.cfg
  63. 16
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  64. 16
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  65. 16
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  66. 16
      lgsm/config-default/config-lgsm/btlserver/_default.cfg
  67. 16
      lgsm/config-default/config-lgsm/btserver/_default.cfg
  68. 16
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  69. 16
      lgsm/config-default/config-lgsm/ckserver/_default.cfg
  70. 16
      lgsm/config-default/config-lgsm/cmwserver/_default.cfg
  71. 16
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  72. 16
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  73. 16
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  74. 16
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  75. 16
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  76. 16
      lgsm/config-default/config-lgsm/colserver/_default.cfg
  77. 25
      lgsm/config-default/config-lgsm/cs2server/_default.cfg
  78. 16
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  79. 16
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  80. 16
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  81. 16
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  82. 16
      lgsm/config-default/config-lgsm/ctserver/_default.cfg
  83. 16
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  84. 16
      lgsm/config-default/config-lgsm/dayzserver/_default.cfg
  85. 16
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  86. 16
      lgsm/config-default/config-lgsm/dodrserver/_default.cfg
  87. 16
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  88. 16
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  89. 16
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  90. 16
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  91. 16
      lgsm/config-default/config-lgsm/dysserver/_default.cfg
  92. 21
      lgsm/config-default/config-lgsm/ecoserver/_default.cfg
  93. 16
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  94. 20
      lgsm/config-default/config-lgsm/etlserver/_default.cfg
  95. 16
      lgsm/config-default/config-lgsm/ets2server/_default.cfg
  96. 16
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  97. 16
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  98. 16
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  99. 16
      lgsm/config-default/config-lgsm/hcuserver/_default.cfg
  100. 18
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg

30
.devcontainer/devcontainer.json

@ -0,0 +1,30 @@
{
"name": "BASH Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers-community/npm-features/prettier:1": {
"plugins": "prettier-plugin-sh"
},
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
"ghcr.io/devcontainers-extra/features/checkov:1": {},
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"redhat.vscode-yaml",
"timonwong.shellcheck",
"yzhang.markdown-all-in-one"
]
}
},
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
}

30
.editorconfig

@ -1,28 +1,32 @@
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
# Atom: Please assure your Atom's config setting Tab Type is set to auto, otherwise Atom-EditorConfig may not work as expected. Also disable whitespace package.
# http://editorconfig.org/
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
# YAML Files
[*.{yml,yaml}]
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# JSON Files
[*.{json,json5,webmanifest}]
# BASH Files
[*.sh]
indent_size = 4
indent_style = tab
# JSON Files (Biome formatting)
[*.json]
indent_style = tab
indent_size = 2
indent_style = space
# BASH Files
[*.{.sh}]
# Steam appmanifest files (Valve ACF format)
[*.acf]
indent_style = tab
indent_size = 4
# Python
[*.py]
indent_style = space
indent_size = 4

14
.github/FUNDING.yml

@ -1,12 +1,2 @@
# These are supported funding model platforms
github: dgibbs64 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: dgibbs # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with a single custom sponsorship URL
github: dgibbs64
patreon: dgibbs

94
.github/ISSUE_TEMPLATE/bug_report.yml

@ -8,6 +8,51 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: dropdown
id: severity
attributes:
label: Severity
description: Triage metadata used for prioritization.
options:
- "severity: low"
- "severity: medium"
- "severity: high"
- "severity: critical"
validations:
required: true
- type: dropdown
id: reproducibility
attributes:
label: Reproducibility
description: Triage metadata used for prioritization.
options:
- "reproducible: always"
- "reproducible: sometimes"
- "reproducible: unable"
validations:
required: true
- type: dropdown
id: regression
attributes:
label: Regression
description: Triage metadata used for prioritization.
options:
- "regression: yes"
- "regression: no"
- "regression: unknown"
validations:
required: true
- type: dropdown
id: affects-latest
attributes:
label: Affects latest release
description: Triage metadata used for prioritization.
options:
- "latest-release: yes"
- "latest-release: no"
- "latest-release: unknown"
validations:
required: true
- type: input
id: user-story
attributes:
@ -16,6 +61,14 @@ body:
placeholder: As a [user description], I want [desired action] so that [desired outcome].
validations:
required: true
- type: input
id: script-name
attributes:
label: Script name
description: LinuxGSM script name in use.
placeholder: vhserver
validations:
required: true
- type: input
id: game
attributes:
@ -30,17 +83,20 @@ body:
label: Linux distro
multiple: true
options:
- Ubuntu 26.04
- Ubuntu 24.04
- Ubuntu 22.04
- Ubuntu 20.04
- Ubuntu 18.04
- Ubuntu 16.04
- Debian 13
- Debian 12
- Debian 11
- Debian 10
- Debian 9
- AlmaLinux 9
- AlmaLinux 8
- Rocky 10
- Rocky 9
- Rocky 8
- RedHat 9
- RedHat 8
- RedHat 7
- Other
validations:
required: true
@ -70,6 +126,22 @@ body:
- "command: send"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: What should happen?
placeholder: Describe the expected result.
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: What actually happens?
placeholder: Describe the observed result.
validations:
required: true
- type: textarea
id: further-info
attributes:
@ -78,11 +150,19 @@ body:
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
id: prechecks
attributes:
label: Pre-checks
description: Confirm standard troubleshooting has been completed.
options:
- label: I ran update and validate before reporting this issue.
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
description: Include the exact command used and the full related output (debug/details if available). This will be automatically formatted into code.
render: shell
- type: textarea
id: steps
@ -94,3 +174,5 @@ body:
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true

3
.github/ISSUE_TEMPLATE/config.yml

@ -6,3 +6,6 @@ contact_links:
- name: Discord Server
about: Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice
url: https://linuxgsm.com/discord
- name: Report a security vulnerability
about: Please report security vulnerabilities privately, not in public issues.
url: https://github.com/GameServerManagers/LinuxGSM/security/advisories/new

55
.github/ISSUE_TEMPLATE/feature_request.yml

@ -8,6 +8,17 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: dropdown
id: priority
attributes:
label: Priority
description: How important is this feature to you?
options:
- "priority: low"
- "priority: medium"
- "priority: high"
validations:
required: true
- type: input
id: user-story
attributes:
@ -30,17 +41,20 @@ body:
label: Linux distro
multiple: true
options:
- Ubuntu 26.04
- Ubuntu 24.04
- Ubuntu 22.04
- Ubuntu 20.04
- Ubuntu 18.04
- Ubuntu 16.04
- Debian 13
- Debian 12
- Debian 11
- Debian 10
- Debian 9
- AlmaLinux 9
- AlmaLinux 8
- Rocky 10
- Rocky 9
- Rocky 8
- RedHat 9
- RedHat 8
- RedHat 7
- Other
validations:
required: false
@ -68,12 +82,41 @@ body:
- "command: update-lgsm"
- "command: wipe"
- "command: send"
validations:
required: false
- type: textarea
id: problem-statement
attributes:
label: Problem statement
description: What is painful today, and why is this needed?
placeholder: Describe the current limitation or pain point.
validations:
required: true
- type: dropdown
id: scope-impact
attributes:
label: Scope and impact
description: Which area would this change impact?
options:
- "scope: single game"
- "scope: multiple games"
- "scope: all servers"
- "scope: documentation only"
- "scope: ci/cd or automation"
- "scope: other"
validations:
required: true
- type: textarea
id: further-info
attributes:
label: Further information
description: A clear description of what the feature is and any ideas on how to achieve this.
description: A clear description of the proposed solution and any implementation ideas.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: Describe alternatives or workarounds you considered.
validations:
required: false

38
.github/ISSUE_TEMPLATE/server_request.yml

@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this game server!
Thanks for taking the time to fill out this game server request!
- type: input
id: game-server
attributes:
@ -15,11 +15,19 @@ body:
description: What game server would you like to add?
validations:
required: true
- type: checkboxes
id: dedicated-server
attributes:
label: Dedicated server
description: Confirm this is a dedicated server request and not client hosting.
options:
- label: "Yes, this is a dedicated server (not client hosting)."
required: true
- type: checkboxes
id: on-linux
attributes:
label: Linux support
description: Does this game server have Linux support? (not wine)
description: Does this game server have native Linux server support? (not wine)
options:
- label: "Yes"
validations:
@ -38,20 +46,40 @@ body:
id: steam-id
attributes:
label: Steam appid
description: What is the Steam appid of the game server? Use SteamDB to get the appid. (https://steamdb.info).
description: What is the Steam appid of the dedicated server? Required when Steam is Yes. Use SteamDB to get the appid (https://steamdb.info).
placeholder: "892970"
validations:
required: false
- type: textarea
id: official-docs
attributes:
label: Official dedicated server documentation
description: Provide official documentation links for installing/running the dedicated server.
placeholder: |
https://example.com/docs/server-setup
https://example.com/docs/dedicated-server
validations:
required: true
- type: textarea
id: linux-binary-proof
attributes:
label: Linux binary proof
description: Provide evidence that Linux server binaries are available (official docs/download links/version notes).
placeholder: |
https://example.com/downloads/linux-dedicated-server
https://example.com/release-notes/linux-server
validations:
required: true
- type: textarea
id: guides
attributes:
label: Guides
description: Links to guides on how to install the game server
description: Links to community or third-party guides on how to install the game server.
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/GameServerManagers/LinuxGSM/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

9
.github/dependabot.yml

@ -1,8 +1,11 @@
# Set update schedule for GitHub Actions
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
interval: "weekly"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly

29
.github/instructions/pr-review.instructions.md

@ -0,0 +1,29 @@
---
title: "LinuxGSM PR Review Guidance"
applyTo: "**"
description: "Use when reviewing pull requests in LinuxGSM; prioritize regressions, behavior changes, shell safety, and missing tests over style-only feedback."
---
Focus review effort on correctness and operational safety first.
Primary priorities:
- Identify behavior regressions and compatibility risks.
- Flag unsafe shell patterns (`rm -rf`, unquoted vars, unchecked command failures).
- Verify workflow changes do not weaken permissions or secret handling.
- Check for missing tests/validation when logic changes.
- Confirm labels, templates, and automation rules stay internally consistent.
Feedback expectations:
- Give concrete, actionable findings with file and reason.
- Prefer high-signal issues over style nits.
- If no defects are found, state that clearly and mention residual risk areas.
- Suggest minimal, low-risk fixes before proposing broad refactors.
LinuxGSM-specific checks:
- Shell scripts should preserve robust defaults (`set -euo pipefail` where appropriate).
- Label/workflow updates should avoid duplicate or stale taxonomy.
- Automation should fail safe (log and continue for advisory AI; block on true CI errors).
- Keep issue/PR automation rules aligned with templates and existing labels.

86
.github/labeler.yml

@ -69,7 +69,7 @@
"game: Ballistic Overkill":
- "/(Ballistic Overkill)/i"
"game: BATTALION: Legacy":
- "/(BATTALION: Legacy)/i"
- "/(BATTALION: Legacy|Battalion 1944)/i"
"game: Barotrauma":
- "/(Barotrauma)/i"
"game: Counter-Strike: Global Offensive":
@ -77,21 +77,27 @@
"game: Counter-Strike 2":
- "/(Counter-Strike 2|CS2)/i"
"game: Counter-Strike: Source":
- "/(Counter-Strike: Source|CS:S)/i"
- "/(Counter-Strike: Source|Counter Strike: Source|CS:S)/i"
"game: Counter-Strike 1.6":
- "/(Counter-Strike 1.6|Counter Strike 1.6|CS 1.6|cs1.6)/i"
"game: Dayz":
- "/(Dayz)/i"
"game: DayZ":
- "/(DayZ|Dayz)/i"
"game: Deathmatch Classic":
- "/(Deathmatch Classic|Death Match Classic|DMC)/i"
"game: Don't Starve Together":
- "/(Don't Starve Together|Dont Starve Together|DST)/i"
"game: Eco":
- "/(^Eco$)/i"
"game: Factorio":
- "/(Factorio)/i"
"game: Garry's Mod":
"game: Garrys Mod":
- "/(Garry's Mod|Garrys Mod|GMod)/i"
"game: Hurtworld":
- "/(Hurtworld|Hurtword)/i"
"game: Insurgency":
- "/(^Insurgency$|Insurgecy)/i"
"game: Insurgency: Sandstorm":
- "/(Insurgency: Sandstorm|Insurgency)/i"
- "/(Insurgency: Sandstorm)/i"
"game: Killing Floor 2":
- "/(Killing Floor 2|KF2)/i"
"game: Left 4 Dead 2":
@ -100,18 +106,20 @@
- "/(Minecraft)((?!bedrock).)*$/i"
"game: Minecraft Bedrock":
- "/(Bedrock)/i"
"game: Mumble":
- "/(Mumble)/i"
"game: Project Zomboid":
- "/(Project Zomboid|PZ)/i"
"game: Quake 3":
- "/(Quake 3|Q3A|q3)/i"
"game: Quake 3: Arena":
- "/(Quake 3: Arena|Quake 3|Q3A|q3)/i"
"game: Quake World":
- "/(Quake World|QuakeWorld)/i"
"game: Rising World":
- "/(Rising World)/i"
"game: Satisfactory":
- "/(Satisfactory)/i"
"game: Squad":
- "/(Squad)/i"
"game: Squad 44":
- "/(Squad 44|Post Scriptum)/i"
"game: Starbound":
- "/(Starbound)/i"
"game: Stationeers":
@ -120,6 +128,8 @@
- "/(Teamspeak 3|ts3)/i"
"game: Rust":
- "/(Rust)/i"
"game: Soldier Of Fortune 2: Gold Edition":
- "/(Soldier Of Fortune 2: Gold Edition|Soldier of Fortune 2)/i"
"game: Unturned":
- "/(Unturned)/i"
"game: Unreal Tournament 99":
@ -130,6 +140,8 @@
- "/(Unreal Tournament 3|ut3)/i"
"game: Valheim":
- "/(Valheim)/i"
"game: Zombie Master: Reborn":
- "/(Zombie Master: Reborn|Zombie Master Reborn)/i"
# Info
"info: alerts":
@ -157,6 +169,54 @@
"type: game server request":
- "/(Server Request)/i"
"type: bug":
- "/(bug)/i"
"type: feature request":
- "/(feature)/i"
- "/(\\[bug\\]|bug report|type: bug)/i"
"type: bugfix":
- "/(^fix(\\(.+\\))?:|\\[x\\] Bug fix)/im"
"type: feature":
- "/(feature request|new feature|^feat(\\(.+\\))?:|\\[x\\] New feature)/im"
"type: docs":
- "/(^docs(\\(.+\\))?:|documentation|\\[x\\] Comment update)/im"
"type: refactor":
- "/(^refactor(\\(.+\\))?:|\\[x\\] Refactor)/im"
"type: chore":
- "/(^chore(\\(.+\\))?:|^ci(\\(.+\\))?:)/im"
# Severity (bug reports)
"severity: low":
- "/(severity: low)/i"
"severity: medium":
- "/(severity: medium)/i"
"severity: high":
- "/(severity: high)/i"
"severity: critical":
- "/(severity: critical)/i"
# Reproducibility (bug reports)
"reproducible: always":
- "/(reproducible: always)/i"
"reproducible: sometimes":
- "/(reproducible: sometimes)/i"
"reproducible: unable":
- "/(reproducible: unable)/i"
# Regression (bug reports)
"regression: yes":
- "/(regression: yes)/i"
# Priority (feature requests)
"priority: low":
- "/(priority: low)/i"
"priority: medium":
- "/(priority: medium)/i"
"priority: high":
- "/(priority: high)/i"
# Scope (feature requests)
"scope: single game":
- "/(scope: single game)/i"
"scope: multiple games":
- "/(scope: multiple games)/i"
"scope: all servers":
- "/(scope: all servers)/i"
"scope: documentation":
- "/(scope: documentation)/i"

11
.github/linters/.codespellrc

@ -0,0 +1,11 @@
[codespell]
# Skip data tables that contain many short server identifiers (e.g. "fof", "nd")
skip =
lgsm/data/*.csv,
package-lock.json,
*/package-lock.json,
node_modules,
*/node_modules/*
# Ignore common identifiers/acronyms and extensions used throughout LinuxGSM
ignore-words-list = distroname,fof,nd,sav,parms,ThirdParty

2
.github/linters/.flake8

@ -0,0 +1,2 @@
[flake8]
max-line-length = 120

9
.github/linters/.gitleaks.toml

@ -0,0 +1,9 @@
title = "LinuxGSM Gitleaks Config"
[allowlist]
description = "Known false positives"
regexes = [
# Google Analytics 4 Measurement Protocol API secret - not a sensitive credential,
# it is intentionally embedded in client-side code and is safe to be public.
'''apisecret="[A-Za-z0-9_\-]+"''',
]

20
.github/linters/.markdown-lint.yml

@ -0,0 +1,20 @@
# Configuration for markdownlint (used by Super Linter)
# MD041: README starts with HTML badges in this repo.
MD041: false
# MD051: GitHub heading anchor generation can differ (emoji, punctuation).
MD051: false
# MD013: The project documentation frequently contains long URLs/commands.
MD013: false
# MD033: The main README uses inline HTML for badges.
MD033: false
# MD007: Repo uses 2-space indentation for nested lists.
MD007:
indent: 2
# MD030: Repo mixes 1-space unordered and 2-space ordered list markers.
MD030: false

1
.github/linters/.shellcheckrc

@ -0,0 +1 @@
disable=SC2154,SC2034

25
.github/linters/.yaml-lint.yml

@ -0,0 +1,25 @@
extends: default
rules:
document-start: disable
truthy: disable
line-length:
max: 200
level: warning
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
braces:
min-spaces-inside: 0
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
empty-lines:
max: 2
max-start: 0
max-end: 0
comments:
min-spaces-from-content: 1

52
.github/pull_request_template.md

@ -6,30 +6,52 @@ Fixes #[issue]
## Type of change
- [ ] Bug fix (a change which fixes an issue).
- [ ] New feature (a change which adds functionality).
- [ ] New Server (new server added).
- [ ] Refactor (restructures existing code).
- [ ] Comment update (typo, spelling, explanation, examples, etc).
- [ ] Bug fix (a change which fixes an issue).
- [ ] New feature (a change which adds functionality).
- [ ] New Server (new server added).
- [ ] Refactor (restructures existing code).
- [ ] Comment update (typo, spelling, explanation, examples, etc).
## Testing
Please list the exact validation you performed and the outcome.
- Commands/tests run:
- Result:
- Environment used (distro/version):
## Risk and rollback
- Risk level: low / medium / high
- Rollback plan:
## Breaking changes
- [ ] No breaking changes.
- [ ] Breaking changes included (describe below).
## Documentation impact
- [ ] No documentation update required.
- [ ] User documentation update required.
- [ ] Developer documentation update required.
## Checklist
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 pull request subject follows the Conventional Commits standard.
- [ ] This code follows the style guidelines of this project.
- [ ] I have performed a self-review of my code.
- [ ] 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.
- [ ] This pull request links to an issue.
- [ ] This pull request uses the develop branch as its base.
- [ ] This pull request subject follows the Conventional Commits standard.
- [ ] This code follows the style guidelines of this project.
- [ ] I have performed a self-review of my code.
- [ ] I have provided a detailed enough description of this PR.
## 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
- User docs: <https://github.com/GameServerManagers/LinuxGSM-Docs>
- Dev docs: <https://github.com/GameServerManagers/LinuxGSM-Dev-Docs>
**Thank you for your Pull Request!**

50
.github/scripts/details-check-generate-matrix.sh

@ -0,0 +1,50 @@
#!/bin/bash
ref="${LGSM_REF:-${GITHUB_REF#refs/heads/}}"
curl "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${ref}/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 }')
# If TARGETED_SHORTNAMES is set, skip servers not in the list
if [ -n "${TARGETED_SHORTNAMES:-}" ]; then
if ! echo "${TARGETED_SHORTNAMES}" | grep -qw "${shortname}"; then
continue
fi
fi
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
# Legacy servers that require older Ubuntu/Debian versions due to glibc compatibility
case "${shortname}" in
bfv | bf1942)
# Requires Ubuntu <= 22.04 or Debian <= 12 (glibc 2.31 compatible)
runner="ubuntu-22.04"
;;
btl | onset)
# Requires Ubuntu <= 20.04 or Debian <= 11 (glibc 2.31 compatible)
runner="ubuntu-20.04"
;;
*)
runner="ubuntu-latest"
;;
esac
{
echo -n "{"
echo -n "\"shortname\":"
echo -n "\"${shortname}\""
echo -n ",\"runner\":"
echo -n "\"${runner}\""
echo -n "},"
} >> "shortnamearray.json"
done < <(tail -n +2 serverlist.csv)
sed -i '$ s/.$//' "shortnamearray.json"
echo -n "]" >> "shortnamearray.json"
echo -n "}" >> "shortnamearray.json"
rm serverlist.csv

14
.github/workflows/serverlist-validate-game-icons.sh → .github/scripts/serverlist-validate-game-icons.sh

@ -1,6 +1,8 @@
#!/bin/bash
cd "lgsm/data" || exit
cd "${datadir}" || exit
exitcode=0
echo ""
echo "Checking that all the game servers listed in serverlist.csv have a shortname-icon.png file"
@ -16,9 +18,11 @@ done
echo ""
echo "Checking if an unexpected gameicon exists"
for gameicon in $(ls -1 gameicons); do
shopt -s nullglob
for gameiconpath in gameicons/*; do
gameicon="$(basename "${gameiconpath}")"
# check if $gameicon is in serverlist.csv
if ! grep -q "${gameicon%-icon.png}" serverlist.csv; then
if ! grep -q -E "^${gameicon%-icon.png}," serverlist.csv; then
echo "ERROR: gameicon ${gameicon} is not in serverlist.csv"
exitcode=1
else
@ -28,7 +32,7 @@ done
echo ""
echo "Checking that the number of gameicons matches the number of servers in serverlist.csv"
gameiconcount="$(ls -1 gameicons | wc -l)"
gameiconcount="$(find gameicons -mindepth 1 -maxdepth 1 -type f | wc -l)"
serverlistcount="$(tail -n +2 serverlist.csv | wc -l)"
if [ "${gameiconcount}" -ne "${serverlistcount}" ]; then
echo "ERROR: game icons (${gameiconcount}) does not match serverlist.csv ($serverlistcount)"
@ -37,4 +41,4 @@ else
echo "OK: gameiconcount ($gameiconcount) matches serverlistcount ($serverlistcount)"
fi
exit ${exitcode}
exit "${exitcode}"

25
.github/scripts/serverlist-validate.sh

@ -0,0 +1,25 @@
#!/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 "${datadir}" || exit
exitcode=0
serverlistcount="$(tail -n +2 serverlist.csv | wc -l)"
echo "serverlistcount: $serverlistcount"
# get list of all csv files starting with ubunutu debian centos
shopt -s nullglob
csvlist=(ubuntu*.csv debian*.csv centos*.csv rhel*.csv almalinux*.csv 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}"

87
.github/scripts/sync-game-labels.sh

@ -0,0 +1,87 @@
#!/usr/bin/env bash
# sync-game-labels.sh
# Reads lgsm/data/serverlist.csv and ensures a "game: <name>" label exists in
# the GitHub repo for every unique game name. Safe to run multiple times.
#
# Requires: gh CLI authenticated with issues:write scope.
# Usage: .github/scripts/sync-game-labels.sh [OWNER/REPO]
#
# The OWNER/REPO argument is optional; if omitted gh uses the current repo.
set -euo pipefail
REPO="${1:-}"
SERVERLIST="lgsm/data/serverlist.csv"
LABEL_COLOR="5b21b6"
LABEL_PREFIX="game: "
normalize_label() {
printf '%s' "$1" | tr '[:upper:]' '[:lower:]'
}
if [[ ! -f "${SERVERLIST}" ]]; then
echo "ERROR: ${SERVERLIST} not found. Run from the repository root."
exit 1
fi
declare -A EXISTING_COLORS=()
declare -A EXISTING_DESCRIPTIONS=()
declare -A EXISTING_NAMES=()
# Fetch all existing game label metadata once (up to 1000) and cache locally.
echo "Fetching existing labels..."
while IFS=$'\t' read -r NAME COLOR DESCRIPTION; do
[[ -n "${NAME}" ]] || continue
EXISTING_COLORS["${NAME}"]="${COLOR}"
EXISTING_DESCRIPTIONS["${NAME}"]="${DESCRIPTION}"
EXISTING_NAMES["$(normalize_label "${NAME}")"]="${NAME}"
done < <(
gh label list --limit 1000 --json name,color,description ${REPO:+--repo "$REPO"} \
| jq -r '.[] | select(.name | startswith("game: ")) | [.name, .color, (.description // "")] | @tsv'
)
# Parse unique game names from the CSV (column 3, skip header).
mapfile -t GAMES < <(
tail -n +2 "${SERVERLIST}" \
| cut -d',' -f3 \
| sort -u
)
CREATED=0
UPDATED=0
UNCHANGED=0
for GAME in "${GAMES[@]}"; do
LABEL="${LABEL_PREFIX}${GAME}"
DESCRIPTION="Issues related to ${GAME}"
NORMALIZED_LABEL="$(normalize_label "${LABEL}")"
if [[ -v EXISTING_NAMES["${NORMALIZED_LABEL}"] ]]; then
CURRENT_LABEL="${EXISTING_NAMES["${NORMALIZED_LABEL}"]}"
CURRENT_COLOR="${EXISTING_COLORS["${CURRENT_LABEL}"]}"
CURRENT_DESCRIPTION="${EXISTING_DESCRIPTIONS["${CURRENT_LABEL}"]}"
if [[ "${CURRENT_LABEL}" != "${LABEL}" || "${CURRENT_COLOR}" != "${LABEL_COLOR}" || "${CURRENT_DESCRIPTION}" != "${DESCRIPTION}" ]]; then
echo " update ${LABEL}"
gh label edit "${CURRENT_LABEL}" \
--name "${LABEL}" \
--color "${LABEL_COLOR}" \
--description "${DESCRIPTION}" \
${REPO:+--repo "$REPO"}
((UPDATED++)) || true
else
echo " ok ${LABEL}"
((UNCHANGED++)) || true
fi
else
echo " create ${LABEL}"
gh label create "${LABEL}" \
--color "${LABEL_COLOR}" \
--description "${DESCRIPTION}" \
${REPO:+--repo "$REPO"}
((CREATED++)) || true
fi
done
echo ""
echo "Done. Created: ${CREATED} Updated: ${UPDATED} Unchanged: ${UNCHANGED}"

0
.github/workflows/version-check.sh → .github/scripts/version-check.sh

36
.github/workflows/action-prettier.yml

@ -0,0 +1,36 @@
name: Prettier
on:
workflow_dispatch:
push:
branches:
- "*"
concurrency:
group: prettier-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install Prettier and plugins
run: |
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_plugins: "prettier-plugin-sh prettier-plugin-jinja-template"
prettier_options: --write .
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: "chore(prettier): format code"

53
.github/workflows/action-super-linter.yml

@ -0,0 +1,53 @@
name: Super Linter
on:
workflow_dispatch:
push:
branches:
- "*"
concurrency:
group: super-linter-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
persist-credentials: false
- name: Install Prettier plugins (for summary formatting)
run: |
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template || true
- name: Super-linter
uses: super-linter/super-linter@v8
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_BIOME_FORMAT: false
VALIDATE_BIOME_LINT: false
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
VALIDATE_JSCPD: false
VALIDATE_JSON_PRETTIER: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_TRIVY: false
VALIDATE_YAML_PRETTIER: false

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

@ -5,13 +5,15 @@ on:
- opened
- labeled
permissions: {}
jobs:
add-to-project:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: Add to Project
uses: actions/[email protected].1
uses: actions/[email protected].2
with:
project-url: https://github.com/orgs/GameServerManagers/projects/11
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

243
.github/workflows/ai-triage.yml

@ -0,0 +1,243 @@
name: AI Issue Triage
on:
issues:
types:
- opened
- edited
# Note: This workflow uses GitHub Models which may not be available
# in all environments. If GitHub Models API returns 401 or is unavailable,
# the workflow will skip gracefully and the issue will still be processed
# by other automation (labeler, etc.)
permissions:
issues: write
contents: read
models: read
jobs:
ai-triage:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: Triage issue with GitHub Models
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const title = context.payload.issue.title || '';
const body = context.payload.issue.body || '';
const number = context.payload.issue.number;
const owner = context.repo.owner;
const repo = context.repo.repo;
const AI_MARKER = '<!-- ai-triage -->';
function parseTriageResponse(raw) {
const input = (raw || '').trim();
if (!input) return {};
const candidates = [input];
const fenced = input.match(/```(?:json)?\s*([\s\S]*?)```/i);
if (fenced?.[1]) candidates.push(fenced[1].trim());
const firstBrace = input.indexOf('{');
const lastBrace = input.lastIndexOf('}');
if (firstBrace !== -1 && lastBrace > firstBrace) {
candidates.push(input.slice(firstBrace, lastBrace + 1));
}
for (const candidate of candidates) {
try {
return JSON.parse(candidate);
} catch (_err) {
// Continue trying fallbacks.
}
}
return {};
}
// For short bodies, apply "needs: more info" label directly.
// Skip the AI call but still label the issue.
const isShortBody = body.trim().length < 80;
if (isShortBody) {
try {
await github.rest.issues.addLabels({
owner, repo, issue_number: number,
labels: ['needs: more info'],
});
} catch (err) {
console.log('Could not apply label for short body:', err.message);
}
return;
}
// ── Call GitHub Models ────────────────────────────────────────
// Note: GitHub Models access may not be available in all environments.
// If the API returns 401 (Unauthorized), it means GitHub Models is not
// enabled for this repository or the current token lacks access.
// The workflow will gracefully skip AI triage and continue.
let triage;
try {
const res = await fetch(
`https://models.github.ai/orgs/${owner}/inference/chat/completions`,
{
method: 'POST',
headers: {
'Accept': 'application/vnd.github+json',
'Authorization': `Bearer ${process.env.GITHUB_TOKEN}`,
'X-GitHub-Api-Version': '2026-03-10',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'openai/gpt-4.1-mini',
temperature: 0.1,
max_tokens: 400,
messages: [
{
role: 'system',
content:
'You are a triage assistant for LinuxGSM, an open-source ' +
'Linux game server manager. Your role is to:\n' +
'1. Analyze issue quality (completeness, clarity)\n' +
'2. Extract game names mentioned in the issue, even if misspelled or abbreviated\n' +
'3. Suggest corrections for likely typos using fuzzy matching\n' +
'4. Respond ONLY with a valid JSON object — no markdown fences.\n\n' +
'Common game name variations and typos you should recognize:\n' +
'- "Valhiem" → "Valheim"\n' +
'- "Rrust" → "Rust"\n' +
'- "Conterstrike" / "CS" / "CSGO" → "Counter-Strike: Global Offensive"\n' +
'- "Garrys" / "GMod" → "Garrys Mod"\n' +
'- "ARK" / "Ark" → "ARK: Survival Evolved"\n' +
'- "DayZ" / "Dayz" → "DayZ"\n' +
'- "Insurgency Sandstorm" / "Insurgency 2" → "Insurgency: Sandstorm"',
},
{
role: 'user',
content:
`Title: ${title}\n\nBody:\n${body.slice(0, 3000)}\n\n` +
'Respond with this JSON schema:\n' +
'{\n' +
' "quality": "good" | "ok" | "poor",\n' +
' "missing_info": ["list of specific missing fields"],\n' +
' "detected_game": "canonical game name if one is mentioned, or null",\n' +
' "game_confidence": "high" | "medium" | "low" | null,\n' +
' "game_note": "correction suggestion if the user misspelled a game name, or empty string",\n' +
' "comment": "one or two sentence note to the reporter, or empty string"\n' +
'}',
},
],
}),
}
);
// GitHub Models may return 401 if not available for this repository.
// This is expected and not an error — the workflow simply skips AI triage.
if (!res.ok) {
console.log(`GitHub Models returned ${res.status} — skipping AI triage.`);
return;
}
const data = await res.json();
const raw = data.choices?.[0]?.message?.content || '{}';
triage = parseTriageResponse(raw);
} catch (err) {
// Never fail the workflow if the AI call errors — it's advisory only.
console.log('AI triage skipped:', err.message);
return;
}
if (!triage || typeof triage !== 'object') {
triage = {};
}
// ── Act on the result ────────────────────────────────────────
const isPoor = triage.quality === 'poor';
const missing = Array.isArray(triage.missing_info) ? triage.missing_info : [];
const hasIssues = isPoor || missing.length > 0;
// Prepare labels to apply
const labelsToApply = [];
// Check if a game was detected with high confidence
const detectedGame = triage.detected_game;
const gameConfidence = triage.game_confidence;
if (detectedGame && gameConfidence === 'high') {
labelsToApply.push(`game: ${detectedGame}`);
}
// Apply "needs: more info" label if quality issues detected
if (hasIssues) {
labelsToApply.push('needs: more info');
}
// Apply labels one-by-one so a single failure does not block all labels.
const uniqueLabels = [...new Set(labelsToApply)];
for (const label of uniqueLabels) {
try {
await github.rest.issues.addLabels({
owner,
repo,
issue_number: number,
labels: [label],
});
} catch (err) {
console.log(`Could not apply label "${label}":`, err.message);
}
}
// Post a comment only when there is something specific to say
const gameNote = triage.game_note || '';
const reporterComment = triage.comment || '';
if (!hasIssues && !gameNote) return;
const missingBlock = missing.length > 0
? `\n\n**Missing information:**\n${missing.map(m => `- ${m}`).join('\n')}`
: '';
const gameBlock = gameNote
? `\n\n**Game name note:** ${gameNote}`
: '';
const triageCommentBody =
`${AI_MARKER}\n` +
`Thanks for opening this issue! 👋\n\n` +
`${reporterComment}` +
`${missingBlock}` +
`${gameBlock}\n\n` +
`_This note was generated automatically by AI triage and may not be perfect. ` +
`A maintainer will review shortly._`;
try {
const comments = await github.rest.issues.listComments({
owner,
repo,
issue_number: number,
per_page: 100,
});
const existingAiComment = comments.data.find(
(comment) => comment.user?.type === 'Bot' && comment.body?.includes(AI_MARKER)
);
if (existingAiComment) {
await github.rest.issues.updateComment({
owner,
repo,
comment_id: existingAiComment.id,
body: triageCommentBody,
});
} else {
await github.rest.issues.createComment({
owner,
repo,
issue_number: number,
body: triageCommentBody,
});
}
} catch (err) {
console.log('Could not post comment:', err.message);
}

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

@ -1,25 +0,0 @@
#!/bin/bash
curl "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/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 < <(tail -n +2 serverlist.csv)
sed -i '$ s/.$//' "shortnamearray.json"
echo -n "]" >> "shortnamearray.json"
echo -n "}" >> "shortnamearray.json"
rm serverlist.csv

118
.github/workflows/details-check.yml

@ -5,6 +5,12 @@ on:
push:
branches:
- develop
pull_request:
branches:
- develop
permissions:
contents: read
concurrency:
group: details-check-${{ github.ref_name }}
@ -14,46 +20,102 @@ jobs:
create-matrix:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
env:
LGSM_REF: ${{ github.event.pull_request.head.sha || github.ref_name }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# Full history so the base branch ref is available for the
# `git diff origin/<base>...HEAD` comparison below (a shallow
# checkout has no origin/<base> and the diff fails).
fetch-depth: 0
- name: Detect targeted servers (PR only)
id: targeted
if: github.event_name == 'pull_request'
run: |
changed=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
echo "Changed files:"
echo "$changed"
# Only these modules directly affect what 'details', 'parse-game-details'
# and 'query-raw' output. Everything else (install, fix, update, check_*,
# data CSVs, game icons, etc.) is irrelevant to this check.
details_core='^(linuxgsm\.sh|lgsm/modules/(info_game|info_messages|command_details|command_dev_parse_game_details|command_dev_query_raw|core_modules)\.sh)$'
if echo "$changed" | grep -qE "${details_core}"; then
echo "Details-relevant core file changed — using full matrix."
echo "mode=full" >> "$GITHUB_OUTPUT"
else
# Extract shortnames from changed config-lgsm paths
shortnames=$(echo "$changed" \
| grep -oE 'lgsm/config-default/config-lgsm/[a-z0-9]+server' \
| sed 's|lgsm/config-default/config-lgsm/||;s|server$||' \
| sort -u)
if [ -z "$shortnames" ]; then
echo "No server configs or core files changed — skipping matrix."
echo "mode=skip" >> "$GITHUB_OUTPUT"
else
echo "Targeted servers: $shortnames"
echo "mode=targeted" >> "$GITHUB_OUTPUT"
printf '%s\n' $shortnames > targeted_shortnames.txt
fi
fi
- name: Generate matrix with generate-matrix.sh
run: chmod +x .github/workflows/details-check-generate-matrix.sh; .github/workflows/details-check-generate-matrix.sh
if: github.event_name != 'pull_request' || steps.targeted.outputs.mode != 'skip'
run: |
if [ -f targeted_shortnames.txt ]; then
TARGETED_SHORTNAMES=$(cat targeted_shortnames.txt) .github/scripts/details-check-generate-matrix.sh
else
.github/scripts/details-check-generate-matrix.sh
fi
- name: Set Matrix
id: set-matrix
run: |
shortnamearray=$(cat shortnamearray.json)
echo "${shortnamearray}"
echo -n "matrix=${shortnamearray}" >> $GITHUB_OUTPUT
if [ ! -f shortnamearray.json ]; then
echo 'matrix={"include":[]}' >> "$GITHUB_OUTPUT"
else
shortnamearray=$(cat shortnamearray.json)
echo "${shortnamearray}"
echo -n "matrix=${shortnamearray}" >> "$GITHUB_OUTPUT"
fi
details-check:
if: github.repository_owner == 'GameServerManagers'
needs: create-matrix
continue-on-error: true
runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
env:
LGSM_REF: ${{ github.event.pull_request.head.sha || github.ref_name }}
strategy:
matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}
steps:
- name: Download linuxgsm.sh
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
run: wget "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_REF}/linuxgsm.sh"; chmod +x linuxgsm.sh
- name: Cache apt packages
uses: actions/cache@v4
with:
path: /var/cache/apt/archives
key: apt-${{ runner.os }}-libxml2-utils-jq
- name: Install dependencies
run: sudo apt-get install libxml2-utils jq
run: sudo apt-get install -y --no-install-recommends libxml2-utils jq
- name: Create serverfiles directory
run: mkdir -p serverfiles
- name: Grab server
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./linuxgsm.sh ${{ matrix.shortname }}server
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./linuxgsm.sh ${{ matrix.shortname }}server
- name: Enable developer mode
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server developer
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server developer
- name: Generate servercfgname
id: sets-servercfgname
@ -68,6 +130,10 @@ jobs:
else
curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}"
fi
- name: Pre-load LinuxGSM
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server details
- name: Display config
run: |
if [ "${{ steps.sets-servercfgname.outputs.servercfgname }}" == "" ]; then
@ -80,10 +146,36 @@ jobs:
run: grep "startparameters" lgsm/config-default/config-lgsm/${{ matrix.shortname }}server/_default.cfg
- name: Details
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server details
id: details
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server details
- name: Detect details
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server parse-game-details
id: detect-details
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server parse-game-details
- name: Query Raw
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server query-raw
id: query-raw
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server query-raw
- name: Write job summary
if: always()
run: |
status_icon() {
case "$1" in
success) echo "✅" ;;
failure) echo "❌" ;;
skipped) echo "⏭️" ;;
*) echo "⚠️" ;;
esac
}
details_icon=$(status_icon "${{ steps.details.outcome }}")
parse_icon=$(status_icon "${{ steps.detect-details.outcome }}")
query_icon=$(status_icon "${{ steps.query-raw.outcome }}")
{
echo "## ${{ matrix.shortname }}server"
echo "| Step | Result |"
echo "|------|--------|"
echo "| Details | ${details_icon} ${{ steps.details.outcome }} |"
echo "| Parse game details | ${parse_icon} ${{ steps.detect-details.outcome }} |"
echo "| Query raw | ${query_icon} ${{ steps.query-raw.outcome }} |"
} >> "$GITHUB_STEP_SUMMARY"

4
.github/workflows/git-sync.yml

@ -7,13 +7,15 @@ on:
- master
- develop
permissions: {}
jobs:
gitHub-to-bitbucket:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: SSH Agent
uses: webfactory/ssh-agent@v0.9.0
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}

30
.github/workflows/labeler.yml

@ -4,14 +4,24 @@ on:
types:
- opened
- edited
pull_request:
types:
- opened
- edited
- synchronize
- reopened
permissions:
issues: write
pull-requests: write
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
issue-labeler:
if: github.repository_owner == 'GameServerManagers'
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues'
runs-on: ubuntu-latest
steps:
- name: Issue Labeler
@ -21,12 +31,28 @@ jobs:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
sync-labels: 1
pr-labeler:
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
include-body: 0
sync-labels: 1
is-sponsor-label:
if: github.repository_owner == 'GameServerManagers'
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues'
runs-on: ubuntu-latest
steps:
- name: Is Sponsor Label
if: github.event.action == 'opened'
uses: JasonEtco/is-sponsor-label-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

4
.github/workflows/lock.yml

@ -1,11 +1,13 @@
name: Lock Threads
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
permissions:
issues: write
pull-requests: write
discussions: write
jobs:
lock:
@ -13,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Lock Threads
uses: dessant/lock-threads@v5
uses: dessant/lock-threads@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-comment: >

4
.github/workflows/potential-duplicates.yml

@ -3,6 +3,10 @@ on:
issues:
types:
- opened
permissions:
issues: write
jobs:
potential-duplicates:
if: github.repository_owner == 'GameServerManagers'

38
.github/workflows/serverlist-validate.sh

@ -1,38 +0,0 @@
#!/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="$(tail -n +2 serverlist.csv | wc -l)"
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
# Compare all game servers listed in serverlist.csv to $shortname-icon.png files in lgsm/data/gameicons
# if the game server is listed in serverlist.csv then it will have a $shortname-icon.png file
# loop though shortname in serverlist.csv
echo ""
echo "Checking that all the game servers listed in serverlist.csv have a shortname-icon.png file"
for shortname in $(tail -n +2 serverlist.csv | cut -d ',' -f1); do
# check if $shortname-icon.png exists
if [ ! -f "gameicons/${shortname}-icon.png" ]; then
echo "ERROR: gameicons/${shortname}-icon.png does not exist"
exitcode=1
else
echo "OK: gameicons/${shortname}-icon.png exists"
fi
done
exit ${exitcode}

12
.github/workflows/serverlist-validate.yml

@ -3,16 +3,22 @@ on:
workflow_dispatch:
push:
permissions:
contents: read
env:
datadir: lgsm/data
jobs:
serverlist-validate:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Compare Versions
run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh
run: .github/scripts/serverlist-validate.sh
- name: Validate Game Icons
run: chmod +x .github/workflows/serverlist-validate-game-icons.sh; .github/workflows/serverlist-validate-game-icons.sh
run: .github/scripts/serverlist-validate-game-icons.sh

28
.github/workflows/sync-game-labels.yml

@ -0,0 +1,28 @@
name: Sync Game Labels
on:
push:
branches:
- master
- develop
paths:
- "lgsm/data/serverlist.csv"
workflow_dispatch: {}
permissions:
issues: write
contents: read
jobs:
sync-game-labels:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Sync game labels from serverlist
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
chmod +x .github/scripts/sync-game-labels.sh
.github/scripts/sync-game-labels.sh

48
.github/workflows/trigger-docker-build.yml

@ -1,9 +1,13 @@
name: Trigger Docker Build
on:
workflow_dispatch:
release:
types:
- published
permissions: {}
jobs:
trigger_build_docker-linuxgsm:
if: github.repository_owner == 'GameServerManagers'
@ -11,12 +15,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger Workflow and Wait (linuxgsm)
uses: convictional/[email protected]
with:
owner: GameServerManagers
repo: docker-linuxgsm
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
workflow_file_name: docker-publish.yml
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
before=$(date -u +%Y-%m-%dT%H:%M:%SZ)
gh workflow run action-docker-publish.yml --repo GameServerManagers/docker-linuxgsm
sleep 10
run_id=$(gh run list \
--workflow action-docker-publish.yml \
--repo GameServerManagers/docker-linuxgsm \
--created ">=${before}" \
--limit 1 \
--json databaseId \
--jq '.[0].databaseId')
gh run watch "${run_id}" \
--repo GameServerManagers/docker-linuxgsm \
--exit-status
trigger_build_docker-gameserver:
if: github.repository_owner == 'GameServerManagers'
@ -25,9 +39,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger Workflow and Wait (gameserver)
uses: convictional/[email protected]
with:
owner: GameServerManagers
repo: docker-gameserver
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
workflow_file_name: docker-publish.yml
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
before=$(date -u +%Y-%m-%dT%H:%M:%SZ)
gh workflow run action-docker-publish.yml --repo GameServerManagers/docker-gameserver
sleep 10
run_id=$(gh run list \
--workflow action-docker-publish.yml \
--repo GameServerManagers/docker-gameserver \
--created ">=${before}" \
--limit 1 \
--json databaseId \
--jq '.[0].databaseId')
gh run watch "${run_id}" \
--repo GameServerManagers/docker-gameserver \
--exit-status

22
.github/workflows/update-check.yml

@ -6,6 +6,8 @@ on:
branches:
- develop
permissions: {}
concurrency:
group: update-check-${{ github.ref_name }}
cancel-in-progress: true
@ -13,39 +15,41 @@ concurrency:
jobs:
update-check:
if: github.repository_owner == 'GameServerManagers'
continue-on-error: true
runs-on: ubuntu-latest
env:
LGSM_REF: ${{ github.event.pull_request.head.sha || github.ref_name }}
strategy:
fail-fast: false
matrix:
shortname: [css, fctr, jk2, mc, mcb, mta, pmc, ts3, ut99, vints]
shortname: [css, fctr, jk2, mc, mcb, mta, pmc, ts3, ut99, vints, xnt]
steps:
- name: Download linuxgsm.sh
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
run: wget "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_REF}/linuxgsm.sh"; chmod +x linuxgsm.sh
- name: Install dependencies
run: sudo dpkg --add-architecture i386; sudo apt-get update;
- name: Grab server
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./linuxgsm.sh ${{ matrix.shortname }}server
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./linuxgsm.sh ${{ matrix.shortname }}server
- name: Enable developer mode
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server developer
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server developer
- name: Insert steamuser
if: matrix.shortname == 'jk2'
run: echo -e "steamuser=\"${{ secrets.STEAMCMD_USER }}\"\nsteampass='${{ secrets.STEAMCMD_PASS }}'" > lgsm/config-lgsm/${{ matrix.shortname }}server/common.cfg
- name: Install server
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server auto-install
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server auto-install
- name: Check Update server
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server check-update
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server check-update
- name: Update server
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server update
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server update
- name: Force Update server
if: matrix.shortname == 'css'
run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server force-update
run: LGSM_GITHUBBRANCH="${LGSM_REF}" ./${{ matrix.shortname }}server force-update

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

@ -4,13 +4,17 @@ on:
schedule:
- cron: "0 3 1 1 *" # 03:00 AM on January 1
permissions:
contents: write
pull-requests: write
jobs:
update-license-year:
if: github.repository_owner == 'GameServerManagers'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Action Update License Year

4
.github/workflows/version-check.yml

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Version Check
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh
run: .github/scripts/version-check.sh

13
.gitignore

@ -1,2 +1,11 @@
.vscode/settings.json
/node_modules
# Visual Studio Code
.vscode/*
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
.history/
*.vsix
# Node.js
node_modules

7
.prettierignore

@ -0,0 +1,7 @@
# Prettier auto-commit runs with GITHUB_TOKEN (GitHub App).
# GitHub blocks that token from creating/updating anything under .github/workflows.
.github/workflows/**
# Machine-generated by npm; its format is owned by npm, not Prettier.
# Prettier reformatting it fights npm and makes the auto-commit run fail.
package-lock.json

2
.prettierrc

@ -1,3 +1,3 @@
{
"plugins": ["prettier-plugin-sh"]
"plugins": ["prettier-plugin-sh"]
}

3
.prettierrc.json

@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-sh"]
}

1
.shellcheckrc

@ -0,0 +1 @@
disable=SC2154,SC2034

18
.vscode/extensions.json

@ -1,10 +1,12 @@
{
"recommendations": [
"ms-python.python",
"editorconfig.editorconfig",
"yzhang.markdown-all-in-one",
"esbenp.prettier-vscode",
"timonwong.shellcheck",
"redhat.vscode-yaml"
]
"recommendations": [
"DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"redhat.vscode-yaml",
"timonwong.shellcheck",
"yzhang.markdown-all-in-one"
]
}

263
CODE_OF_CONDUCT.md

@ -2,131 +2,158 @@
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
We pledge to make our community welcoming, safe, and equitable for all.
We are committed to fostering an environment that respects and promotes the
dignity, rights, and contributions of all individuals, regardless of characteristics
including race, ethnicity, caste, color, age, physical characteristics,
neurodiversity, disability, sex or gender, gender identity or expression, sexual
orientation, language, philosophy or religion, national or social origin,
socio-economic position, level of education, or other status. The same privileges of
participation are extended to everyone who participates in good faith and in
accordance with this Covenant.
## Encouraged Behaviors
While acknowledging differences in social norms, we all strive to meet our
community's expectations for positive behavior. We also understand that our words
and actions may be interpreted differently than we intend based on culture,
background, or native language.
With these considerations in mind, we agree to behave mindfully toward each other
and act in ways that center our shared values, including:
1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
2. Engaging **kindly and honestly** with others.
3. Respecting **different viewpoints** and experiences.
4. **Taking responsibility** for our actions and contributions.
5. Gracefully giving and accepting **constructive feedback**.
6. Committing to **repairing harm** when it occurs.
7. Behaving in other ways that promote and sustain the **well-being of our community**.
## Restricted Behaviors
We agree to restrict the following behaviors in our community. Instances,
threats, and promotion of these behaviors are violations of this Code of Conduct.
1. **Harassment.** Violating explicitly expressed boundaries or engaging in
unnecessary personal attention after any clear request to stop.
2. **Character attacks.** Making insulting, demeaning, or pejorative comments
directed at a community member or group of people.
3. **Stereotyping or discrimination.** Characterizing anyone's personality or
behavior on the basis of immutable identities or traits.
4. **Sexualization.** Behaving in a way that would generally be considered
inappropriately intimate in the context or purpose of the community.
5. **Violating confidentiality.** Sharing or acting on someone's personal or
private information without their permission.
6. **Endangerment.** Causing, encouraging, or threatening violence or other harm
toward any person or group.
7. Behaving in other ways that **threaten the well-being** of our community.
### Other Restrictions
1. **Misleading identity.** Impersonating someone else for any reason, or
pretending to be someone else to evade enforcement actions.
2. **Failing to credit sources.** Not properly crediting the sources of content
you contribute.
3. **Promotional materials.** Sharing marketing or other commercial content in a
way that is outside the norms of the community.
4. **Irresponsible communication.** Failing to responsibly present content which
includes, links or describes any other restricted behaviors.
## Reporting an Issue
Tensions can occur between community members even when they are trying their best
to collaborate. Not every conflict represents a code of conduct violation, and this
Code of Conduct reinforces encouraged behaviors and norms that can help avoid
conflicts and minimize harm.
When an incident does occur, it is important to report it promptly. To report a
possible violation, please use one of the following methods:
- **GitHub (private):** [Submit a private security advisory](https://github.com/GameServerManagers/LinuxGSM/security/advisories/new)
- **Discord:** Contact a moderator via the [LinuxGSM Discord server](https://linuxgsm.com/discord)
Community Moderators take reports of violations seriously and will make every
effort to respond in a timely manner. They will investigate all reports of code of
conduct violations, reviewing messages, logs, and recordings, or interviewing
witnesses and other participants. Community Moderators will keep investigation and
enforcement actions as transparent as possible while prioritizing safety and
confidentiality. In order to honor these values, enforcement actions are carried out
in private with the involved parties, but communicating to the whole community may
be part of a mutually agreed upon resolution.
## Addressing and Repairing Harm
If an investigation by the Community Moderators finds that this Code of Conduct
has been violated, the following enforcement ladder may be used to determine how
best to repair harm, based on the incident's impact on the individuals involved
and the community as a whole. Depending on the severity of a violation, lower
rungs on the ladder may be skipped.
1. **Warning**
1. Event: A violation involving a single incident or series of incidents.
2. Consequence: A private, written warning from the Community Moderators.
3. Repair: Examples of repair include a private written apology, acknowledgement
of responsibility, and seeking clarification on expectations.
2. **Temporarily Limited Activities**
1. Event: A repeated incidence of a violation that previously resulted in a
warning, or the first incidence of a more serious violation.
2. Consequence: A private, written warning with a time-limited cooldown period
designed to underscore the seriousness of the situation and give the community
members involved time to process the incident. The cooldown period may be
limited to particular communication channels or interactions with particular
community members.
3. Repair: Examples of repair may include making an apology, using the cooldown
period to reflect on actions and impact, and being thoughtful about
re-entering community spaces after the period is over.
3. **Temporary Suspension**
1. Event: A pattern of repeated violation which the Community Moderators have
tried to address with warnings, or a single serious violation.
2. Consequence: A private written warning with conditions for return from
suspension. In general, temporary suspensions give the person being suspended
time to reflect upon their behavior and possible corrective actions.
3. Repair: Examples of repair include respecting the spirit of the suspension,
meeting the specified conditions for return, and being thoughtful about how to
reintegrate with the community when the suspension is lifted.
4. **Permanent Ban**
1. Event: A pattern of repeated code of conduct violations that other steps on
the ladder have failed to resolve, or a violation so serious that the Community
Moderators determine there is no way to keep the community safe with this
person as a member.
2. Consequence: Access to all community spaces, tools, and communication channels
is removed. In general, permanent bans should be rarely used, should have
strong reasoning behind them, and should only be resorted to if working through
other remedies has failed to change the behavior.
3. Repair: There is no possible repair in cases of this severity.
This enforcement ladder is intended as a guideline. It does not limit the ability
of Community Moderators to use their discretion and judgment, in keeping with the
best interests of our community.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
This Code of Conduct applies within all community spaces, and also applies when an
individual is officially representing the community in public or other spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][mozilla coc].
This Code of Conduct is adapted from the Contributor Covenant, version 3.0,
permanently available at <https://www.contributor-covenant.org/version/3/0/>.
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][faq]. Translations are available
at [https://www.contributor-covenant.org/translations][translations].
Contributor Covenant is stewarded by the Organization for Ethical Source and
licensed under CC BY-SA 4.0. To view a copy of this license, visit
<https://creativecommons.org/licenses/by-sa/4.0/>.
[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[mozilla coc]: https://github.com/mozilla/diversity
[faq]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
For answers to common questions about Contributor Covenant, see the FAQ at
<https://www.contributor-covenant.org/faq>. Translations are provided at
<https://www.contributor-covenant.org/translations>. Additional enforcement and
community guideline resources can be found at
<https://www.contributor-covenant.org/resources>. The enforcement ladder was
inspired by the work of [Mozilla's code of conduct team](https://github.com/mozilla/inclusion).

133
CONTRIBUTING.md

@ -8,31 +8,31 @@ The following is a set of guidelines for contributing to LinuxGSM, which are hos
[Contributing to LinuxGSM](#contributing-to-linuxgsm)
- [Table of Contents](#table-of-contents)
- [Code of Conduct](#code-of-conduct)
- [🎉 Bug/Enhancement Contributions 🐛](#bug-enhancement-contributions)
- [🐛Reporting Bugs](#reporting-bugs)
- [Before Submitting A Bug Report](#before-submitting-a-bug-report)
- [How Do I Submit A (Good) Bug Report?](#how-do-i-submit-a--good--bug-report-)
- [🎉Suggesting Features](#suggesting-features)
- [Before Submitting An Feature Suggestion](#before-submitting-an-feature-suggestion)
- [How Do I Submit A (Good) Feature Suggestion?](#how-do-i-submit-a--good--feature-suggestion-)
- [🎮 Game Server Requests](#game-server-requests)
- [Before Submitting a Game Server Request](#before-submitting-a-game-server-request)
- [How Do I Submit A (Good) Game Server Request?](#how-do-i-submit-a--good--game-server-request-)
- [🎮 Game Server Specific Issues](#game-server-specific-issues)
- [💻 Code Contributions](#code-contributions)
- [Pull Requests](#pull-requests)
- [Pull Request naming convention](#pull-request-naming-convention)
- [Testing](#testing)
- [Pull Request Status Checks](#pull-request-status-checks)
- [Test Environment](#test-environment)
- [:wine_glass: Styleguides](#-wine-glass--styleguides)
- [Git Commit Messages](#git-commit-messages)
- [BASH Styleguide](#bash-styleguide)
- [:blue_book: Document Contributions](#-blue-book--document-contributions)
- [Documentation Styleguide](#documentation-styleguide)
- [Issue and Pull Request Labels](#issue-and-pull-request-labels)
- [Table of Contents](#table-of-contents)
- [Code of Conduct](#code-of-conduct)
- [🎉 Bug/Enhancement Contributions 🐛](#bug-enhancement-contributions)
- [🐛Reporting Bugs](#reporting-bugs)
- [Before Submitting A Bug Report](#before-submitting-a-bug-report)
- [How Do I Submit A (Good) Bug Report?](#how-do-i-submit-a--good--bug-report-)
- [🎉Suggesting Features](#suggesting-features)
- [Before Submitting An Feature Suggestion](#before-submitting-an-feature-suggestion)
- [How Do I Submit A (Good) Feature Suggestion?](#how-do-i-submit-a--good--feature-suggestion-)
- [🎮 Game Server Requests](#game-server-requests)
- [Before Submitting a Game Server Request](#before-submitting-a-game-server-request)
- [How Do I Submit A (Good) Game Server Request?](#how-do-i-submit-a--good--game-server-request-)
- [🎮 Game Server Specific Issues](#game-server-specific-issues)
- [💻 Code Contributions](#code-contributions)
- [Pull Requests](#pull-requests)
- [Pull Request naming convention](#pull-request-naming-convention)
- [Testing](#testing)
- [Pull Request Status Checks](#pull-request-status-checks)
- [Test Environment](#test-environment)
- [:wine_glass: Styleguides](#-wine-glass--styleguides)
- [Git Commit Messages](#git-commit-messages)
- [BASH Styleguide](#bash-styleguide)
- [:blue_book: Document Contributions](#-blue-book--document-contributions)
- [Documentation Styleguide](#documentation-styleguide)
- [Issue and Pull Request Labels](#issue-and-pull-request-labels)
## Code of Conduct
@ -48,20 +48,20 @@ Before creating bug reports, please check [this list](https://github.com/GameSer
#### Before Submitting A Bug Report
- **Check the [documentation](https://docs.linuxgsm.com).** You might be able to find the cause of the problem and fix things yourself.
- **Check the** [**support page**](https://linuxgsm.com/support) for links to other support options.
- **Perform a** [**cursory search**](https://github.com/search?q=org:GameServerManagers%20type:issues&type=Issues) to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue and give it a thumbs up instead of opening a new one.
- **Check the [documentation](https://docs.linuxgsm.com).** You might be able to find the cause of the problem and fix things yourself.
- **Check the** [**support page**](https://linuxgsm.com/support) for links to other support options.
- **Perform a** [**cursory search**](https://github.com/search?q=org:GameServerManagers%20type:issues&type=Issues) to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue and give it a thumbs up instead of opening a new one.
#### How Do I Submit A (Good) Bug Report?
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue and provide the following information by filling in [the issues form](https://github.com/GameServerManagers/LinuxGSM/issues/new/choose).
- **Use a clear and descriptive title** for the issue to identify the problem.
- **Complete the user story** to give a summary of the issue.
- **Provide basic info** to help us understand the context of the issue.
- **Provide further info** to give specifics and more detail.
- **Give steps to reproduce** the issue, allowing developers to follow steps that lead to the issue.
- **Explain what you expect** to happen, so we know what you think should occur.
- **Use a clear and descriptive title** for the issue to identify the problem.
- **Complete the user story** to give a summary of the issue.
- **Provide basic info** to help us understand the context of the issue.
- **Provide further info** to give specifics and more detail.
- **Give steps to reproduce** the issue, allowing developers to follow steps that lead to the issue.
- **Explain what you expect** to happen, so we know what you think should occur.
### 🎉Suggesting Features
@ -69,19 +69,19 @@ This section guides you through submitting a feature suggestion for LinuxGSM, in
#### Before Submitting An Feature Suggestion
- **Check the** [**documentation**](<https://docs.linuxgsm.com/%5D(https://docs.linuxgsm.com/)>) to confirm that the enhancement doesn’t already exist.
- **Check your** [**LinuxGSM version**](https://docs.linuxgsm.com/commands/update-lgsm)**.** A newer version of LinuxGSM may already have your enhancement.
- **Perform a** [**cursory search**](https://github.com/search?q=org:GameServerManagers%20type:issues&type=Issues) to see if the enhancement has already been suggested. If it has **and the enhancement is still open**, add a comment to the existing issue and give it a thumbs up instead of opening a new one.
- **Check the** [**documentation**](<https://docs.linuxgsm.com/%5D(https://docs.linuxgsm.com/)>) to confirm that the enhancement doesn’t already exist.
- **Check your** [**LinuxGSM version**](https://docs.linuxgsm.com/commands/update-lgsm)**.** A newer version of LinuxGSM may already have your enhancement.
- **Perform a** [**cursory search**](https://github.com/search?q=org:GameServerManagers%20type:issues&type=Issues) to see if the enhancement has already been suggested. If it has **and the enhancement is still open**, add a comment to the existing issue and give it a thumbs up instead of opening a new one.
#### How Do I Submit A (Good) Feature Suggestion?
Features are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue and provide the following information by filling in [the issues form](https://github.com/GameServerManagers/LinuxGSM/issues/new/choose).
- **Use a clear and descriptive title** for the issue to identify the problem.
- **Complete the user story** to give a summary of the issue.
- **Provide basic info** to help us understand the context of the enhancement.
- **Provide further info** to give specifics and more detail.
- **Provide any further reading** materials that might assist in developing the enhancement.
- **Use a clear and descriptive title** for the issue to identify the problem.
- **Complete the user story** to give a summary of the issue.
- **Provide basic info** to help us understand the context of the enhancement.
- **Provide further info** to give specifics and more detail.
- **Provide any further reading** materials that might assist in developing the enhancement.
### 🎮 Game Server Requests
@ -89,14 +89,14 @@ This section guides you through submitting a game server request for LinuxGSM, F
#### Before Submitting a Game Server Request
- **Check for existing** [**game server requests**](https://github.com/GameServerManagers/LinuxGSM/labels/type%3A%20game%20server%20request) to see if the new game server has already been suggested. If it has **and if the new game server is still open**, give it a thumbs up.
- **Check the game server is supported on Linux**, this does not include Wine servers which we do not support.
- **Check for existing** [**game server requests**](https://github.com/GameServerManagers/LinuxGSM/labels/type%3A%20game%20server%20request) to see if the new game server has already been suggested. If it has **and if the new game server is still open**, give it a thumbs up.
- **Check the game server is supported on Linux**, this does not include Wine servers which we do not support.
#### How Do I Submit A (Good) Game Server Request?
- The title should be as follows: **[Server Request] Game Name**
- **Provide Steam App ID** if applicable
- **Supply any documentation/how-to guides** for the game server.
- The title should be as follows: **[Server Request] Game Name**
- **Provide Steam App ID** if applicable
- **Supply any documentation/how-to guides** for the game server.
### 🎮 Game Server Specific Issues
@ -114,10 +114,10 @@ A [list](https://docs.linuxgsm.com/support/game-server) of known game developer
The process described here has several goals:
- Maintain LinuxGSM quality.
- Fix problems that are important to users.
- Engage the community in working toward the best possible LinuxGSM.
- Enable a sustainable system for LinuxGSM maintainers to review contributions.
- Maintain LinuxGSM quality.
- Fix problems that are important to users.
- Engage the community in working toward the best possible LinuxGSM.
- Enable a sustainable system for LinuxGSM maintainers to review contributions.
Please follow these steps to have your contribution considered by the maintainers:
@ -139,24 +139,23 @@ If applied, this commit will _your subject line here_
For example:
- If applied, this commit will **refactor subsystem X for readability**
- If applied, this commit will **update getting started documentation**
- If applied, this commit will **remove deprecated methods**
- If applied, this commit will **release version 1.0.0**
- If applied, this commit will **merge pull request #123 from user/branch**
- If applied, this commit will **refactor subsystem X for readability**
- If applied, this commit will **update getting started documentation**
- If applied, this commit will **remove deprecated methods**
- If applied, this commit will **release version 1.0.0**
- If applied, this commit will **merge pull request #123 from user/branch**
Notice how this doesn’t work for the other non-imperative forms:
- If applied, this commit will **fixed bug with Y**
- If applied, this commit will **change the behaviour of X**
- If applied, this commit will **more fixes for broken stuff**
- If applied, this commit will **sweet new API methods**
- If applied, this commit will **fixed bug with Y**
- If applied, this commit will **change the behaviour of X**
- If applied, this commit will **more fixes for broken stuff**
- If applied, this commit will **sweet new API methods**
Below is an example of the subject line for a pull request:
**feat(alerts): add slack support to alerts**
**fix(csgoserver): remove SteamCMD auth requirement 32-bit workaround**
- feat(alerts): add slack support to alerts
- fix(csgoserver): remove SteamCMD auth requirement 32-bit workaround
### Testing
@ -211,10 +210,10 @@ Labels to help pinpoint what the issue or PR relates to.
variants:
- _distro_
- _engine_
- _game_
- _info_
- _distro_
- _engine_
- _game_
- _info_
**outcome** Labels
Labels that identify why an issue was closed.

2
LICENSE.md

@ -1,6 +1,6 @@
# The MIT License (MIT)
Copyright (c) 2012-2024 Daniel Gibbs
Copyright (c) 2012-2026 Daniel Gibbs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

32
README.md

@ -1,10 +1,10 @@
<p align="center">
<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://bitbucket.org/GameServerManagers/linuxgsm"><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>
<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://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://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://bitbucket.org/GameServerManagers/linuxgsm"><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>
<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://github.com/GameServerManagers/LinuxGSM/blob/master/LICENSE.md"><img src="https://img.shields.io/github/license/gameservermanagers/LinuxGSM?style=flat-square" alt="MIT License"></a>
</p>
[LinuxGSM](https://linuxgsm.com) is the command-line tool for quick, simple deployment and management of Linux dedicated game servers.
@ -17,21 +17,21 @@ Traditionally game servers are not easy to manage yourself. Admins often have to
100+ game servers supported
- :truck: Installer
- :mag: Monitor
- :phone: Alerts
- :cloud: Updater
- :blue_book: Server Details
- :floppy_disk: Backup
- :computer: Console
- :truck: Installer
- :mag: Monitor
- :phone: Alerts
- :cloud: Updater
- :blue_book: Server Details
- :floppy_disk: Backup
- :computer: Console
## :penguin: Compatibility
LinuxGSM will run on popular distros as long as the minimum requirements are met.
- Ubuntu
- Debian
- CentOS
- Ubuntu
- Debian
- CentOS
Other distros are likely to work but are not fully tested.

16
lgsm/config-default/config-lgsm/acserver/_default.cfg

@ -54,6 +54,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/ahl2server/_default.cfg

@ -62,6 +62,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/ahlserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/arkserver/_default.cfg

@ -59,6 +59,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/arma3server/_default.cfg

@ -73,6 +73,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

18
lgsm/config-default/config-lgsm/armarserver/_default.cfg

@ -9,7 +9,7 @@
#### Game Server Settings ####
# https://community.bistudio.com/wiki/Arma_Reforger:Server_Hosting
# MaxFPS to limit the used Server resouces
# MaxFPS to limit the used Server resources
maxfps="60"
# Profile Name
@ -58,6 +58,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/atsserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/avserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/bb2server/_default.cfg

@ -63,6 +63,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/bbserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/bdserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/bf1942server/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

20
lgsm/config-default/config-lgsm/bfvserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
@ -126,8 +142,8 @@ stopmode="3"
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="1"
querytype=""
querymode="3"
querytype="protocol-gamespy2"
## Console type
consoleverbose="yes"

16
lgsm/config-default/config-lgsm/bmdmserver/_default.cfg

@ -63,6 +63,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/boserver/_default.cfg

@ -55,6 +55,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/bsserver/_default.cfg

@ -67,6 +67,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/btlserver/_default.cfg

@ -55,6 +55,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/btserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/ccserver/_default.cfg

@ -58,6 +58,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/ckserver/_default.cfg

@ -54,6 +54,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/cmwserver/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/cod2server/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/cod4server/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/codserver/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/coduoserver/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/codwawserver/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/colserver/_default.cfg

@ -51,6 +51,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

25
lgsm/config-default/config-lgsm/cs2server/_default.cfg

@ -15,6 +15,11 @@ port="27015"
maxplayers="16"
wsapikey=""
## Game Server Login Token (GSLT): Required
# GSLT is required for running a public server.
# More info: https://docs.linuxgsm.com/steamcmd/gslt
gslt=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-dedicated -ip ${ip} -port ${port} -maxplayers ${maxplayers} -authkey ${wsapikey} +exec ${selfname}.cfg"
@ -57,6 +62,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
@ -161,8 +182,8 @@ glibc="2.31"
## Game Server Directories
systemdir="${serverfiles}/game/csgo"
executabledir="${serverfiles}/game/bin/linuxsteamrt64"
executable="./cs2"
executabledir="${serverfiles}/game"
executable="./cs2.sh"
servercfgdir="${systemdir}/cfg"
servercfg="${selfname}.cfg"
servercfgdefault="server.cfg"

16
lgsm/config-default/config-lgsm/csczserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/csgoserver/_default.cfg

@ -94,6 +94,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/csserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/cssserver/_default.cfg

@ -63,6 +63,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/ctserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dabserver/_default.cfg

@ -58,6 +58,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dayzserver/_default.cfg

@ -73,6 +73,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dmcserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dodrserver/_default.cfg

@ -56,6 +56,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dodserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dodsserver/_default.cfg

@ -58,6 +58,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/doiserver/_default.cfg

@ -59,6 +59,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dstserver/_default.cfg

@ -60,6 +60,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/dysserver/_default.cfg

@ -63,6 +63,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

21
lgsm/config-default/config-lgsm/ecoserver/_default.cfg

@ -8,8 +8,11 @@
#### Game Server Settings ####
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
usertoken=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-nogui"
startparameters="-nogui -userToken=${usertoken}"
#### LinuxGSM Settings ####
@ -50,6 +53,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/emserver/_default.cfg

@ -63,6 +63,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

20
lgsm/config-default/config-lgsm/etlserver/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
@ -134,7 +150,7 @@ consoleinteract="yes"
# Do not edit
gamename="ET: Legacy"
engine="idtech3"
glibc="2.7"
glibc="2.17"
#### Directories ####
# Edit with care
@ -153,7 +169,7 @@ backupdir="${lgsmdir}/backup"
## Logging Directories
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs"
gamelogdir="${serverfiles}/legacy"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"

16
lgsm/config-default/config-lgsm/ets2server/_default.cfg

@ -50,6 +50,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/fctrserver/_default.cfg

@ -57,6 +57,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/fofserver/_default.cfg

@ -58,6 +58,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/gmodserver/_default.cfg

@ -68,6 +68,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

16
lgsm/config-default/config-lgsm/hcuserver/_default.cfg

@ -65,6 +65,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

18
lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg

@ -9,6 +9,8 @@
#### Game Server Settings ####
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
# Note that for HL2DM, maxplayers > 33 must be specified like so:
# maxplayers="101 -unrestricted_maxplayers"
ip="0.0.0.0"
port="27015"
clientport="27005"
@ -58,6 +60,22 @@ iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
ntfyalert="off"
ntfytopic="LinuxGSM"
ntfyserver="https://ntfy.sh"
ntfytoken=""
ntfyusername=""
ntfypassword=""
ntfypriority=""
ntfytags=""
# Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
matrixalert="off"
matrixhomeserver="matrix.org"
matrixtoken="accesstoken"
matrixroom=""
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"

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

Loading…
Cancel
Save