Browse Source

Merge branch 'develop' into feature/git-branch-check

pull/4170/head
Daniel Gibbs 2 years ago
parent
commit
64f9d29248
  1. 6
      .github/workflows/add-to-project.yml
  2. 33
      .github/workflows/details-check.yml
  3. 2
      .github/workflows/detals-check-generate-matrix.sh
  4. 9
      .github/workflows/git-sync.yml
  5. 14
      .github/workflows/label-sponsors.yml
  6. 26
      .github/workflows/labeler.yml
  7. 14
      .github/workflows/lock.yml
  8. 19
      .github/workflows/potential-duplicates.yml
  9. 22
      .github/workflows/serverlist-validate.sh
  10. 14
      .github/workflows/serverlist-validate.yml
  11. 12
      .github/workflows/trigger-docker-build.yml
  12. 8
      .github/workflows/update-copyright-years-in-license-file.yml
  13. 22
      .github/workflows/version-check.yml
  14. 3
      .gitignore
  15. 4
      lgsm/config-default/config-lgsm/acserver/_default.cfg
  16. 2
      lgsm/config-default/config-lgsm/ahl2server/_default.cfg
  17. 2
      lgsm/config-default/config-lgsm/ahlserver/_default.cfg
  18. 2
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  19. 2
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  20. 2
      lgsm/config-default/config-lgsm/armarserver/_default.cfg
  21. 2
      lgsm/config-default/config-lgsm/atsserver/_default.cfg
  22. 6
      lgsm/config-default/config-lgsm/avserver/_default.cfg
  23. 2
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  24. 2
      lgsm/config-default/config-lgsm/bbserver/_default.cfg
  25. 2
      lgsm/config-default/config-lgsm/bdserver/_default.cfg
  26. 2
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  27. 4
      lgsm/config-default/config-lgsm/bfvserver/_default.cfg
  28. 2
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  29. 3
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  30. 2
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  31. 4
      lgsm/config-default/config-lgsm/btlserver/_default.cfg
  32. 6
      lgsm/config-default/config-lgsm/btserver/_default.cfg
  33. 2
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  34. 2
      lgsm/config-default/config-lgsm/cdserver/_default.cfg
  35. 2
      lgsm/config-default/config-lgsm/ckserver/_default.cfg
  36. 2
      lgsm/config-default/config-lgsm/cmwserver/_default.cfg
  37. 2
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  38. 2
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  39. 2
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  40. 2
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  41. 2
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  42. 2
      lgsm/config-default/config-lgsm/colserver/_default.cfg
  43. 2
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  44. 2
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  45. 2
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  46. 2
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  47. 182
      lgsm/config-default/config-lgsm/ctserver/_default.cfg
  48. 2
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  49. 6
      lgsm/config-default/config-lgsm/dayzserver/_default.cfg
  50. 2
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  51. 2
      lgsm/config-default/config-lgsm/dodrserver/_default.cfg
  52. 2
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  53. 2
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  54. 2
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  55. 2
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  56. 2
      lgsm/config-default/config-lgsm/dysserver/_default.cfg
  57. 2
      lgsm/config-default/config-lgsm/ecoserver/_default.cfg
  58. 2
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  59. 2
      lgsm/config-default/config-lgsm/etlserver/_default.cfg
  60. 2
      lgsm/config-default/config-lgsm/ets2server/_default.cfg
  61. 2
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  62. 2
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  63. 2
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  64. 199
      lgsm/config-default/config-lgsm/hcuserver/_default.cfg
  65. 2
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  66. 2
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  67. 2
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  68. 2
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  69. 2
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  70. 4
      lgsm/config-default/config-lgsm/inssserver/_default.cfg
  71. 2
      lgsm/config-default/config-lgsm/iosserver/_default.cfg
  72. 2
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  73. 6
      lgsm/config-default/config-lgsm/jc3server/_default.cfg
  74. 2
      lgsm/config-default/config-lgsm/jk2server/_default.cfg
  75. 2
      lgsm/config-default/config-lgsm/kf2server/_default.cfg
  76. 3
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  77. 2
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  78. 2
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  79. 2
      lgsm/config-default/config-lgsm/loserver/_default.cfg
  80. 2
      lgsm/config-default/config-lgsm/mcbserver/_default.cfg
  81. 2
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  82. 6
      lgsm/config-default/config-lgsm/mhserver/_default.cfg
  83. 6
      lgsm/config-default/config-lgsm/mohaaserver/_default.cfg
  84. 2
      lgsm/config-default/config-lgsm/momserver/_default.cfg
  85. 2
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  86. 2
      lgsm/config-default/config-lgsm/ndserver/_default.cfg
  87. 3
      lgsm/config-default/config-lgsm/necserver/_default.cfg
  88. 2
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  89. 4
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  90. 4
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  91. 2
      lgsm/config-default/config-lgsm/nsserver/_default.cfg
  92. 191
      lgsm/config-default/config-lgsm/ohdserver/_default.cfg
  93. 2
      lgsm/config-default/config-lgsm/onsetserver/_default.cfg
  94. 2
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  95. 2
      lgsm/config-default/config-lgsm/pc2server/_default.cfg
  96. 2
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  97. 2
      lgsm/config-default/config-lgsm/pmcserver/_default.cfg
  98. 2
      lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  99. 2
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  100. 2
      lgsm/config-default/config-lgsm/pvrserver/_default.cfg

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

