mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
Merge branch 'develop' into feature/git-branch-check
This commit is contained in:
commit
64f9d29248
6
.github/workflows/add-to-project.yml
vendored
6
.github/workflows/add-to-project.yml
vendored
@ -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 }}
|
||||
|
33
.github/workflows/details-check.yml
vendored
33
.github/workflows/details-check.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
9
.github/workflows/git-sync.yml
vendored
9
.github/workflows/git-sync.yml
vendored
@ -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 }}
|
||||
|
14
.github/workflows/label-sponsors.yml
vendored
14
.github/workflows/label-sponsors.yml
vendored
@ -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
vendored
26
.github/workflows/labeler.yml
vendored
@ -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 }}
|
||||
|
14
.github/workflows/lock.yml
vendored
14
.github/workflows/lock.yml
vendored
@ -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: >
|
||||
|
19
.github/workflows/potential-duplicates.yml
vendored
19
.github/workflows/potential-duplicates.yml
vendored
@ -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
22
.github/workflows/serverlist-validate.sh
vendored
Executable 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}
|
14
.github/workflows/serverlist-validate.yml
vendored
Normal file
14
.github/workflows/serverlist-validate.yml
vendored
Normal 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
|
12
.github/workflows/trigger-docker-build.yml
vendored
12
.github/workflows/trigger-docker-build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
22
.github/workflows/version-check.yml
vendored
22
.github/workflows/version-check.yml
vendored
@ -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
3
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
*.db
|
||||
.idea
|
||||
.vscode/settings.json
|
||||
/node_modules
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
182
lgsm/config-default/config-lgsm/ctserver/_default.cfg
Normal file
182
lgsm/config-default/config-lgsm/ctserver/_default.cfg
Normal 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"
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
199
lgsm/config-default/config-lgsm/hcuserver/_default.cfg
Normal file
199
lgsm/config-default/config-lgsm/hcuserver/_default.cfg
Normal 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"
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
191
lgsm/config-default/config-lgsm/ohdserver/_default.cfg
Normal file
191
lgsm/config-default/config-lgsm/ohdserver/_default.cfg
Normal 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"
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user