77 changed files with 2034 additions and 860 deletions
@ -1,50 +0,0 @@ |
|||
--- |
|||
name: Bug Report |
|||
about: Found a bug? Raise a report. |
|||
title: "[BUG]" |
|||
labels: "type: bug" |
|||
assignees: "" |
|||
--- |
|||
|
|||
Issues raised here are **ONLY** for: |
|||
|
|||
- LinuxGSM bugs. |
|||
- Feature suggestions. |
|||
- Code contributions. |
|||
|
|||
Issues raised here are **NOT** for: |
|||
|
|||
- General support. |
|||
- Specific game server issues (e.g CS:GO, TF2). |
|||
- Dedicated server issues (e.g Ubuntu, CentOS). |
|||
- Anything not directly related to LinuxGSM development. |
|||
|
|||
For general support visit the **[LinuxGSM-Support](https://linuxgsm.com/support)**. |
|||
|
|||
**_Please use the template below, deleting the above text_** |
|||
|
|||
## User Story |
|||
|
|||
As a [user description], I want [desired action] so that [desired outcome]. |
|||
|
|||
## Basic info |
|||
|
|||
- **Distro:** [Ubuntu 18.04] |
|||
- **Game:** [Garry's Mod] |
|||
- **Command:** [Monitor] |
|||
- **LinuxGSM version:** [v20.1.3] |
|||
|
|||
## Further Information |
|||
|
|||
A clear description of what the bug is and any ideas on how to resolve it. Plus any further context that might be relevant to the issue. |
|||
|
|||
## To Reproduce |
|||
|
|||
Steps to reproduce the behaviour: |
|||
|
|||
1. Go to '...' |
|||
2. Click on '....' |
|||
3. Scroll down to '....' |
|||
4. See error |
|||
|
|||
## Expected behaviour |
@ -0,0 +1,95 @@ |
|||
--- |
|||
name: Bug Report |
|||
description: File a bug report |
|||
title: "[Bug]: " |
|||
labels: ["type: bug"] |
|||
body: |
|||
- type: markdown |
|||
attributes: |
|||
value: | |
|||
Thanks for taking the time to fill out this bug report! |
|||
- type: input |
|||
id: user-story |
|||
attributes: |
|||
label: User story |
|||
description: As a [user description], I want [desired action] so that [desired outcome]. |
|||
placeholder: As a [user description], I want [desired action] so that [desired outcome]. |
|||
validations: |
|||
required: true |
|||
- type: input |
|||
id: game |
|||
attributes: |
|||
label: Game |
|||
description: What game server are you hosting? |
|||
placeholder: Valheim |
|||
validations: |
|||
required: true |
|||
- type: dropdown |
|||
id: distro |
|||
attributes: |
|||
label: Linux distro |
|||
multiple: true |
|||
options: |
|||
- Ubuntu 22.04 |
|||
- Ubuntu 20.04 |
|||
- Ubuntu 18.04 |
|||
- Ubuntu 16.04 |
|||
- Debian 11 |
|||
- Debian 10 |
|||
- Debian 9 |
|||
- RedHat 9 |
|||
- RedHat 8 |
|||
- RedHat 7 |
|||
- Other |
|||
validations: |
|||
required: true |
|||
- type: dropdown |
|||
id: command |
|||
attributes: |
|||
label: Command |
|||
multiple: true |
|||
options: |
|||
- "command: start" |
|||
- "command: stop" |
|||
- "command: restart" |
|||
- "command: monitor" |
|||
- "command: details" |
|||
- "command: update" |
|||
- "command: validate" |
|||
- "command: backup" |
|||
- "command: mods-install" |
|||
- "command: mods-update" |
|||
- "command: mods-remove" |
|||
- "command: debug" |
|||
- "command: console" |
|||
- "command: install" |
|||
- "command: auto-update" |
|||
- "command: update-lgsm" |
|||
- "command: wipe" |
|||
- "command: send" |
|||
validations: |
|||
required: true |
|||
- type: textarea |
|||
id: further-info |
|||
attributes: |
|||
label: Further information |
|||
description: A clear description of what the bug is, any ideas on how to resolve it and any further context that might be relevant to the issue. |
|||
placeholder: Tell us what you see! |
|||
validations: |
|||
required: true |
|||
- type: textarea |
|||
id: logs |
|||
attributes: |
|||
label: Relevant log output |
|||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. |
|||
render: shell |
|||
- type: textarea |
|||
id: steps |
|||
attributes: |
|||
label: Steps to reproduce |
|||
description: Steps to reproduce the behaviour. |
|||
placeholder: | |
|||
1. Go to '...' |
|||
2. Click on '....' |
|||
3. Scroll down to '....' |
|||
4. See error |
@ -0,0 +1,8 @@ |
|||
blank_issues_enabled: false |
|||
contact_links: |
|||
- name: Ask a question |
|||
about: Ask questions and discuss with other users of LinuxGSM. |
|||
url: https://github.com/GameServerManagers/LinuxGSM/discussions |
|||
- name: Discord Server |
|||
about: Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice |
|||
url: https://linuxgsm.com/discord |
@ -1,43 +0,0 @@ |
|||
--- |
|||
name: Feature Request |
|||
about: Suggest an idea for LinuxGSM. |
|||
title: "[FEATURE]" |
|||
labels: "type: feature request" |
|||
assignees: "" |
|||
--- |
|||
|
|||
Issues raised here are **ONLY** for: |
|||
|
|||
- LinuxGSM bugs. |
|||
- Feature suggestions. |
|||
- Code contributions. |
|||
|
|||
Issues raised here are **NOT** for: |
|||
|
|||
- General support. |
|||
- Specific game server issues (e.g CS:GO, TF2). |
|||
- Dedicated server issues (e.g Ubuntu, CentOS). |
|||
- Anything not directly related to LinuxGSM development. |
|||
|
|||
For general support visit the **[LinuxGSM Support](https://linuxgsm.com/support)** page. |
|||
|
|||
**_Please use the template below, deleting the above text_** |
|||
|
|||
## User Story |
|||
|
|||
As a [user description], I want [desired action] so that [desired outcome]. |
|||
|
|||
## Basic info |
|||
|
|||
- **Distro:** [Ubuntu 20.04] |
|||
- **Game:** [Garry's Mod] |
|||
- **Command:** [Monitor] |
|||
- **LinuxGSM version:** [v20.1.3] |
|||
|
|||
## Further Information |
|||
|
|||
A clear description of what the feature is and any ideas on how to achieve this. |
|||
|
|||
## Further Reading |
|||
|
|||
Provide any useful documentation or resources that might help. |
@ -0,0 +1,78 @@ |
|||
--- |
|||
name: Feature Request |
|||
description: Suggest a feature |
|||
title: "[Feature]: " |
|||
labels: ["type: feature"] |
|||
body: |
|||
- type: markdown |
|||
attributes: |
|||
value: | |
|||
Thanks for taking the time to fill out this feature request! |
|||
- type: input |
|||
id: user-story |
|||
attributes: |
|||
label: User story |
|||
description: As a [user description], I want [desired action] so that [desired outcome]. |
|||
placeholder: As a [user description], I want [desired action] so that [desired outcome]. |
|||
validations: |
|||
required: true |
|||
- type: input |
|||
id: game |
|||
attributes: |
|||
label: Game |
|||
description: What game server are you hosting? |
|||
placeholder: Valheim |
|||
validations: |
|||
required: false |
|||
- type: dropdown |
|||
id: distro |
|||
attributes: |
|||
label: Linux distro |
|||
multiple: true |
|||
options: |
|||
- Ubuntu 22.04 |
|||
- Ubuntu 20.04 |
|||
- Ubuntu 18.04 |
|||
- Ubuntu 16.04 |
|||
- Debian 11 |
|||
- Debian 10 |
|||
- Debian 9 |
|||
- RedHat 9 |
|||
- RedHat 8 |
|||
- RedHat 7 |
|||
- Other |
|||
validations: |
|||
required: false |
|||
- type: dropdown |
|||
id: command |
|||
attributes: |
|||
label: Command |
|||
multiple: true |
|||
options: |
|||
- "command: start" |
|||
- "command: stop" |
|||
- "command: restart" |
|||
- "command: monitor" |
|||
- "command: details" |
|||
- "command: update" |
|||
- "command: validate" |
|||
- "command: backup" |
|||
- "command: mods-install" |
|||
- "command: mods-update" |
|||
- "command: mods-remove" |
|||
- "command: debug" |
|||
- "command: console" |
|||
- "command: install" |
|||
- "command: auto-update" |
|||
- "command: update-lgsm" |
|||
- "command: wipe" |
|||
- "command: send" |
|||
validations: |
|||
required: true |
|||
- type: textarea |
|||
id: further-info |
|||
attributes: |
|||
label: Further information |
|||
description: A clear description of what the feature is and any ideas on how to achieve this. |
|||
validations: |
|||
required: true |
@ -1,31 +0,0 @@ |
|||
--- |
|||
name: New Server Request |
|||
about: Suggest a new game server to be added. |
|||
title: "[Server Request]" |
|||
labels: "type: game server request" |
|||
assignees: "" |
|||
--- |
|||
|
|||
## What game server would you like to add? |
|||
|
|||
[game server] |
|||
|
|||
## Can you link to any tutorials or guides? |
|||
|
|||
Provide any useful documentation or resources that might help. |
|||
|
|||
## Is the server on Steam? |
|||
|
|||
- [ ] Yes |
|||
- [ ] No |
|||
|
|||
If yes Use SteamDB to get the appid. (https://steamdb.info). |
|||
|
|||
[appid] |
|||
|
|||
## Is the server supported on Linux? |
|||
|
|||
We only support Linux servers and do **not** support Wine. |
|||
|
|||
- [ ] Yes |
|||
- [ ] No |
@ -0,0 +1,57 @@ |
|||
--- |
|||
name: Server Request |
|||
description: Suggest a new game server to be added |
|||
title: "[Server Request]: " |
|||
labels: ["type: game server request"] |
|||
body: |
|||
- type: markdown |
|||
attributes: |
|||
value: | |
|||
Thanks for taking the time to fill out this game server! |
|||
- type: input |
|||
id: game-server |
|||
attributes: |
|||
label: Game server |
|||
description: What game server would you like to add? |
|||
validations: |
|||
required: true |
|||
- type: checkboxes |
|||
id: on-linux |
|||
attributes: |
|||
label: Linux support |
|||
description: Does this game server have Linux support? (not wine) |
|||
options: |
|||
- label: "Yes" |
|||
validations: |
|||
required: true |
|||
- type: dropdown |
|||
id: on-steam |
|||
attributes: |
|||
label: Steam |
|||
description: Is this game server available on Steam? |
|||
options: |
|||
- "Yes" |
|||
- "No" |
|||
validations: |
|||
required: true |
|||
- type: input |
|||
id: steam-id |
|||
attributes: |
|||
label: Steam appid |
|||
description: What is the Steam appid of the game server? Use SteamDB to get the appid. (https://steamdb.info). |
|||
placeholder: "892970" |
|||
validations: |
|||
required: false |
|||
- type: textarea |
|||
id: guides |
|||
attributes: |
|||
label: Guides |
|||
description: Links to guides on how to install the game server |
|||
- type: checkboxes |
|||
id: terms |
|||
attributes: |
|||
label: Code of Conduct |
|||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) |
|||
options: |
|||
- label: I agree to follow this project's Code of Conduct |
|||
required: true |
@ -1,23 +0,0 @@ |
|||
name: Release Drafter |
|||
|
|||
on: |
|||
push: |
|||
# branches to consider in the event; optional, defaults to all |
|||
branches: |
|||
- master |
|||
permissions: |
|||
contents: read |
|||
|
|||
jobs: |
|||
update_release_draft: |
|||
permissions: |
|||
contents: write # for release-drafter/release-drafter to create a github release |
|||
pull-requests: write # for release-drafter/release-drafter to add label to PR |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
# Drafts your next Release notes as Pull Requests are merged into "master" |
|||
- uses: release-drafter/[email protected] |
|||
with: |
|||
config-name: release-drafter.yml |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
@ -1,55 +0,0 @@ |
|||
--- |
|||
################################# |
|||
################################# |
|||
## Super Linter GitHub Actions ## |
|||
################################# |
|||
################################# |
|||
name: Lint Code Base |
|||
|
|||
# |
|||
# Documentation: |
|||
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions |
|||
# |
|||
|
|||
############################# |
|||
# Start the job on all push # |
|||
############################# |
|||
on: |
|||
push: |
|||
branches-ignore: [master, main] |
|||
# Remove the line above to run when pushing to master |
|||
pull_request: |
|||
|
|||
############### |
|||
# Set the Job # |
|||
############### |
|||
jobs: |
|||
build: |
|||
# Name the Job |
|||
name: Lint Code Base |
|||
# Set the agent to run on |
|||
runs-on: ubuntu-latest |
|||
|
|||
################## |
|||
# Load all steps # |
|||
################## |
|||
steps: |
|||
########################## |
|||
# Checkout the code base # |
|||
########################## |
|||
- name: Checkout Code |
|||
uses: actions/checkout@v2 |
|||
with: |
|||
# Full git history is needed to get a proper list of changed files within `super-linter` |
|||
fetch-depth: 0 |
|||
|
|||
################################ |
|||
# Run Linter against code base # |
|||
################################ |
|||
- name: Lint Code Base |
|||
uses: github/super-linter@v4 |
|||
env: |
|||
VALIDATE_ALL_CODEBASE: false |
|||
# Change to 'master' if your main branch differs |
|||
DEFAULT_BRANCH: main |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
@ -0,0 +1,27 @@ |
|||
name: Trigger Docker Build |
|||
on: |
|||
release: |
|||
types: |
|||
- published |
|||
jobs: |
|||
trigger_build_docker-linuxgsm: |
|||
name: Trigger Build docker-linuxgsm |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: convictional/[email protected] |
|||
with: |
|||
owner: GameServerManagers |
|||
repo: docker-linuxgsm |
|||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} |
|||
workflow_file_name: docker-publish.yml |
|||
|
|||
trigger_build_docker-gameserver: |
|||
name: Trigger Build docker-linuxgsm |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: convictional/[email protected] |
|||
with: |
|||
owner: GameServerManagers |
|||
repo: docker-gameserver |
|||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} |
|||
workflow_file_name: docker-publish.yml |
@ -1,6 +1,6 @@ |
|||
# The MIT License (MIT) |
|||
|
|||
Copyright (c) 2012-2022 Daniel Gibbs |
|||
Copyright (c) 2012-2023 Daniel Gibbs |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
File diff suppressed because one or more lines are too long
@ -0,0 +1,179 @@ |
|||
################################## |
|||
######## 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="-nosingle" |
|||
|
|||
#### LinuxGSM Settings #### |
|||
|
|||
## LinuxGSM Stats |
|||
# Send useful stats to LinuxGSM developers. |
|||
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
|||
# (on|off) |
|||
stats="off" |
|||
|
|||
## Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
|||
displayip="" |
|||
|
|||
# More info | https://docs.linuxgsm.com/alerts#more-info |
|||
postalert="off" |
|||
|
|||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
|||
discordalert="off" |
|||
discordwebhook="webhook" |
|||
|
|||
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
|||
emailalert="off" |
|||
email="[email protected]" |
|||
emailfrom="" |
|||
|
|||
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
|||
gotifyalert="off" |
|||
gotifytoken="token" |
|||
gotifywebhook="webhook" |
|||
|
|||
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
|||
iftttalert="off" |
|||
ifttttoken="accesstoken" |
|||
iftttevent="linuxgsm_alert" |
|||
|
|||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
|||
mailgunalert="off" |
|||
mailgunapiregion="us" |
|||
mailguntoken="accesstoken" |
|||
mailgundomain="example.com" |
|||
mailgunemailfrom="[email protected]" |
|||
mailgunemail="[email protected]" |
|||
|
|||
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
|||
pushbulletalert="off" |
|||
pushbullettoken="accesstoken" |
|||
channeltag="" |
|||
|
|||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
|||
pushoveralert="off" |
|||
pushovertoken="accesstoken" |
|||
pushoveruserkey="userkey" |
|||
|
|||
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
|||
rocketchatalert="off" |
|||
rocketchatwebhook="webhook" |
|||
rocketchattoken="" |
|||
|
|||
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
|||
slackalert="off" |
|||
slackwebhook="webhook" |
|||
|
|||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
|||
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
|||
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
|||
telegramapi="api.telegram.org" |
|||
telegramalert="off" |
|||
telegramtoken="accesstoken" |
|||
telegramchatid="" |
|||
curlcustomstring="" |
|||
|
|||
## Updating | https://docs.linuxgsm.com/commands/update |
|||
updateonstart="off" |
|||
|
|||
## Backup | https://docs.linuxgsm.com/commands/backup |
|||
maxbackups="4" |
|||
maxbackupdays="30" |
|||
stoponbackup="on" |
|||
|
|||
## Logging | https://docs.linuxgsm.com/features/logging |
|||
consolelogging="on" |
|||
logdays="7" |
|||
|
|||
## Monitor | https://docs.linuxgsm.com/commands/monitor |
|||
# Query delay time |
|||
querydelay="1" |
|||
|
|||
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
|||
ansi="on" |
|||
|
|||
#### Advanced Settings #### |
|||
|
|||
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
|||
sleeptime="0.5" |
|||
|
|||
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
|||
# Server appid |
|||
appid="2239530" |
|||
steamcmdforcewindows="no" |
|||
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
|||
branch="" |
|||
betapassword="" |
|||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
|||
steammaster="true" |
|||
|
|||
## 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="4" |
|||
querytype="protocol-valve" |
|||
|
|||
## Console type |
|||
consoleverbose="yes" |
|||
consoleinteract="no" |
|||
|
|||
## Game Server Details |
|||
# Do not edit |
|||
gamename="American Truck Simulator" |
|||
engine="prism3d" |
|||
glibc="2.15" |
|||
|
|||
#### Directories #### |
|||
# Edit with care |
|||
|
|||
## Game Server Directories |
|||
systemdir="${serverfiles}" |
|||
executabledir="${systemdir}/bin/linux_x64" |
|||
executable="./amtrucks_server" |
|||
servercfgdir="${HOME}/.local/share/American Truck Simulator" |
|||
servercfg="server_config.sii" |
|||
servercfgdefault="server_config.sii" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
|
|||
## Backup Directory |
|||
backupdir="${lgsmdir}/backup" |
|||
|
|||
## Logging Directories |
|||
logdir="${rootdir}/log" |
|||
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" |
@ -0,0 +1,179 @@ |
|||
################################## |
|||
######## 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="-nosingle" |
|||
|
|||
#### LinuxGSM Settings #### |
|||
|
|||
## LinuxGSM Stats |
|||
# Send useful stats to LinuxGSM developers. |
|||
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
|||
# (on|off) |
|||
stats="off" |
|||
|
|||
## Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
|||
displayip="" |
|||
|
|||
# More info | https://docs.linuxgsm.com/alerts#more-info |
|||
postalert="off" |
|||
|
|||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
|||
discordalert="off" |
|||
discordwebhook="webhook" |
|||
|
|||
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
|||
emailalert="off" |
|||
email="[email protected]" |
|||
emailfrom="" |
|||
|
|||
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
|||
gotifyalert="off" |
|||
gotifytoken="token" |
|||
gotifywebhook="webhook" |
|||
|
|||
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
|||
iftttalert="off" |
|||
ifttttoken="accesstoken" |
|||
iftttevent="linuxgsm_alert" |
|||
|
|||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
|||
mailgunalert="off" |
|||
mailgunapiregion="us" |
|||
mailguntoken="accesstoken" |
|||
mailgundomain="example.com" |
|||
mailgunemailfrom="[email protected]" |
|||
mailgunemail="[email protected]" |
|||
|
|||
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
|||
pushbulletalert="off" |
|||
pushbullettoken="accesstoken" |
|||
channeltag="" |
|||
|
|||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
|||
pushoveralert="off" |
|||
pushovertoken="accesstoken" |
|||
pushoveruserkey="userkey" |
|||
|
|||
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
|||
rocketchatalert="off" |
|||
rocketchatwebhook="webhook" |
|||
rocketchattoken="" |
|||
|
|||
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
|||
slackalert="off" |
|||
slackwebhook="webhook" |
|||
|
|||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
|||
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
|||
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
|||
telegramapi="api.telegram.org" |
|||
telegramalert="off" |
|||
telegramtoken="accesstoken" |
|||
telegramchatid="" |
|||
curlcustomstring="" |
|||
|
|||
## Updating | https://docs.linuxgsm.com/commands/update |
|||
updateonstart="off" |
|||
|
|||
## Backup | https://docs.linuxgsm.com/commands/backup |
|||
maxbackups="4" |
|||
maxbackupdays="30" |
|||
stoponbackup="on" |
|||
|
|||
## Logging | https://docs.linuxgsm.com/features/logging |
|||
consolelogging="on" |
|||
logdays="7" |
|||
|
|||
## Monitor | https://docs.linuxgsm.com/commands/monitor |
|||
# Query delay time |
|||
querydelay="1" |
|||
|
|||
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
|||
ansi="on" |
|||
|
|||
#### Advanced Settings #### |
|||
|
|||
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
|||
sleeptime="0.5" |
|||
|
|||
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
|||
# Server appid |
|||
appid="1948160" |
|||
steamcmdforcewindows="no" |
|||
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
|||
branch="" |
|||
betapassword="" |
|||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
|||
steammaster="true" |
|||
|
|||
## 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="4" |
|||
querytype="protocol-valve" |
|||
|
|||
## Console type |
|||
consoleverbose="yes" |
|||
consoleinteract="no" |
|||
|
|||
## Game Server Details |
|||
# Do not edit |
|||
gamename="Euro Truck Simulator 2" |
|||
engine="prism3d" |
|||
glibc="2.15" |
|||
|
|||
#### Directories #### |
|||
# Edit with care |
|||
|
|||
## Game Server Directories |
|||
systemdir="${serverfiles}" |
|||
executabledir="${systemdir}/bin/linux_x64" |
|||
executable="./eurotrucks2_server" |
|||
servercfgdir="${HOME}/.local/share/Euro Truck Simulator 2" |
|||
servercfg="server_config.sii" |
|||
servercfgdefault="server_config.sii" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
|
|||
## Backup Directory |
|||
backupdir="${lgsmdir}/backup" |
|||
|
|||
## Logging Directories |
|||
logdir="${rootdir}/log" |
|||
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" |
@ -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 #### |
|||
## Pre-defined Paramters | https://docs.linuxgsm.com/configuration/start-parameters#predefined-parameters |
|||
worldname="MyWorld" |
|||
|
|||
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|||
startparameters="-localdir -world ${worldname}" |
|||
|
|||
#### LinuxGSM Settings #### |
|||
|
|||
## LinuxGSM Stats |
|||
# Send useful stats to LinuxGSM developers. |
|||
# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
|||
# (on|off) |
|||
stats="off" |
|||
|
|||
## Notification Alerts |
|||
# (on|off) |
|||
|
|||
# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
|||
displayip="" |
|||
|
|||
# More info | https://docs.linuxgsm.com/alerts#more-info |
|||
postalert="off" |
|||
|
|||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
|||
discordalert="off" |
|||
discordwebhook="webhook" |
|||
|
|||
# Email Alerts | https://docs.linuxgsm.com/alerts/email |
|||
emailalert="off" |
|||
email="[email protected]" |
|||
emailfrom="" |
|||
|
|||
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
|||
gotifyalert="off" |
|||
gotifytoken="token" |
|||
gotifywebhook="webhook" |
|||
|
|||
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
|||
iftttalert="off" |
|||
ifttttoken="accesstoken" |
|||
iftttevent="linuxgsm_alert" |
|||
|
|||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
|||
mailgunalert="off" |
|||
mailgunapiregion="us" |
|||
mailguntoken="accesstoken" |
|||
mailgundomain="example.com" |
|||
mailgunemailfrom="[email protected]" |
|||
mailgunemail="[email protected]" |
|||
|
|||
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
|||
pushbulletalert="off" |
|||
pushbullettoken="accesstoken" |
|||
channeltag="" |
|||
|
|||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
|||
pushoveralert="off" |
|||
pushovertoken="accesstoken" |
|||
pushoveruserkey="userkey" |
|||
|
|||
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
|||
rocketchatalert="off" |
|||
rocketchatwebhook="webhook" |
|||
rocketchattoken="" |
|||
|
|||
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
|||
slackalert="off" |
|||
slackwebhook="webhook" |
|||
|
|||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
|||
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
|||
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
|||
telegramapi="api.telegram.org" |
|||
telegramalert="off" |
|||
telegramtoken="accesstoken" |
|||
telegramchatid="" |
|||
curlcustomstring="" |
|||
|
|||
## Updating | https://docs.linuxgsm.com/commands/update |
|||
updateonstart="off" |
|||
|
|||
## Backup | https://docs.linuxgsm.com/commands/backup |
|||
maxbackups="4" |
|||
maxbackupdays="30" |
|||
stoponbackup="on" |
|||
|
|||
## Logging | https://docs.linuxgsm.com/features/logging |
|||
consolelogging="on" |
|||
logdays="7" |
|||
|
|||
## Monitor | https://docs.linuxgsm.com/commands/monitor |
|||
# Query delay time |
|||
querydelay="1" |
|||
|
|||
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
|||
ansi="on" |
|||
|
|||
#### Advanced Settings #### |
|||
|
|||
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
|||
sleeptime="0.5" |
|||
|
|||
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
|||
# Server appid |
|||
appid="1169370" |
|||
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="Necesse" |
|||
engine="null" |
|||
glibc="2.9" |
|||
|
|||
#### Directories #### |
|||
# Edit with care |
|||
|
|||
## Game Server Directories |
|||
systemdir="${serverfiles}" |
|||
executabledir="${serverfiles}" |
|||
executable="./StartServer-nogui.sh" |
|||
servercfgdir="${serverfiles}/cfg" |
|||
servercfg="server.cfg" |
|||
servercfgdefault="server.cfg" |
|||
servercfgfullpath="${servercfgdir}/${servercfg}" |
|||
|
|||
## Backup Directory |
|||
backupdir="${lgsmdir}/backup" |
|||
|
|||
## Logging Directories |
|||
logdir="${rootdir}/log" |
|||
gamelogdir="${systemdir}/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" |
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 7.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
Can't render this file because it has a wrong number of fields in line 2.
|
@ -1,14 +0,0 @@ |
|||
#!/bin/bash |
|||
echo -e "Installing kcov" |
|||
curl -L "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz" | tar zx |
|||
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz |
|||
tar xzf master.tar.gz |
|||
cd kcov-master || exit |
|||
mkdir build |
|||
cd build || exit |
|||
cmake .. |
|||
make |
|||
sudo make install |
|||
cd ../.. |
|||
rm -rf kcov-master |
|||
mkdir -p coverage |
@ -1,32 +0,0 @@ |
|||
#!/bin/bash |
|||
# Project: Game Server Managers - LinuxGSM |
|||
# Author: Daniel Gibbs |
|||
# License: MIT License, Copyright (c) 2020 Daniel Gibbs |
|||
# Purpose: Travis CI Tests: Shellcheck | Linux Game Server Management Script |
|||
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors |
|||
# Documentation: https://docs.linuxgsm.com/ |
|||
# Website: https://linuxgsm.com |
|||
|
|||
echo -e "=================================" |
|||
echo -e "Travis CI Tests" |
|||
echo -e "Linux Game Server Manager" |
|||
echo -e "by Daniel Gibbs" |
|||
echo -e "Contributors: http://goo.gl/qLmitD" |
|||
echo -e "https://linuxgsm.com" |
|||
echo -e "=================================" |
|||
echo -e "" |
|||
echo -e "=================================" |
|||
echo -e "Bash Analysis Tests" |
|||
echo -e "Using: Shellcheck" |
|||
echo -e "Testing Branch: $TRAVIS_BRANCH" |
|||
echo -e "=================================" |
|||
echo -e "" |
|||
scissues=$(find . -type f \( -name "*.sh" -o -name "*.cfg" \) -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \; | grep -F "^--" | wc -l) |
|||
echo -e "Found issues: ${scissues}" |
|||
echo -e "=================================" |
|||
find . -type f \( -name "*.sh" -o -name "*.cfg" \) -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \; |
|||
echo -e "" |
|||
echo -e "=================================" |
|||
echo -e "Bash Analysis Tests - Complete!" |
|||
echo -e "Using: Shellcheck" |
|||
echo -e "=================================" |
Loading…
Reference in new issue