@ -1,4 +1,4 @@
name: Add to project name: Add to Project
on: on:
issues: issues:
types: types:
@ -7,10 +7,10 @@ on:
jobs: jobs:
add-to-project: add-to-project:
name: Add game server requests to project
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/[email protected] - name: Add to Project
uses: actions/[email protected]
with: with:
project-url: https://github.com/orgs/GameServerManagers/projects/11 project-url: https://github.com/orgs/GameServerManagers/projects/11
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

33
.github/workflows/details-check.yml

@ -1,9 +1,13 @@
name: Details Check
# This action will check that LinuxGSM is picking up game server config and parameter variables. # This action will check that LinuxGSM is picking up game server config and parameter variables.
name: Details Check
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs: jobs:
create-matrix: create-matrix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -16,7 +20,8 @@ jobs:
- name: Generate matrix with generate-matrix.sh - name: Generate matrix with generate-matrix.sh
run: chmod +x .github/workflows/detals-check-generate-matrix.sh; .github/workflows/detals-check-generate-matrix.sh run: chmod +x .github/workflows/detals-check-generate-matrix.sh; .github/workflows/detals-check-generate-matrix.sh
- id: set-matrix - name: Set Matrix
id: set-matrix
run: | run: |
shortnamearray=$(cat shortnamearray.json) shortnamearray=$(cat shortnamearray.json)
echo "${shortnamearray}" echo "${shortnamearray}"
@ -31,20 +36,23 @@ jobs:
matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }} matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}
steps: steps:
- name: Download linuxgsm.sh
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
- name: Install dependencies - name: Install dependencies
run: sudo apt-get install libxml2-utils jq run: sudo apt-get install libxml2-utils jq
- name: Download linuxgsm.sh - name: Create serverfiles directory
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/feature/info_game-refactor/linuxgsm.sh; chmod +x linuxgsm.sh run: mkdir -p serverfiles
- name: Grab server - name: Grab server
run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./linuxgsm.sh ${{ matrix.shortname }}server run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./linuxgsm.sh ${{ matrix.shortname }}server
- name: Enable developer mode - name: Enable developer mode
run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./${{ matrix.shortname }}server developer run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server developer
- id: sets-servercfgname - name: Generate servercfgname
name: Generate servercfgname id: sets-servercfgname
run: | run: |
servercfg=$(sed -n "/^\<servercfgdefault\>/ { s/.*= *\"\?\([^\"']*\)\"\?/\1/p;q }" lgsm/config-lgsm/${{ matrix.shortname }}server/_default.cfg) servercfg=$(sed -n "/^\<servercfgdefault\>/ { s/.*= *\"\?\([^\"']*\)\"\?/\1/p;q }" lgsm/config-lgsm/${{ matrix.shortname }}server/_default.cfg)
echo "servercfgname=$servercfg" >> "$GITHUB_OUTPUT" echo "servercfgname=$servercfg" >> "$GITHUB_OUTPUT"
@ -54,7 +62,7 @@ jobs:
if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then if [ -z "${{ steps.sets-servercfgname.outputs.servercfgname }}" ]; then
echo "This game server has no config file." echo "This game server has no config file."
else else
curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/rename/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}" curl -f -o config "https://raw.githubusercontent.com/GameServerManagers/Game-Server-Configs/main/${{ matrix.shortname }}/${{ steps.sets-servercfgname.outputs.servercfgname }}"
fi fi
- name: Display config - name: Display config
run: | run: |
@ -67,8 +75,11 @@ jobs:
- name: Display parameters - name: Display parameters
run: grep "startparameters" lgsm/config-default/config-lgsm/${{ matrix.shortname }}server/_default.cfg 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
- name: Detect details - name: Detect details
run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./${{ matrix.shortname }}server detect-details run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server detect-details
- name: Query Raw - name: Query Raw
run: LGSM_GITHUBBRANCH="feature/info_game-refactor" ./${{ matrix.shortname }}server query-raw run: LGSM_GITHUBBRANCH="${GITHUB_REF#refs/heads/}" ./${{ matrix.shortname }}server query-raw

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

