diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 91d97d746..e6555a40e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -17,19 +17,19 @@ Issues here are **NOT** for:
* Dedicated server issues (e.g Ubuntu, CentOS)
* Anything not directly related to LinuxGSM development
-Any general support issues on GitHub will be closed.
+Any general support issues on GitHub will be migrated to [LinuxGSM-Support](https://github.com/GameServerManagers/LinuxGSM-Support).
*Please use the template below*
## User Story
-As a \[user description], I want \[desired action] so that \[desired outcome]
+As a [user description], I want [desired action] so that [desired outcome].
## Basic info
-* Distro \[Ubuntu 18.04]
-* Game \[Garry's Mod]
-* Feature \[Monitor]
+* Distro: [Ubuntu 18.04]
+* Game: [Garry's Mod]
+* Command: [Monitor]
## Further Information
@@ -44,5 +44,3 @@ Steps to reproduce the behaviour:
4. See error
## Expected behaviour
-
-A what you expected to happen.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index 257ee1df5..0f2ccde58 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -12,25 +12,24 @@ Issues here are **ONLY** for:
* code contributions
Issues 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
-Any general support issues on GitHub will be closed.
+Any general support issues on GitHub will be migrated to [LinuxGSM-Support](https://github.com/GameServerManagers/LinuxGSM-Support).
*Please use the template below*
## User Story
-As a \[user description], I want \[desired action] so that \[desired outcome]
+As a [user description], I want [desired action] so that [desired outcome].
-## Basic info
+## Basic info
-* Distro \[Ubuntu 18.04]
-* Game \[Garry's Mod]
-* Feature \[Monitor]
+* Distro: [Ubuntu 18.04]
+* Game: [Garry's Mod]
+* Command: [Monitor]
## Further Information
diff --git a/.github/ISSUE_TEMPLATE/new-server-request.md b/.github/ISSUE_TEMPLATE/new-server-request.md
index c6a2c82d0..d27b3b497 100644
--- a/.github/ISSUE_TEMPLATE/new-server-request.md
+++ b/.github/ISSUE_TEMPLATE/new-server-request.md
@@ -4,7 +4,9 @@ about: Suggest a new game server to be added
---
-## Which game server would you like adding?
+## What game server would you like adding?
+
+[game server]
## Can you link to any tutorials or guides?
@@ -12,8 +14,16 @@ Provide any useful documentation or resources that might help.
## Is the server on Steam?
-If yes Use SteamDB to get the appid. (https://steamdb.info)
+* [ ] 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
\ No newline at end of file
diff --git a/.github/lock.yml b/.github/lock.yml
index 2501c129a..dd136ecdc 100644
--- a/.github/lock.yml
+++ b/.github/lock.yml
@@ -1,9 +1,13 @@
-# Configuration for lock-threads - https://github.com/dessant/lock-threads
+# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365
-# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
+# Skip issues and pull requests created before a given timestamp. Timestamp must
+# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable
+skipCreatedBefore: false
+
+# Issues and pull requests with these labels will be ignored. Set to `[]` to disable
exemptLabels: []
# Label to add before locking, such as `outdated`. Set to `false` to disable
@@ -15,6 +19,9 @@ lockComment: >
any recent activity after it was closed. Please open a new issue for
related bugs.
+# Assign `resolved` as the reason for locking. Set to `false` to disable
+setLockReason: false
+
# Limit to only `issues` or `pulls`
# only: issues
@@ -25,4 +32,7 @@ lockComment: >
# lockLabel: outdated
# pulls:
-# daysUntilLock: 30
\ No newline at end of file
+# daysUntilLock: 30
+
+# Repository to extend settings from
+# _extends: repo
\ No newline at end of file
diff --git a/.github/no-response.yml b/.github/no-response.yml
index 4769c5db3..34cf8d447 100644
--- a/.github/no-response.yml
+++ b/.github/no-response.yml
@@ -1,9 +1,9 @@
# Configuration for probot-no-response - https://github.com/probot/no-response
# Number of days of inactivity before an Issue is closed for lack of response
-daysUntilClose: 30
+daysUntilClose: 60
# Label requiring a response
-responseRequiredLabel: "Status: waiting response"
+responseRequiredLabel: "needs more info"
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
diff --git a/.github/potential-duplicates.yml b/.github/potential-duplicates.yml
index ef31c01dc..9c973de06 100644
--- a/.github/potential-duplicates.yml
+++ b/.github/potential-duplicates.yml
@@ -1,6 +1,6 @@
# Label name and color to set, when potential duplicates are detected
-issueLabel: "Type: potential duplicate"
-labelColor: D2DAE1
+issueLabel: "duplicate"
+labelColor: 579e01
# If similarity is higher than this threshold, issue will be marked as duplicate
threshold: 0.60
diff --git a/.github/request-info.yml b/.github/request-info.yml
index daae9d2cf..1b354d9f7 100644
--- a/.github/request-info.yml
+++ b/.github/request-info.yml
@@ -2,7 +2,9 @@
# *Required* Comment to reply with
requestInfoReplyComment: >
- We require more information for this issue.
+ 
+ More data is required to assist with this issue
+ or issue template was not used correctly.
https://linuxgsm.com/support/#guide
# *OPTIONAL* default titles to check against for lack of descriptiveness
@@ -12,4 +14,4 @@ requestInfoReplyComment: >
# - updates
# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given
-requestInfoLabelToAdd: "Status: needs more info"
\ No newline at end of file
+requestInfoLabelToAdd: "needs more info"
\ No newline at end of file
diff --git a/.github/welcome.yml b/.github/welcome.yml
index 3d0c15e7d..7a120a2fa 100644
--- a/.github/welcome.yml
+++ b/.github/welcome.yml
@@ -4,18 +4,18 @@
# Comment to be posted to on first time issues
newIssueWelcomeComment: >
- Thanks for opening your first issue. Be sure to follow the issue template! and guide for posting. https://linuxgsm.com/support/#guide
+ Thank you for opening your first issue. Be sure to follow the issue template! and guide for posting. https://linuxgsm.com/support/#guide
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: >
- Thanks for opening this pull request! Please check out our contributing guidelines.
+ Thank you for opening this pull request! Please check out our contributing guidelines.
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
- Congrats on merging your first pull request! Thank you for supporting LinuxGSM!
+ Congratulations on merging your first pull request! Thank you for supporting LinuxGSM!
# It is recommend to include as many gifs and emojis as possible
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1b1257630..764f21e19 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,15 +9,13 @@ Before working on a project we recommend that you create a issue in regards to t
Here are some important resources:
* [Issues Page](https://github.com/GameServerManagers/LinuxGSM/issues) provides a list of areas that could use some work,
- * [Developing LinuxGSM](https://docs.linuxgsm.com/developers) gives a detailed guide on developing LGSM,
- * [LinuxGSM Exit Codes](https://docs.linuxgsm.com/developers/linuxgsm-exit-codes) describes and gives an explanation for exit codes,
- * [Branching](https://docs.linuxgsm.com/developers/branching) is our final guide to submitting changes.
+ * [Developer Wiki](https://github.com/GameServerManagers/LinuxGSM/wiki) gives a detailed guide on developing LGSM,
## Testing
Please make sure all the code you write is working properly **before** you create a pull request. Information on debugging can be found in the following document:
-[Developer Commands](https://docs.linuxgsm.com/developers/developer-commands)
-[Debugging your code](https://docs.linuxgsm.com/developers/developing-lgsm#testing-and-debugging-your-code)
+
+[Developer Commands](https://github.com/GameServerManagers/LinuxGSM/wiki/Developer-Commands)
## Submitting changes
@@ -35,4 +33,4 @@ This will help us in understanding your code and determining where problems may
Start reading our code and you'll get the hang of it. Explore how functions are organized and you'll see how we strive for readable code.
Please give the following document a read and adjust your code according to its specifications.
-[Syntax & Coding Conventions](https://docs.linuxgsm.com/developers/syntax-and-conventions)
\ No newline at end of file
+[Syntax & Coding Conventions](https://github.com/GameServerManagers/LinuxGSM/wiki/Syntax-and-Conventions)
\ No newline at end of file
diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000..603e621b0
--- /dev/null
+++ b/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,22 @@
+# Description
+
+Please include a summary of the change and which issue is fixed.
+
+Fixes #\[issue]
+
+## Type of change
+
+* [ ] Bug fix (change which fixes an issue)
+* [ ] New feature (change which adds functionality)
+* [ ] New Server (new server added)
+* [ ] Refactor (restructures existing code)
+* [ ] This change requires a documentation update
+
+## Checklist
+
+* [ ] My code follows the style guidelines of this project
+* [ ] This pull request links to an issue
+* [ ] This pull request uses the `develop` branch as its base
+* [ ] I have performed a self-review of my own code
+* [ ] I have commented my code, particularly in hard to understand areas
+* [ ] I have made corresponding changes to the documentation if required
diff --git a/README.md b/README.md
index cb0930a42..7466cc0f9 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-
+
- [](https://linuxgsm.com) [](https://travis-ci.com/GameServerManagers/LinuxGSM) [](https://app.codacy.com/app/GameServerManagers/LinuxGSM?utm_source=github.com&utm_medium=referral&utm_content=GameServerManagers/LinuxGSM&utm_campaign=Badge_Grade_Dashboard) [](https://linuxgsm.com/discord) [](https://github.com/GameServerManagers/LinuxGSM/blob/master/LICENSE) [](https://www.gnu.org/software/bash/)
+ [](https://linuxgsm.com) [](http://waffle.io/GameServerManagers/LinuxGSM) [](https://travis-ci.com/GameServerManagers/LinuxGSM) [](https://app.codacy.com/app/GameServerManagers/LinuxGSM?utm_source=github.com&utm_medium=referral&utm_content=GameServerManagers/LinuxGSM&utm_campaign=Badge_Grade_Dashboard) [](https://linuxgsm.com/discord) [](https://github.com/GameServerManagers/LinuxGSM/blob/master/LICENSE) [](https://www.gnu.org/software/bash/)
[LinuxGSM](https://linuxgsm.com) is the command line tool for quick, simple deployment and management of dedicated game servers.
@@ -14,20 +14,21 @@ Traditionally game servers are not easy to manage yourself. Admins often have to
## Main features
80+ game servers supported
- - :truck: Installer
- - :mag: Monitor
- - :phone: Alerts
- - :cloud: Updater
- - :blue_book: Server Details
- - :floppy_disk: Backup
- - :computer: Console
+
+* :truck: Installer
+* :mag: Monitor
+* :phone: Alerts
+* :cloud: Updater
+* :blue_book: Server Details
+* :floppy_disk: Backup
+* :computer: Console
## :penguin: Compatibility
Linux Game Server Managers are tested to work on the following Linux distros.
- - Debian based (Ubuntu, Mint etc.)
- - Red Hat based (CentOS, Fedora etc.).
+* Debian based (Ubuntu, Mint etc.)
+* Red Hat based (CentOS, Fedora etc.)
Other distros are likely to work but are not fully tested.
@@ -35,9 +36,11 @@ Other distros are likely to work but are not fully tested.
Each game server has its own specific dependency requirements, but most require GLIBC and Tmux. Visit the specific game server installation page on the [LinuxGSM](https://linuxgsm.com) website to see dependencies.
- - [GLIBC](https://docs.linuxgsm.com/requirements/glibc) >= 2.15 recommended [[specific requirements]](https://docs.linuxgsm.com/requirements/glibc#server-requirements)
-- [Tmux](https://docs.linuxgsm.com/requirements/tmux) >= 1.6 recommended (Avoid Tmux 1.8)
+* [GLIBC](https://docs.linuxgsm.com/requirements/glibc) >= 2.15 recommended [[specific requirements]](https://docs.linuxgsm.com/requirements/glibc#server-requirements)
+* [Tmux](https://docs.linuxgsm.com/requirements/tmux) >= 1.6 recommended (Avoid Tmux 1.8)
+
## :blue_book: Documentation
+
Documentation is found at [linuxgsm.com](https://linuxgsm.com) and [docs.linuxgsm.com](https://docs.linuxgsm.com)
## :question: Support
diff --git a/lgsm/functions/info_distro.sh b/lgsm/functions/info_distro.sh
index d9b6bcef6..60795d56c 100644
--- a/lgsm/functions/info_distro.sh
+++ b/lgsm/functions/info_distro.sh
@@ -89,8 +89,10 @@ days=$(( uptime/60/60/24 ))
## Average server load
load=$(uptime|awk -F 'load average: ' '{ print $2 }')
-## Memory information
-
+## CPU information
+cpumodel=$(awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo | sed 's/^[ \t]*//;s/[ \t]*$//')
+cpucores=$(awk -F: '/model name/ {core++} END {print core}' /proc/cpuinfo)
+cpufreuency=$(awk -F: ' /cpu MHz/ {freq=$2} END {print freq " MHz"}' /proc/cpuinfo | sed 's/^[ \t]*//;s/[ \t]*$//')
## Memory information
# Available RAM and swap.
@@ -232,4 +234,4 @@ if [ ! "$(command -v jq 2>/dev/null)" ]; then
fi
fi
fi
-fi
\ No newline at end of file
+fi
diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh
index 5478e2077..cc4c99384 100644
--- a/lgsm/functions/info_messages.sh
+++ b/lgsm/functions/info_messages.sh
@@ -74,6 +74,12 @@ fn_info_message_performance(){
echo -e "${blue}Avg Load:\t${default}${load}"
} | column -s $'\t' -t
echo -e ""
+ {
+ echo -e "${blue}CPU Model:\t${default}${cpumodel}"
+ echo -e "${blue}CPU Cores:\t${default}${cpucores}"
+ echo -e "${blue}CPU Frequency:\t${default}${cpufreuency}"
+ } | column -s $'\t' -t
+ echo -e ""
{
echo -e "${blue}Mem:\t${blue}total\tused\tfree\tcached\tavailable${default}"
echo -e "${blue}Physical:\t${default}${physmemtotal}\t${physmemused}\t${physmemfree}\t${physmemcached}\t${physmemavailable}${default}"