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

This commit is contained in:
Daniel Gibbs 2023-08-28 22:52:52 +01:00
commit 64f9d29248
295 changed files with 4238 additions and 1277 deletions

View File

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

View File

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

View File

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

View File

@ -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 will allow LinuxGSM to use Bitbucket as and alternative download if github fails.
on:
@ -6,16 +6,17 @@ on:
branches:
- master
- develop
jobs:
GitHub-to-Bitbucket:
gitHub-to-bitbucket:
runs-on: ubuntu-latest
steps:
- name: webfactory/ssh-agent@v0.8.0
- name: SSH Agent
uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.BITBUCKET_SECRET }}
- name: wei/git-sync@v3.0.0
- name: Git Sync
uses: wei/git-sync@v3.0.0
with:
ssh_private_key: ${{ secrets.BITBUCKET_SECRET }}

View File

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

View File

@ -1,24 +1,30 @@
name: "Issue Labeler"
name: Issue Labeler
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]
types:
- opened
- edited
permissions:
issues: write
contents: read
jobs:
triage:
permissions:
contents: read # for github/issue-labeler to get repo contents
issues: write # for github/issue-labeler to create or remove labels
issue-labeler:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.1
- name: Issue Labeler
uses: github/issue-labeler@v3.2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
not-before:
enable-versioned-regex: 0
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 }}

View File

@ -1,20 +1,18 @@
name: "Lock Threads"
name: Lock Threads
on:
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * 1"
permissions:
contents: read
issues: write
pull-requests: write
jobs:
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
steps:
- uses: dessant/lock-threads@v4
- name: Lock Threads
uses: dessant/lock-threads@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-comment: >

View File

@ -1,30 +1,21 @@
name: Potential Duplicates
on:
issues:
types: [opened]
types:
- opened
jobs:
run:
potential-duplicates:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/potential-duplicates@v1
- name: Potential Duplicates
uses: wow-actions/potential-duplicates@v1
with:
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: ""
# Exclude keywords in title before detecting.
exclude: ""
# Label to set, when potential duplicates are detected.
label: potential-duplicate
# Get issues with state to compare. Supported state: 'all', 'closed', 'open'.
state: all
# If similarity is higher than this threshold([0,1]), issue will be marked as duplicate.
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: >
Potential duplicates: {{#issues}}
- [#{{ number }}] {{ title }} ({{ accuracy }}%)

22
.github/workflows/serverlist-validate.sh vendored Executable file
View File

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

View File

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

View File

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

View File

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

View File

@ -1,26 +1,16 @@
# This is a basic workflow to help you get started with Actions
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:
contents: read
jobs:
# This workflow contains a single job called "build"
Version-Check:
# The type of runner that the job will run on
version-Check:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: compare versions
- name: Version Check
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh

3
.gitignore vendored
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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@example.com"
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="alert@example.com"
mailgunemail="email@myemail.com"
# 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"

View File

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

View File

@ -8,10 +8,6 @@
#### 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
ip="0.0.0.0"
port="2302"
@ -189,7 +185,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${lgsmdir}/backup"
## Logging Directories
logdir="${rootdir}/log"
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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@example.com"
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="alert@example.com"
mailgunemail="email@myemail.com"
# 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"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -20,7 +20,7 @@ defaultscenario="Scenario_Crossing_Push_Security"
maxplayers="28"
## 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"
#### LinuxGSM Settings ####
@ -177,7 +177,7 @@ servercfgdefault="Game.ini"
backupdir="${lgsmdir}/backup"
## Logging Directories
logdir="${rootdir}/log"
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/Saved/Logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\"
## 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 ####
@ -179,7 +179,7 @@ modstoragedir="${servercfgdir}/Workshop"
backupdir="${lgsmdir}/backup"
## Logging Directories
logdir="${rootdir}/log"
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"

View File

@ -24,7 +24,7 @@ serverpassword=""
# -password \"${serverpassword}\"
## 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 ####
@ -179,7 +179,7 @@ modstoragedir="${servercfgdir}/Workshop"
backupdir="${lgsmdir}/backup"
## Logging Directories
logdir="${rootdir}/log"
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"

View File

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

View File

@ -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@example.com"
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="alert@example.com"
mailgunemail="email@myemail.com"
# 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"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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