@ -18,7 +18,7 @@ while read -r line; do
echo -n "\"shortname\":" >> "shortnamearray.json" echo -n "\"shortname\":" >> "shortnamearray.json"
echo -n "\"${shortname}\"" >> "shortnamearray.json" echo -n "\"${shortname}\"" >> "shortnamearray.json"
echo -n "}," >> "shortnamearray.json" echo -n "}," >> "shortnamearray.json"
done < serverlist.csv done < <(tail -n +2 serverlist.csv)
sed -i '$ s/.$//' "shortnamearray.json" sed -i '$ s/.$//' "shortnamearray.json"
echo -n "]" >> "shortnamearray.json" echo -n "]" >> "shortnamearray.json"
echo -n "}" >> "shortnamearray.json" echo -n "}" >> "shortnamearray.json"

9
.github/workflows/git-sync.yml

@ -1,4 +1,4 @@
name: Github to Bitbucket sync name: Github to Bitbucket Sync
# This action will sync the github repo with a backup bitbucket repo. # This action will sync the github repo with a backup bitbucket repo.
# This will allow LinuxGSM to use Bitbucket as and alternative download if github fails. # This will allow LinuxGSM to use Bitbucket as and alternative download if github fails.
on: on:
@ -6,16 +6,17 @@ on:
branches: branches:
- master - master
- develop - develop
jobs: jobs:
GitHub-to-Bitbucket: gitHub-to-bitbucket:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: webfactory/[email protected] - name: SSH Agent
uses: webfactory/[email protected] uses: webfactory/[email protected]
with: with:
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }} ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}
- name: wei/[email protected] - name: Git Sync
uses: wei/[email protected] uses: wei/[email protected]
with: with:
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }} ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}

14
.github/workflows/label-sponsors.yml

@ -1,14 +0,0 @@
name: Label sponsors
on:
pull_request:
types: [opened]
issues:
types: [opened]
jobs:
build:
name: is-sponsor-label
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/is-sponsor-label-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

26
.github/workflows/labeler.yml

@ -1,24 +1,30 @@
name: "Issue Labeler" name: Issue Labeler
on: on:
issues: issues:
types: [opened, edited] types:
pull_request: - opened
types: [opened, edited] - edited
permissions: permissions:
issues: write
contents: read contents: read
jobs: jobs:
triage: issue-labeler:
permissions:
contents: read # for github/issue-labeler to get repo contents
issues: write # for github/issue-labeler to create or remove labels
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: github/[email protected] - name: Issue Labeler
uses: github/[email protected]
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml configuration-path: .github/labeler.yml
not-before:
enable-versioned-regex: 0 enable-versioned-regex: 0
include-title: 1 include-title: 1
is-sponsor-label:
runs-on: ubuntu-latest
steps:
- name: Is Sponsor Label
uses: JasonEtco/is-sponsor-label-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

