diff --git a/.all-contributorsrc b/.all-contributorsrc
index 5c00528498..9e4a36a51a 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1,108 +1,119 @@
{
- "files": [
- "README.md"
- ],
- "imageSize": 100,
- "commit": false,
- "contributors": [{
- "login": "dgibbs64",
- "name": "Daniel Gibbs",
- "avatar_url": "https://avatars2.githubusercontent.com/u/4478206?v=4",
- "profile": "https://danielgibbs.co.uk",
- "contributions": [
- "bug",
- "code",
- "ideas",
- "question",
- "review",
- "content",
- "doc",
- "infra"
- ]
- },
- {
- "login": "Frisasky",
- "name": "Frisasky",
- "avatar_url": "https://avatars2.githubusercontent.com/u/26865851?v=4",
- "profile": "https://github.com/Frisasky",
- "contributions": [
- "question",
- "bug",
- "code"
- ]
- },
- {
- "login": "kennyLtv",
- "name": "Kenny Lindelof",
- "avatar_url": "https://avatars2.githubusercontent.com/u/6133325?v=4",
- "profile": "https://kennyl.design",
- "contributions": [
- "question"
- ]
- },
- {
- "login": "Scarsz",
- "name": "Austin Shapiro",
- "avatar_url": "https://avatars1.githubusercontent.com/u/7691988?v=4",
- "profile": "https://scarsz.me",
- "contributions": [
- "bug",
- "code"
- ]
- },
- {
- "login": "marvinlehmann",
- "name": "Marvin Lehmann",
- "avatar_url": "https://avatars2.githubusercontent.com/u/4151266?v=4",
- "profile": "https://github.com/marvinlehmann",
- "contributions": [
- "bug",
- "code"
- ]
- },
- {
- "login": "Bourne-ID",
- "name": "Bourne-ID",
- "avatar_url": "https://avatars1.githubusercontent.com/u/7073616?v=4",
- "profile": "https://github.com/Bourne-ID",
- "contributions": [
- "review",
- "content",
- "doc",
- "infra",
- "review"
- ]
- },
- {
- "login": "cedarlug",
- "name": "CedarLUG",
- "avatar_url": "https://avatars2.githubusercontent.com/u/19336442?v=4",
- "profile": "http://cedarlug.org",
- "contributions": [
- "bug",
- "code",
- "ideas",
- "question",
- "review"
- ]
- },
- {
- "login": "UltimateByte",
- "name": "UltimateByte",
- "avatar_url": "https://avatars3.githubusercontent.com/u/8805941?v=4",
- "profile": "https://www.terageek.org | https://www.haisoft.fr",
- "contributions": [
- "bug",
- "code",
- "doc",
- "ideas",
- "review"
- ]
- }
- ],
- "contributorsPerLine": 7,
- "projectName": "LinuxGSM",
- "projectOwner": "GameServerManagers",
- "repoType": "github",
- "repoHost": "https://github.com"
+ "files": [
+ "README.md"
+ ],
+ "imageSize": 100,
+ "commit": false,
+ "contributors": [
+ {
+ "login": "dgibbs64",
+ "name": "Daniel Gibbs",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/4478206?v=4",
+ "profile": "https://danielgibbs.co.uk",
+ "contributions": [
+ "bug",
+ "code",
+ "ideas",
+ "question",
+ "review",
+ "content",
+ "doc",
+ "infra"
+ ]
+ },
+ {
+ "login": "Frisasky",
+ "name": "Frisasky",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/26865851?v=4",
+ "profile": "https://github.com/Frisasky",
+ "contributions": [
+ "question",
+ "bug",
+ "code"
+ ]
+ },
+ {
+ "login": "kennyLtv",
+ "name": "Kenny Lindelof",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/6133325?v=4",
+ "profile": "https://kennyl.design",
+ "contributions": [
+ "question"
+ ]
+ },
+ {
+ "login": "Scarsz",
+ "name": "Austin Shapiro",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/7691988?v=4",
+ "profile": "https://scarsz.me",
+ "contributions": [
+ "bug",
+ "code"
+ ]
+ },
+ {
+ "login": "marvinlehmann",
+ "name": "Marvin Lehmann",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/4151266?v=4",
+ "profile": "https://github.com/marvinlehmann",
+ "contributions": [
+ "bug",
+ "code"
+ ]
+ },
+ {
+ "login": "Bourne-ID",
+ "name": "Bourne-ID",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/7073616?v=4",
+ "profile": "https://github.com/Bourne-ID",
+ "contributions": [
+ "review",
+ "content",
+ "doc",
+ "infra",
+ "review"
+ ]
+ },
+ {
+ "login": "cedarlug",
+ "name": "CedarLUG",
+ "avatar_url": "https://avatars2.githubusercontent.com/u/19336442?v=4",
+ "profile": "http://cedarlug.org",
+ "contributions": [
+ "bug",
+ "code",
+ "ideas",
+ "question",
+ "review"
+ ]
+ },
+ {
+ "login": "UltimateByte",
+ "name": "UltimateByte",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/8805941?v=4",
+ "profile": "https://www.terageek.org | https://www.haisoft.fr",
+ "contributions": [
+ "bug",
+ "code",
+ "doc",
+ "ideas",
+ "review"
+ ]
+ },
+ {
+ "login": "borzaka",
+ "name": "Attila",
+ "avatar_url": "https://avatars0.githubusercontent.com/u/1230402?v=4",
+ "profile": "https://github.com/borzaka",
+ "contributions": [
+ "code",
+ "bug"
+ ]
+ }
+ ],
+ "contributorsPerLine": 7,
+ "projectName": "LinuxGSM",
+ "projectOwner": "GameServerManagers",
+ "repoType": "github",
+ "repoHost": "https://github.com"
}
diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md
index f139c2cc06..749aadeed9 100644
--- a/PULL_REQUEST_TEMPLATE.md
+++ b/PULL_REQUEST_TEMPLATE.md
@@ -10,7 +10,7 @@ Fixes #[issue]
* [ ] New feature (change which adds functionality).
* [ ] New Server (new server added).
* [ ] Refactor (restructures existing code).
-* [ ] Comment update (typo, spelling, etc).
+* [ ] Comment update (typo, spelling, explanation, examples, etc).
* [ ] This change requires a documentation update.
## Checklist
diff --git a/README.md b/README.md
index 0d91b9d5b5..a028258e8a 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
- [![LinuxGSM](https://img.shields.io/badge/-LinuxGSM-2b2b2b.svg?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACsAAABACAYAAACDbo5ZAAAGD0lEQVR4AcWYa2wUVRvHz75c2vJ2disXoUBEVIioRAx%2BMIFA1IRwUS6KCCiIKBrvhEYiiGm5iBgk8QOGEgUUDYTttmVZWFr2UmwURS6iYAo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status](https://travis-ci.com/GameServerManagers/LinuxGSM.svg?branch=master)](https://travis-ci.com/GameServerManagers/LinuxGSM) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3e98be27840043a090c3ab6e35db44b0)](https://app.codacy.com/app/GameServerManagers/LinuxGSM?utm_source=github.com&utm_medium=referral&utm_content=GameServerManagers/LinuxGSM&utm_campaign=Badge_Grade_Dashboard) [![Discord](https://discordapp.com/api/guilds/127498813903601664/widget.png?style=shield)](https://linuxgsm.com/discord) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/GameServerManagers/LinuxGSM/blob/master/LICENSE) [![made-with-bash](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS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jIT4eCnoKgedJP4BEqhG77E3NKP31FO7cfQA5K0dSYuLgz2TwCWJSOBzG6crzKK%2BohNfni%2Bx6OMUMMNe%2Fgf7ocbw0v0acKg6J8Ql0q%2BT%2FAXR5PNi5dz9c71upuQqCKFAD%2BYhrZLEAmpodaHO3Qy6TI3NhBpbrshGtOWKOSMYwYGQM8nJzoFJNxP2HjyIQho4PewK6hBktoDcUwtIln4PjOWzflQ%2Be5yl0yCCYgYikTclGlxadio%2BBQCSiW1UXoVGrKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%2F%2BJUOC4hn6A39NVXVBYeNP8piH6HeA4fPbpdBQV5KOx0QaL1YppX3Jgk0TwH2Vg6S3u%2BdB91%2B%2FpuNYPYFl5uP5V7ZqvsrX7jxqMXR6ff3gCQSTzFI0a1TX3wIs8ul%2Bq4HuWAAiM39vhOuR1O1fQ2gT%2F26Z8Z5vrl2OHi9OXZn995nLV9aFfS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D)](https://www.gnu.org/software/bash/) [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors)
+[![LinuxGSM](https://img.shields.io/badge/-LinuxGSM-2b2b2b.svg?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACsAAABACAYAAACDbo5ZAAAGD0lEQVR4AcWYa2wUVRvHz75c2vJ2disXoUBEVIioRAx%2BMIFA1IRwUS6KCCiIKBrvhEYiiGm5iBgk8QOGEgUUDYT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)](https://linuxgsm.com) [![Build Status](https://travis-ci.com/GameServerManagers/LinuxGSM.svg?branch=master)](https://travis-ci.com/GameServerManagers/LinuxGSM) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3e98be27840043a090c3ab6e35db44b0)](https://app.codacy.com/app/GameServerManagers/LinuxGSM?utm_source=github.com&utm_medium=referral&utm_content=GameServerManagers/LinuxGSM&utm_campaign=Badge_Grade_Dashboard) [![Discord](https://discordapp.com/api/guilds/127498813903601664/widget.png?style=shield)](https://linuxgsm.com/discord) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/GameServerManagers/LinuxGSM/blob/master/LICENSE) [![made-with-bash](https://img.shields.io/badge/-Made%20with%20Bash-1f425f.svg?logo=image%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw%2FeHBhY2tldCBiZWdpbj0i77u%2FIiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8%2BIDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20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jNr9dXYOyk7%2FBZrcjIT4eCnoKgedJP4BEqhG77E3NKP31FO7cfQA5K0dSYuLgz2TwCWJSOBzG6crzKK%2BohNfni%2Bx6OMUMMNe%2Fgf7ocbw0v0acKg6J8Ql0q%2BT%2FAXR5PNi5dz9c71upuQqCKFAD%2BYhrZLEAmpodaHO3Qy6TI3NhBpbrshGtOWKOSMYwYGQM8nJzoFJNxP2HjyIQho4PewK6hBktoDcUwtIln4PjOWzflQ%2Be5yl0yCCYgYikTclGlxadio%2BBQCSiW1UXoVGrKYwH4RgMrjU1HAB4vR6LzWYfFUCKxfS8Ftk5qxHoCUQAUkRJaSEokkV6Y%2F%2BJUOC4hn6A39NVXVBYeNP8piH6HeA4fPbpdBQV5KOx0QaL1YppX3Jgk0TwH2Vg6S3u%2BdB91%2B%2FpuNYPYFl5uP5V7ZqvsrX7jxqMXR6ff3gCQSTzFI0a1TX3wIs8ul%2Bq4HuWAAiM39vhOuR1O1fQ2gT%2F26Z8Z5vrl2OHi9OXZn995nLV9aFfS6UC9JeJPfuK0NBohWpCHMSAAsFe74WWP%2BvT25wtP9Bpob6uGqqyDnOtaeumjRu%2ByFu36VntK%2FPA5umTJeUtPWZSU9BCgud661odVp3DZtkc7AnYR33RRC708PrVi1larW7XwZIjLnd7R6SgSqWSNjU1B3F72pz5TZbXmX5vV81Yb7Lg7XT%2FUXriu8XLVqw6c6XqWnBKiiYU%2BMt3wWF7u7i91XlSEITwSAZ%2FCzAAHsJVbwXYFFEAAAAASUVORK5CYII%3D)](https://www.gnu.org/software/bash/) [![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors)
[LinuxGSM](https://linuxgsm.com) is the command line tool for quick, simple deployment and management of dedicated game servers.
@@ -57,8 +57,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
-
-
+
diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg
index ac2e838258..3792882b1a 100644
--- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg
+++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg
@@ -114,7 +114,7 @@ engine="source"
## Server Specific Directories
systemdir="${serverfiles}/berimbau"
-executabledir="${serverfiles}"
+executabledir="${serverfiles}/bin"
executable="./srcds_run.sh"
servercfg="${servicename}.cfg"
servercfgdefault="server.cfg"
diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg
index fd9865e175..8fb88de8b4 100644
--- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg
+++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg
@@ -10,15 +10,15 @@
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
# https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server
-# [Game Modes] gametype gamemode mapgroup (you can mix these across Game Modes, but use only one)
-# Arms Race 1 0 mg_armsrace
-# Classic Casual 0 0 mg_casualsigma, mg_casualdelta
-# Classic Competitive 0 1 mg_active, mg_reserves, mg_hostage, mg_de_dust2
-# Custom 3 0
-# Deathmatch 1 2 mg_deathmatch
-# Demolition 1 1 mg_demolition
-# Wingman 0 2
-# Danger Zone (FreeForAll) 6 0 mg_dz_blacksite
+# [Game Modes] gametype gamemode mapgroup (you can mix these across all Game Modes except Danger Zone, but use only one)
+# Arms Race 1 0 mg_armsrace
+# Classic Casual 0 0 mg_casualsigma, mg_casualdelta
+# Classic Competitive 0 1 mg_active, mg_reserves, mg_hostage, mg_de_dust2
+# Custom 3 0
+# Deathmatch 1 2 mg_deathmatch
+# Demolition 1 1 mg_demolition
+# Wingman 0 2
+# Danger Zone 6 0 mg_dz_blacksite (map: dz_blacksite), mg_dz_sirocco (map: dz_sirocco)
gametype="0"
gamemode="0"
mapgroup="mg_active"
diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
index 77a7dc4640..9de8fd81e4 100644
--- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
+++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
@@ -23,7 +23,7 @@ gslt=""
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
-parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
+parms="-game nmrih -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
}
#### LinuxGSM Settings ####
diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg
index 59b355ddc3..b983e3b212 100644
--- a/lgsm/config-default/config-lgsm/twserver/_default.cfg
+++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg
@@ -17,7 +17,7 @@ ip="0.0.0.0"
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
-parms="-f ${servercfgfullpath}"
+parms="-f ${servercfg}"
}
#### LinuxGSM Settings ####
@@ -108,7 +108,7 @@ executabledir="${systemdir}"
executable="./teeworlds_srv"
servercfg="${servicename}.cfg" # Teeworlds can also auto load any config if an autoexec.cfg file is present in the server dir
servercfgdefault="server.cfg"
-servercfgdir="${serverfiles}"
+servercfgdir="${serverfiles}/tw"
servercfgfullpath="${servercfgdir}/${servercfg}"
## Backup Directory
diff --git a/lgsm/config-default/config-lgsm/untserver/_default.cfg b/lgsm/config-default/config-lgsm/untserver/_default.cfg
new file mode 100644
index 0000000000..26db0910b4
--- /dev/null
+++ b/lgsm/config-default/config-lgsm/untserver/_default.cfg
@@ -0,0 +1,136 @@
+##################################
+######## Default Settings ########
+##################################
+# DO NOT EDIT 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
+
+#### Server Settings ####
+
+## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
+ip="0.0.0.0"
+port="27015"
+maxplayers="20"
+defaultmap="pei"
+
+## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
+steamuser="username"
+steampass='password'
+
+## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
+
+# Parameters are changed in game.ini and engine.ini (Location: ${systemdir}/Saved/Config/LinuxServer)
+# Make sure you change the admin password before launching the server
+
+fn_parms(){
+parms="-port:${port} -players:${maxplayers} --nographics -${defaultmap} -batchmode +secureserver/${servicename}"
+}
+
+#### LinuxGSM Settings ####
+
+## Notification Alerts
+# (on|off)
+
+# More info | https://docs.linuxgsm.com/alerts#more-info
+postalert="off"
+postdays="7"
+posttarget="https://hastebin.com"
+
+# 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=""
+
+# 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"
+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"
+
+# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
+# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
+# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
+# any custom string in curl - simple ignore this parameter.
+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"
+
+#### LinuxGSM Advanced Settings ####
+
+# ANSI Colors
+ansi="on"
+
+## SteamCMD Settings
+# Server appid
+appid="304930"
+# Steam App Branch Select
+# Allows to opt into the various Steam app branches. Default branch is "".
+# Example: "-beta latest_experimental"
+branch=""
+
+## LinuxGSM Server Details
+# Do not edit
+gamename="Unturned"
+engine="unity3d"
+
+#### Directories ####
+# Edit with care
+
+## Server Specific Directories
+systemdir="${serverfiles}"
+executabledir="${serverfiles}"
+executable="./Unturned_Headless.x86"
+servercfgdir="${systemdir}/Servers/${servicename}"
+servercfg="Config.json"
+servercfgdefault="Config.json"
+servercfgfullpath="${servercfgdir}/${servercfg}"
+
+## Backup Directory
+backupdir="${lgsmdir}/backup"
+
+## Logging Directories
+logdir="${rootdir}/log"
+gamelogdir="${logdir}/server"
+lgsmlogdir="${logdir}/script"
+consolelogdir="${logdir}/console"
+lgsmlog="${lgsmlogdir}/${servicename}-script.log"
+consolelog="${consolelogdir}/${servicename}-console.log"
+alertlog="${lgsmlogdir}/${servicename}-alert.log"
+postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
+
+## Logs Naming
+lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
+consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
diff --git a/lgsm/data/serverlist.csv b/lgsm/data/serverlist.csv
index 9013e86628..960947995e 100644
--- a/lgsm/data/serverlist.csv
+++ b/lgsm/data/serverlist.csv
@@ -83,6 +83,7 @@ tu,tuserver,Tower Unite
ut2k4,ut2k4server,Unreal Tournament 2004
ut3,ut3server,Unreal Tournament 3
ut99,ut99server,Unreal Tournament 99
+unt,untserver,Unturned
vs,vsserver,Vampire Slayer
wet,wetserver,Wolfenstein: Enemy Territory
wurm,wurmserver,Wurm Unlimited
diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh
index 0cb0b0178d..351c848d32 100644
--- a/lgsm/functions/check_deps.sh
+++ b/lgsm/functions/check_deps.sh
@@ -56,7 +56,10 @@ fn_install_mono_repo(){
monoautoinstall="1"
fi
elif [ "${distroid}" == "centos" ]; then
- if [ "${distroversion}" == "7" ]; then
+ if [ "${distroversion}" == "8" ]; then
+ cmd="rpm --import 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF';su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo'"
+ eval ${cmd}
+ elif [ "${distroversion}" == "7" ]; then
cmd="rpm --import 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF';su -c 'curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo'"
eval ${cmd}
elif [ "${distroversion}" == "6" ]; then
diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh
index aeec02c594..491015bcc6 100644
--- a/lgsm/functions/command_monitor.sh
+++ b/lgsm/functions/command_monitor.sh
@@ -30,6 +30,9 @@ for queryattempt in {1..5}; do
elif [ "${querymethod}" == "tcp" ]; then
bash -c 'exec 3<> /dev/tcp/'${ip}'/'${queryport}''
querystatus="$?"
+ elif [ "${querymethod}" == "udp" ]; then
+ bash -c 'exec 3<> /dev/udp/'${ip}'/'${queryport}''
+ querystatus="$?"
fi
if [ "${querystatus}" == "0" ]; then
@@ -175,6 +178,11 @@ fn_monitor_query_tcp(){
fn_monitor_loop
}
+fn_monitor_query_upd(){
+ querymethod="upd"
+ fn_monitor_loop
+}
+
monitorflag=1
fn_print_dots "${servername}"
sleep 0.5
diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh
index 2e9dab18b9..c324b93b8e 100644
--- a/lgsm/functions/command_validate.sh
+++ b/lgsm/functions/command_validate.sh
@@ -27,6 +27,8 @@ fn_validation(){
if [ "${appid}" == "90" ]; then
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}"
+ elif [ "${gamename}" == "Unturned" ]; then
+ ${unbuffer} ./steamcmd.sh +@sSteamCmdForcePlatformBitness 32 +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" ${branch} validate +quit
else
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}"
fi
diff --git a/lgsm/functions/core_functions.sh b/lgsm/functions/core_functions.sh
index ad82b2186b..dd18e0d2c9 100644
--- a/lgsm/functions/core_functions.sh
+++ b/lgsm/functions/core_functions.sh
@@ -357,6 +357,11 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
+fix_terraria.sh(){
+functionfile="${FUNCNAME}"
+fn_fetch_function
+}
+
fix_tf2.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
@@ -397,6 +402,11 @@ functionfile="${FUNCNAME}"
fn_fetch_function
}
+fix_unt.sh(){
+functionfile="${FUNCNAME}"
+fn_fetch_function
+}
+
fix_wurm.sh(){
functionfile="${FUNCNAME}"
fn_fetch_function
diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh
index 3eae6c91da..da9c362e4e 100644
--- a/lgsm/functions/fix.sh
+++ b/lgsm/functions/fix.sh
@@ -63,10 +63,14 @@ if [ "${function_selfname}" != "command_install.sh" ]&&[ -z "${fixbypass}" ]; th
fix_ss3.sh
elif [ "${shortname}" == "tf2" ]; then
fix_tf2.sh
+ elif [ "${shortname}" == "terraria" ]; then
+ fix_terraria.sh
elif [ "${shortname}" == "ts3" ]; then
fix_ts3.sh
elif [ "${shortname}" == "mta" ]; then
fix_mta.sh
+ elif [ "${shortname}" == "unt" ]; then
+ fix_unt.sh
elif [ "${shortname}" == "wurm" ]; then
fix_wurm.sh
fi
diff --git a/lgsm/functions/fix_terraria.sh b/lgsm/functions/fix_terraria.sh
new file mode 100644
index 0000000000..1a898d0467
--- /dev/null
+++ b/lgsm/functions/fix_terraria.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# LinuxGSM fix_terraria.sh function
+# Author: Daniel Gibbs
+# Website: https://linuxgsm.com
+# Description: Resolves an issue with Terraria.
+
+local commandname="FIX"
+local commandaction="Fix"
+local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
+
+export TERM=xterm
diff --git a/lgsm/functions/fix_unt.sh b/lgsm/functions/fix_unt.sh
new file mode 100644
index 0000000000..d89f695583
--- /dev/null
+++ b/lgsm/functions/fix_unt.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# LinuxGSM fix_rust.sh function
+# Author: Daniel Gibbs
+# Website: https://linuxgsm.com
+# Description: Resolves startup issue with Unturned
+
+local commandname="FIX"
+local commandaction="Fix"
+
+# Fixes: [Raknet] Server Shutting Down (Shutting Down)
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${systemdir}/lib"
diff --git a/lgsm/functions/info_glibc.sh b/lgsm/functions/info_glibc.sh
index d822c4b95c..63760c714c 100644
--- a/lgsm/functions/info_glibc.sh
+++ b/lgsm/functions/info_glibc.sh
@@ -165,6 +165,9 @@ elif [ "${gamename}" == "Wurm Unlimited" ]; then
elif [ "${gamename}" == "Multi Theft Auto" ]; then
glibcrequired="2.7"
glibcfix="no"
+elif [ "${gamename}" == "Unturned" ]; then
+ glibcrequired="2.15"
+ glibcfix="no"
elif [ "${gamename}" == "Zombie Panic! Source" ]; then
glibcrequired="2.15"
glibcfix="yes"
diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh
index 020b1b2389..701c6940e2 100644
--- a/lgsm/functions/info_messages.sh
+++ b/lgsm/functions/info_messages.sh
@@ -495,7 +495,7 @@ fn_info_message_ports(){
fi
done
# engines/games that require editing the parms
- local ports_edit_array=( "goldsource" "Factorio" "Hurtworld" "iw3.0" "ioquake3" "Rust" "spark" "source" "starbound" "unreal4" "realvirtuality")
+ local ports_edit_array=( "goldsource" "Factorio" "Hurtworld" "iw3.0" "ioquake3" "Rust" "spark" "source" "starbound" "unreal4" "realvirtuality" "Unturned")
for port_edit in "${ports_edit_array[@]}"
do
if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]||[ "${shortname}" == "${port_edit}" ]; then
@@ -1107,6 +1107,16 @@ fn_info_message_unreal3(){
} | column -s $'\t' -t
}
+fn_info_message_unturned(){
+ echo -e "netstat -atunp | grep Unturned"
+ echo -e ""
+ {
+ echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
+ echo -e "> Game\tINBOUND\t${port}\tudp"
+ echo -e "> Query\tINBOUND\t${queryport}\tudp"
+ } | column -s $'\t' -t
+}
+
fn_info_message_kf2(){
echo -e "netstat -atunp | grep KFGame"
echo -e ""
@@ -1229,6 +1239,8 @@ fn_info_message_select_engine(){
fn_info_message_teamspeak3
elif [ "${gamename}" == "Tower Unite" ]; then
fn_info_message_towerunite
+ elif [ "${shortname}" == "unt" ]; then
+ fn_info_message_unturned
elif [ "${gamename}" == "Multi Theft Auto" ]; then
fn_info_message_mta
elif [ "${gamename}" == "Mumble" ]; then
diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh
index 9ac95d4778..dd289543e5 100644
--- a/lgsm/functions/info_parms.sh
+++ b/lgsm/functions/info_parms.sh
@@ -164,6 +164,11 @@ fn_info_parms_unreal3(){
adminpassword=${adminpassword:-"NOT SET"}
}
+fn_info_parms_unturned(){
+ servername=${servicename:-"NOT SET"}
+ port=${port:-"0"}
+ queryport=$((port + 1))
+}
fn_info_parms_kf2(){
queryport=${queryport:-"0"}
defaultmap=${defaultmap:-"NOT SET"}
@@ -222,4 +227,6 @@ elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
# Unreal 3 engine
elif [ "${engine}" == "unreal3" ]; then
fn_info_parms_unreal3
+elif [ "${shortname}" == "unt" ]; then
+ fn_info_parms_unturned
fi
diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh
index aa95508894..dce59b8fbf 100644
--- a/lgsm/functions/install_config.sh
+++ b/lgsm/functions/install_config.sh
@@ -607,6 +607,12 @@ elif [ "${gamename}" == "Unreal Tournament 99" ]; then
fn_fetch_default_config
fn_default_config_remote
fn_set_config_vars
+elif [ "${shortname}" == "unt" ]; then
+ gamedirname="Unturned"
+ array_configs+=( Config.json )
+ fn_fetch_default_config
+ fn_default_config_remote
+ fn_set_config_vars
elif [ "${gamename}" == "Vampire Slayer" ]; then
gamedirname="VampireSlayer"
array_configs+=( server.cfg )
diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh
index 871cd403e6..1ac39200d2 100644
--- a/lgsm/functions/install_server_files.sh
+++ b/lgsm/functions/install_server_files.sh
@@ -92,6 +92,9 @@ fn_install_server_files_steamcmd(){
if [ "${appid}" == "90" ]; then
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit
local exitcode=$?
+ elif [ "${shortname}" == "unt" ]; then
+ ${unbuffer} ./steamcmd.sh +@sSteamCmdForcePlatformBitness 32 +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} validate +quit
+ local exitcode=$?
else
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} +quit
local exitcode=$?
diff --git a/lgsm/functions/update_steamcmd.sh b/lgsm/functions/update_steamcmd.sh
index 0a38699e57..9fd29eff73 100644
--- a/lgsm/functions/update_steamcmd.sh
+++ b/lgsm/functions/update_steamcmd.sh
@@ -20,6 +20,8 @@ fn_update_steamcmd_dl(){
cd "${steamcmddir}" || exit
if [ "${appid}" == "90" ]; then
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}"
+ elif [ "${shortname}" == "unt" ]; then
+ ${unbuffer} ./steamcmd.sh +@sSteamCmdForcePlatformBitness 32 +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" ${branch} validate +quit
else
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}"
fi
@@ -73,7 +75,7 @@ fn_update_steamcmd_remotebuild(){
fn_script_log_fatal "Unable to get remote build"
core_exit.sh
fi
- fi
+ fi
}
fn_update_steamcmd_compare(){
@@ -134,7 +136,7 @@ fn_update_steamcmd_compare(){
if [ -v "${branch}" ]; then
echo -e "* Branch: ${branch}"
fi
- echo -e "https://steamdb.info/app/${appid}/"
+ echo -e "https://steamdb.info/app/${appid}/"
fn_script_log_info "No update available"
fn_script_log_info "Local build: ${localbuild}"
fn_script_log_info "Remote build: ${remotebuild}"
diff --git a/linuxgsm.sh b/linuxgsm.sh
index 6f29d4377a..e5c22af3bd 100755
--- a/linuxgsm.sh
+++ b/linuxgsm.sh
@@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi
-version="190422"
+version="190503"
shortname="core"
gameservername="core"
rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
diff --git a/tests/tests_mcserver.sh b/tests/tests_mcserver.sh
index be518434b1..9e5eb5442a 100644
--- a/tests/tests_mcserver.sh
+++ b/tests/tests_mcserver.sh
@@ -2,10 +2,11 @@
# Project: Game Server Managers - LinuxGSM
# Author: Daniel Gibbs
# License: MIT License, Copyright (c) 2019 Daniel Gibbs
-# Purpose: Travis CI Tests: Factorio | Linux Game Server Management Script
+# Purpose: Travis CI Tests: Minecraft | Linux Game Server Management Script
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors
# Documentation: https://docs.linuxgsm.com/
# Website: https://linuxgsm.com
+
travistest="1"
version="190401"
shortname="mc"