14
.github/workflows/lock.yml

@ -1,20 +1,18 @@
name: "Lock Threads" name: Lock Threads
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * 1"
permissions: permissions:
contents: read issues: write
pull-requests: write
jobs: jobs:
lock: lock:
permissions:
issues: write # for dessant/lock-threads to lock issues
pull-requests: write # for dessant/lock-threads to lock PRs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v4 - name: Lock Threads
uses: dessant/lock-threads@v4
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
issue-comment: > issue-comment: >

19
.github/workflows/potential-duplicates.yml

@ -1,30 +1,21 @@
name: Potential Duplicates name: Potential Duplicates
on: on:
issues: issues:
types: [opened] types:
- opened
jobs: jobs:
run: potential-duplicates:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: wow-actions/potential-duplicates@v1 - name: Potential Duplicates
uses: wow-actions/potential-duplicates@v1
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Issue title filter work with anymatch https://www.npmjs.com/package/anymatch.
# Any matched issue will stop detection immediately.
# You can specify multi filters in each line.
filter: "" filter: ""
# Exclude keywords in title before detecting.
exclude: "" exclude: ""
# Label to set, when potential duplicates are detected.
label: potential-duplicate label: potential-duplicate
# Get issues with state to compare. Supported state: 'all', 'closed', 'open'.
state: all state: all
# If similarity is higher than this threshold([0,1]), issue will be marked as duplicate.
threshold: 0.8 threshold: 0.8
# Reactions to be add to comment when potential duplicates are detected.
# Available reactions: "-1", "+1", "confused", "laugh", "heart", "hooray", "rocket", "eyes"
#reactions: 'eyes, confused'
# Comment to post when potential duplicates are detected.
comment: > comment: >
Potential duplicates: {{#issues}} Potential duplicates: {{#issues}}
- [#{{ number }}] {{ title }} ({{ accuracy }}%) - [#{{ number }}] {{ title }} ({{ accuracy }}%)

22
.github/workflows/serverlist-validate.sh

@ -0,0 +1,22 @@
#!/bin/bash
echo "Checking that all the game servers are listed in all csv files"
echo "this check will ensure serverlist.csv has the same number of lines (-2 lines) as the other csv files"
# count the number of lines in the serverlist.csv
cd "lgsm/data" || exit
serverlistcount="$(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
exit ${exitcode}

14
.github/workflows/serverlist-validate.yml

@ -0,0 +1,14 @@
name: Server List Validation
on:
workflow_dispatch:
push:
jobs:
serverlist-validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compare Versions
run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh

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

@ -3,12 +3,14 @@ on:
release: release:
types: types:
- published - published
jobs: jobs:
trigger_build_docker-linuxgsm: trigger_build_docker-linuxgsm:
name: Trigger Build docker-linuxgsm name: Trigger Build Docker LinuxGSM
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: convictional/[email protected] - name: Trigger Workflow and Wait (linuxgsm)
uses: convictional/[email protected]
with: with:
owner: GameServerManagers owner: GameServerManagers
repo: docker-linuxgsm repo: docker-linuxgsm
@ -16,10 +18,12 @@ jobs:
workflow_file_name: docker-publish.yml workflow_file_name: docker-publish.yml
trigger_build_docker-gameserver: trigger_build_docker-gameserver:
name: Trigger Build docker-linuxgsm name: Trigger Build Docker GameServer
needs: trigger_build_docker-linuxgsm
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: convictional/[email protected] - name: Trigger Workflow and Wait (gameserver)
uses: convictional/[email protected]
with: with:
owner: GameServerManagers owner: GameServerManagers
repo: docker-gameserver repo: docker-gameserver

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

@ -1,6 +1,4 @@
---
name: Update copyright year(s) in license file name: Update copyright year(s) in license file
on: on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
@ -10,10 +8,12 @@ jobs:
update-license-year: update-license-year:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: FantasticFiasco/action-update-license-year@v3 - name: Action Update License Year
uses: FantasticFiasco/action-update-license-year@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
path: LICENSE.md path: LICENSE.md

22
.github/workflows/version-check.yml

@ -1,26 +1,16 @@
# This is a basic workflow to help you get started with Actions
name: Version Check name: Version Check
on:
push:
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: push
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions: permissions:
contents: read contents: read
jobs: jobs:
# This workflow contains a single job called "build" version-Check:
Version-Check:
# The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout
- uses: actions/checkout@v3 uses: actions/checkout@v3
# Runs a single command using the runners shell - name: Version Check
- name: compare versions
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh

3
.gitignore

@ -1,3 +1,2 @@
*.db .vscode/settings.json
.idea
/node_modules /node_modules

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

@ -12,8 +12,6 @@
steamuser="username" steamuser="username"
steampass='password' steampass='password'
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-c ${servercfgfullpath}" startparameters="-c ${servercfgfullpath}"
@ -172,7 +170,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -178,7 +178,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -176,7 +176,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -193,7 +193,7 @@ networkcfgfullpath="${networkcfgdir}/${networkcfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -8,8 +8,6 @@
#### Game Server Settings #### #### Game Server Settings ####
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath}" startparameters="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath}"
@ -139,7 +137,7 @@ stopmode="10"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="5" querymode="1"
querytype="" querytype=""
## Console type ## Console type
@ -170,7 +168,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/ServerLogs" gamelogdir="${systemdir}/ServerLogs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -173,7 +173,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -156,7 +156,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -132,7 +132,7 @@ querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"
consoleinteract="no" consoleinteract="yes"
## Game Server Details ## Game Server Details
# Do not edit # Do not edit
@ -156,7 +156,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/mods/bfvietnam/logs" gamelogdir="${serverfiles}/mods/bfvietnam/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -12,7 +12,6 @@
# GSLT can be used for running a public server. # GSLT can be used for running a public server.
# More info: https://docs.linuxgsm.com/steamcmd/gslt # More info: https://docs.linuxgsm.com/steamcmd/gslt
gslt="" gslt=""
ip=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-batchmode -nographics -dedicated -configfile=${servercfgfullpath}" startparameters="-batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
@ -172,7 +171,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -183,7 +183,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -146,7 +146,7 @@ querymode="2"
querytype="protocol-valve" querytype="protocol-valve"
## Console type ## Console type
consoleverbose="no" consoleverbose="yes"
consoleinteract="no" consoleinteract="no"
## Game Server Details ## Game Server Details
@ -171,7 +171,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -137,8 +137,8 @@ stopmode="7"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="2" querymode="1"
querytype="protocol-valve" querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"
@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/ServerLogs" gamelogdir="${systemdir}/ServerLogs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -170,7 +170,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/logs" gamelogdir="${serverfiles}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -172,7 +172,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -167,7 +167,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/gamedata/logs/server/" gamelogdir="${serverfiles}/gamedata/logs/server/"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -210,7 +210,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -0,0 +1,182 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.
#### Game Server Settings ####
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-batchmode -showlogs"
#### LinuxGSM Settings ####
## LinuxGSM Stats
# Send useful stats to LinuxGSM developers.
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
# (on|off)
stats="off"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
discordalert="off"
discordwebhook="webhook"
# Email Alerts | https://docs.linuxgsm.com/alerts/email
emailalert="off"
email="[email protected]"
emailfrom=""
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
gotifyalert="off"
gotifytoken="token"
gotifywebhook="webhook"
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
mailgunalert="off"
mailgunapiregion="us"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="[email protected]"
mailgunemail="[email protected]"
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
pushoveralert="off"
pushovertoken="accesstoken"
pushoveruserkey="userkey"
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
rocketchatalert="off"
rocketchatwebhook="webhook"
rocketchattoken=""
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
slackalert="off"
slackwebhook="webhook"
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""
## Updating | https://docs.linuxgsm.com/commands/update
updateonstart="off"
## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"
## Logging | https://docs.linuxgsm.com/features/logging
consolelogging="on"
logdays="7"
## Monitor | https://docs.linuxgsm.com/commands/monitor
# Query delay time
querydelay="1"
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"
#### Advanced Settings ####
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="1670340"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="5"
## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="1"
querytype=""
## Console type
consoleverbose="no"
consoleinteract="yes"
## Game Server Details
# Do not edit
gamename="Craftopia"
engine="unity3d"
glibc="2.17"
#### Directories ####
# Edit with care
## Game Server Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
executable="./Craftopia.x86_64"
servercfgdir="${systemdir}"
servercfg="ServerSetting.ini"
servercfgdefault="ServerSetting.ini"
servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory
backupdir="${lgsmdir}/backup"
## Logging Directories
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
#gamelogdir="${serverfiles}"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${selfname}-game.log"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
consolelog="${consolelogdir}/${selfname}-console.log"
alertlog="${lgsmlogdir}/${selfname}-alert.log"
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
## Logs Naming
gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -8,10 +8,6 @@
#### Game Server Settings #### #### Game Server Settings ####
## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
# steamuser="username"
# steampass='password'
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0" ip="0.0.0.0"
port="2302" port="2302"
@ -189,7 +185,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -172,7 +172,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -175,7 +175,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -181,7 +181,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${logdir}/server" gamelogdir="${logdir}/server"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -153,7 +153,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -164,7 +164,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}" gamelogdir="${serverfiles}"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -187,7 +187,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -0,0 +1,199 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.
#### Game Server Settings ####
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
defaultmap="KidsBedroom"
ip="0.0.0.0"
maxplayers="8"
port="7777"
queryport="27015"
servername="LinuxGSM"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="${defaultmap}?Difficulty=1?Game=DM?MapList=KidsBedroom,Playground,Garden,Hallway_Simple,Bathroom,Hallway_Hard,Attic_Daytime,Shed,ToyPalace,Kitchen,Garage?MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600?ScoreLimit=30?Teamplay -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended"
## Server Parameters for Plague mode
#startparameters="${defaultmap}?Game=PL?MapList=KidsBedroom,Garden,Hallway_Simple,Attic_Daytime,Garage,Shed,Kitchen,Hallway_Hard,ToyPalace,Bathroom?MaxPlayers=${maxplayers}?WeaponTypes=7?TimeLimit=600 -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended"
## Server Parameters for Co-op mode
#startparameters="${defaultmap}?Difficulty=1?Game=WV?MapList=KidsBedroom?MaxPlayers=4 -ServerName='${servername}' -Port=${port} -QueryPort=${queryport} -NOCONSOLE -unattended"
#### LinuxGSM Settings ####
## LinuxGSM Stats
# Send useful stats to LinuxGSM developers.
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
# (on|off)
stats="off"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
discordalert="off"
discordwebhook="webhook"
# Email Alerts | https://docs.linuxgsm.com/alerts/email
emailalert="off"
email="[email protected]"
emailfrom=""
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
gotifyalert="off"
gotifytoken="token"
gotifywebhook="webhook"
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
mailgunalert="off"
mailgunapiregion="us"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="[email protected]"
mailgunemail="[email protected]"
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
pushoveralert="off"
pushovertoken="accesstoken"
pushoveruserkey="userkey"
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
rocketchatalert="off"
rocketchatwebhook="webhook"
rocketchattoken=""
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
slackalert="off"
slackwebhook="webhook"
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""
## Updating | https://docs.linuxgsm.com/commands/update
updateonstart="off"
## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"
## Logging | https://docs.linuxgsm.com/features/logging
consolelogging="on"
logdays="7"
## Monitor | https://docs.linuxgsm.com/commands/monitor
# Query delay time
querydelay="5"
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"
#### Advanced Settings ####
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="1045940"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="2"
## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="1"
querytype=""
## Console type
consoleverbose="no"
consoleinteract="no"
## Game Server Details
# Do not edit
gamename="HYPERCHARGE: Unboxed"
engine="unreal4"
glibc="2.17"
#### Directories ####
# Edit with care
## Game Server Directories
systemdir="${serverfiles}/Unboxed"
executabledir="${systemdir}/Binaries/Linux"
executable="./UnboxedServer-Linux-Shipping"
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfg="GameUserSettings.ini"
servercfgdefault="GameUserSettings.ini"
servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory
backupdir="${lgsmdir}/backup"
## Logging Directories
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
consolelog="${consolelogdir}/${selfname}-console.log"
alertlog="${lgsmlogdir}/${selfname}-alert.log"
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
## Log Parameters
logtimestamp="off"
logtimestampformat="%Y-%m-%d %H:%M:%S"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -173,7 +173,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -180,7 +180,7 @@ executable="./Hurtworld.x86_64"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${logdir}/server" gamelogdir="${logdir}/server"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -180,7 +180,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -20,7 +20,7 @@ defaultscenario="Scenario_Crossing_Push_Security"
maxplayers="28" maxplayers="28"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
## Parameter Docs | https://sandstorm-support.newworldinteractive.com/hc/en-us/articles/360049211072-Server-Admin-Guide ## Parameter Docs | https://mod.io/g/insurgencysandstorm/r/server-admin-guide
startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -Rcon -RconPassword=${rconpassword} -RconListenPort=${rconport} -log" startparameters="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers} -Port=${port} -QueryPort=${queryport} -hostname='${servername}' -Rcon -RconPassword=${rconpassword} -RconListenPort=${rconport} -log"
#### LinuxGSM Settings #### #### LinuxGSM Settings ####
@ -177,7 +177,7 @@ servercfgdefault="Game.ini"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
#gamelogdir="" # No server logs available #gamelogdir="" # No server logs available
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -137,8 +137,8 @@ stopmode="2"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="2" querymode="1"
querytype="protocol-valve" querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"
@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log" lgsmlog="${lgsmlogdir}/${selfname}-script.log"

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

@ -175,7 +175,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backups" backupdir="${lgsmdir}/backups"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -172,7 +172,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,6 @@ glibc="2.4"
# Edit with care # Edit with care
## Game Server Directories ## Game Server Directories
serverfiles="${rootdir}/serverfiles"
systemdir="${serverfiles}/System" systemdir="${serverfiles}/System"
executabledir="${systemdir}" executabledir="${systemdir}"
executable="./ucc-bin" executable="./ucc-bin"
@ -180,7 +179,7 @@ compressedmapsdir="${rootdir}/Maps-Compressed"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${logdir}/server" gamelogdir="${logdir}/server"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -173,7 +173,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -173,7 +173,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -177,7 +177,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -159,7 +159,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}" gamelogdir="${systemdir}"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -145,8 +145,8 @@ stopmode="2"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="2" querymode="1"
querytype="protocol-valve" querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"
@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -129,8 +129,8 @@ stopmode="3"
# 3: gamedig # 3: gamedig
# 4: gsquery # 4: gsquery
# 5: tcp # 5: tcp
querymode="2" querymode="1"
querytype="protocol-quake3" querytype=""
## Console type ## Console type
consoleverbose="yes" consoleverbose="yes"
@ -158,7 +158,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Logs" gamelogdir="${serverfiles}/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -171,7 +171,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/Game/Saved/Logs" gamelogdir="${serverfiles}/Game/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -158,7 +158,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${serverfiles}/mods/deathmatch/logs" gamelogdir="${serverfiles}/mods/deathmatch/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -7,6 +7,7 @@
# [instance].cfg - applies settings to a specific instance. # [instance].cfg - applies settings to a specific instance.
#### Game Server Settings #### #### Game Server Settings ####
## Pre-defined Paramters | https://docs.linuxgsm.com/configuration/start-parameters#predefined-parameters ## Pre-defined Paramters | https://docs.linuxgsm.com/configuration/start-parameters#predefined-parameters
worldname="MyWorld" worldname="MyWorld"
@ -168,7 +169,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -179,7 +179,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\" # -password \"${serverpassword}\"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name \"${servername}\" -port ${port} -webinterface -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -modstorage \"${modstoragedir}\" -mods \"${mods}\"" startparameters="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -modstorage \"${modstoragedir}\" -mods \"${mods}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####
@ -179,7 +179,7 @@ modstoragedir="${servercfgdir}/Workshop"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\" # -password \"${serverpassword}\"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name \"${servername}\" -port ${port} -webinterface -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -logdir \"${gamelogdir}\" -modstorage \"${modstoragedir}\" -mods2 \"${mods}\"" startparameters="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${httpuser} -webpassword \"${httppassword}\" -webport ${httpport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -logdir \"${gamelogdir}\" -modstorage \"${modstoragedir}\" -mods2 \"${mods}\""
#### LinuxGSM Settings #### #### LinuxGSM Settings ####
@ -179,7 +179,7 @@ modstoragedir="${servercfgdir}/Workshop"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

191
lgsm/config-default/config-lgsm/ohdserver/_default.cfg

@ -0,0 +1,191 @@
##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.
#### Game Server Settings ####
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
port="7777"
queryport="27005"
servername="LinuxGSM Server"
serverpassword=""
# Maps: risala, khafji_p, lamdong, montecassino, argonne
defaultmap="AAS-TestMap"
maxplayers="16"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="${defaultmap}?MaxPlayers=${maxplayers}?Password=${serverpassword} -Port=${port} -QueryPort=${queryport} -SteamServerName='${servername}' -log"
#### LinuxGSM Settings ####
## LinuxGSM Stats
# Send useful stats to LinuxGSM developers.
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
# (on|off)
stats="off"
## Notification Alerts
# (on|off)
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""
# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
discordalert="off"
discordwebhook="webhook"
# Email Alerts | https://docs.linuxgsm.com/alerts/email
emailalert="off"
email="[email protected]"
emailfrom=""
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
gotifyalert="off"
gotifytoken="token"
gotifywebhook="webhook"
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
mailgunalert="off"
mailgunapiregion="us"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="[email protected]"
mailgunemail="[email protected]"
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
pushoveralert="off"
pushovertoken="accesstoken"
pushoveruserkey="userkey"
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
rocketchatalert="off"
rocketchatwebhook="webhook"
rocketchattoken=""
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
slackalert="off"
slackwebhook="webhook"
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""
## Updating | https://docs.linuxgsm.com/commands/update
updateonstart="off"
## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"
## Logging | https://docs.linuxgsm.com/features/logging
consolelogging="on"
logdays="7"
## Monitor | https://docs.linuxgsm.com/commands/monitor
# Query delay time
querydelay="1"
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
ansi="on"
#### Advanced Settings ####
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
sleeptime="0.5"
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
# Server appid
appid="950900"
steamcmdforcewindows="no"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
betapassword=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="false"
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: GoldSrc
# 10: Avorion
# 11: end
stopmode="2"
## Query mode
# 1: session only
# 2: gamedig (gsquery fallback)
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="2"
querytype="protocol-valve"
## Console type
consoleverbose="yes"
consoleinteract="no"
## Game Server Details
# Do not edit
gamename="Operation: Harsh Doorstop"
engine="unreal4"
glibc="2.17"
#### Directories ####
# Edit with care
## Game Server Directories
systemdir="${serverfiles}/HarshDoorstop"
executabledir="${systemdir}/Binaries/Linux"
executable="./HarshDoorstopServer-Linux-Shipping"
servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfg="Game.ini"
servercfgdefault="Game.ini"
servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory
backupdir="${lgsmdir}/backup"
## Logging Directories
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${selfname}-game.log"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
consolelog="${consolelogdir}/${selfname}-console.log"
alertlog="${lgsmlogdir}/${selfname}-alert.log"
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -170,7 +170,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -166,7 +166,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -164,7 +164,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -175,7 +175,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -174,7 +174,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs" gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

@ -173,7 +173,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup" backupdir="${lgsmdir}/backup"
## Logging Directories ## Logging Directories
logdir="${rootdir}/log" [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs" gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script" lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console" consolelogdir="${logdir}/console"

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

Loading…
Cancel
Save