mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-09 04:27:35 +08:00
changed to new domain linuxgsm.com
This commit is contained in:
parent
f61840ce22
commit
77f1f9ea23
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
We are really glad you're reading this, because if you are then you have shown an interest in helping make LinuxGSM great.
|
We are really glad you're reading this, because if you are then you have shown an interest in helping make LinuxGSM great.
|
||||||
|
|
||||||
If you haven't already, come find us on [Discord](https://gameservermanagers.com/discord). From there you will have contact with other contributers of the project. We want you working on things you're excited about.
|
If you haven't already, come find us on [Discord](https://linuxgsm.com/discord). From there you will have contact with other contributers of the project. We want you working on things you're excited about.
|
||||||
|
|
||||||
Before working on a project we recommend that you create a issue in regards to the issue/feature. This will prevent duplicates while you work on the feature. If an issue already exists, make note that you are working on it so nobody else wastes their time working on the same project at the same time!
|
Before working on a project we recommend that you create a issue in regards to the issue/feature. This will prevent duplicates while you work on the feature. If an issue already exists, make note that you are working on it so nobody else wastes their time working on the same project at the same time!
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="20"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
ip=""
|
ip=""
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ tickrate="64"
|
|||||||
|
|
||||||
## Required: Game Server Login Token
|
## Required: Game Server Login Token
|
||||||
# GSLT is required for running a public server.
|
# GSLT is required for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Optional: Workshop Parameters
|
## Optional: Workshop Parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
|||||||
|
|
||||||
## Required: Game Server Login Token
|
## Required: Game Server Login Token
|
||||||
# GSLT is required for running a public server.
|
# GSLT is required for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="62"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -29,7 +29,7 @@ customparms="+r_hunkalloclightmaps 0 -disableluarefresh"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -20,7 +20,7 @@ workshop="0"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="8"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -15,7 +15,7 @@ queryport="27015"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -18,7 +18,7 @@ maxplayers="20"
|
|||||||
|
|
||||||
## Optional: Game Server Login Token
|
## Optional: Game Server Login Token
|
||||||
# GSLT can be used for running a public server.
|
# GSLT can be used for running a public server.
|
||||||
# More info: https://gameservermanagers.com/gslt
|
# More info: https://linuxgsm.com/gslt
|
||||||
gslt=""
|
gslt=""
|
||||||
|
|
||||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert.sh function
|
# LinuxGSM alert.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Overall function for managing alerts.
|
# Description: Overall function for managing alerts.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM alert_discord.sh function
|
# LinuxGSM alert_discord.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: faflfama
|
# Contributor: faflfama
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends Discord alert.
|
# Description: Sends Discord alert.
|
||||||
|
|
||||||
json=$(cat <<EOF
|
json=$(cat <<EOF
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert_email.sh function
|
# LinuxGSM alert_email.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends email alert.
|
# Description: Sends email alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert_ifttt.sh function
|
# LinuxGSM alert_ifttt.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends IFTTT alert.
|
# Description: Sends IFTTT alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert_mailgun.sh function
|
# LinuxGSM alert_mailgun.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends Mailgun Email alert.
|
# Description: Sends Mailgun Email alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert_pushbullet.sh function
|
# LinuxGSM alert_pushbullet.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends Pushbullet Messenger alert.
|
# Description: Sends Pushbullet Messenger alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM alert_pushover.sh function
|
# LinuxGSM alert_pushover.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends Pushover alert.
|
# Description: Sends Pushover alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check.sh function
|
# LinuxGSM check.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Overall function for managing checks.
|
# Description: Overall function for managing checks.
|
||||||
# Runs checks that will either halt on or fix an issue.
|
# Runs checks that will either halt on or fix an issue.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_config.sh function
|
# LinuxGSM check_config.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if the server config is missing and warns the user if needed.
|
# Description: Checks if the server config is missing and warns the user if needed.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_deps.sh function
|
# LinuxGSM check_deps.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if required dependencies are installed for LinuxGSM.
|
# Description: Checks if required dependencies are installed for LinuxGSM.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_executable.sh function
|
# LinuxGSM check_executable.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if executable exists.
|
# Description: Checks if executable exists.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_glibc.sh function
|
# LinuxGSM check_glibc.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if the server has the correct Glibc version or a fix available.
|
# Description: Checks if the server has the correct Glibc version or a fix available.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_ip.sh function
|
# LinuxGSM check_ip.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Automatically identifies the server interface IP.
|
# Description: Automatically identifies the server interface IP.
|
||||||
# If multiple interfaces are detected the user will need to manually set using ip="0.0.0.0".
|
# If multiple interfaces are detected the user will need to manually set using ip="0.0.0.0".
|
||||||
|
|
||||||
@ -50,9 +50,9 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
|
|||||||
fi
|
fi
|
||||||
echo -en "${getip}\n"
|
echo -en "${getip}\n"
|
||||||
echo -en "\n"
|
echo -en "\n"
|
||||||
echo -en "https://gameservermanagers.com/network-interfaces\n"
|
echo -en "https://linuxgsm.com/network-interfaces\n"
|
||||||
echo -en ""
|
echo -en ""
|
||||||
fn_script_log_fatal "https://gameservermanagers.com/network-interfaces\n"
|
fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
|
||||||
core_exit.sh
|
core_exit.sh
|
||||||
# Single interface
|
# Single interface
|
||||||
elif [ "${ipsetinconfig}" == "1" ]; then
|
elif [ "${ipsetinconfig}" == "1" ]; then
|
||||||
@ -65,11 +65,11 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
|
|||||||
echo -en "Set ${ipinconfigvar} to the following:\n"
|
echo -en "Set ${ipinconfigvar} to the following:\n"
|
||||||
echo -en "${getip}\n"
|
echo -en "${getip}\n"
|
||||||
echo -en "\n"
|
echo -en "\n"
|
||||||
echo -en "https://gameservermanagers.com/network-interfaces\n"
|
echo -en "https://linuxgsm.com/network-interfaces\n"
|
||||||
echo -en ""
|
echo -en ""
|
||||||
fn_script_log_fatal "IP address not set in game config."
|
fn_script_log_fatal "IP address not set in game config."
|
||||||
fn_script_log_fatal "Specify the IP you want to bind within: ${servercfgfullpath}."
|
fn_script_log_fatal "Specify the IP you want to bind within: ${servercfgfullpath}."
|
||||||
fn_script_log_fatal "https://gameservermanagers.com/network-interfaces\n"
|
fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
|
||||||
core_exit.sh
|
core_exit.sh
|
||||||
else
|
else
|
||||||
ip="${getip}"
|
ip="${getip}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_logs.sh function
|
# LinuxGSM check_logs.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if log files exist.
|
# Description: Checks if log files exist.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM check_permissions.sh
|
# LinuxGSM check_permissions.sh
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks ownership & permissions of scripts, files and directories.
|
# Description: Checks ownership & permissions of scripts, files and directories.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_root.sh function
|
# LinuxGSM check_root.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if the user tried to run the script as root.
|
# Description: Checks if the user tried to run the script as root.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM check_status.sh function
|
# LinuxGSM check_status.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks the process status of the server. Either online or offline.
|
# Description: Checks the process status of the server. Either online or offline.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_steamcmd.sh function
|
# LinuxGSM check_steamcmd.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if SteamCMD is installed correctly.
|
# Description: Checks if SteamCMD is installed correctly.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM check_system_dir.sh function
|
# LinuxGSM check_system_dir.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if systemdir/serverfiles is accessible.
|
# Description: Checks if systemdir/serverfiles is accessible.
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM check_system_requirements.sh
|
# LinuxGSM check_system_requirements.sh
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks RAM requirements
|
# Description: Checks RAM requirements
|
||||||
|
|
||||||
local commandname="CHECK"
|
local commandname="CHECK"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM check_config.sh function
|
# LinuxGSM check_config.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Checks if run from tmux or screen
|
# Description: Checks if run from tmux or screen
|
||||||
|
|
||||||
local commandname="check"
|
local commandname="check"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_backup.sh function
|
# LinuxGSM command_backup.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Creates a .tar.gz file in the backup directory.
|
# Description: Creates a .tar.gz file in the backup directory.
|
||||||
|
|
||||||
local commandname="BACKUP"
|
local commandname="BACKUP"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_console.sh function
|
# LinuxGSM command_console.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Gives access to the server tmux console.
|
# Description: Gives access to the server tmux console.
|
||||||
|
|
||||||
local commandname="CONSOLE"
|
local commandname="CONSOLE"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_debug.sh function
|
# LinuxGSM command_debug.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Runs the server without tmux and directly from the terminal.
|
# Description: Runs the server without tmux and directly from the terminal.
|
||||||
|
|
||||||
local commandname="DEBUG"
|
local commandname="DEBUG"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_details.sh function
|
# LinuxGSM command_details.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Displays server information.
|
# Description: Displays server information.
|
||||||
|
|
||||||
local commandname="DETAILS"
|
local commandname="DETAILS"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_dev_debug.sh function
|
# LinuxGSM command_dev_debug.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Dev only: Enables debugging log to be saved to dev-debug.log.
|
# Description: Dev only: Enables debugging log to be saved to dev-debug.log.
|
||||||
|
|
||||||
local commandname="DEV-DEBUG"
|
local commandname="DEV-DEBUG"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_dev_detect_deps.sh function
|
# LinuxGSM command_dev_detect_deps.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Detects dependencies the server binary requires.
|
# Description: Detects dependencies the server binary requires.
|
||||||
|
|
||||||
local commandname="DEPS-DETECT"
|
local commandname="DEPS-DETECT"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_dev_detect_glibc.sh function
|
# LinuxGSM command_dev_detect_glibc.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Automatically detects the version of GLIBC that is required.
|
# Description: Automatically detects the version of GLIBC that is required.
|
||||||
# Can check a file or directory recursively.
|
# Can check a file or directory recursively.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# command_dev_detect_ldd.sh function
|
# command_dev_detect_ldd.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Automatically detects required deps using ldd.
|
# Description: Automatically detects required deps using ldd.
|
||||||
# Can check a file or directory recursively.
|
# Can check a file or directory recursively.
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_fastdl.sh function
|
# LinuxGSM command_fastdl.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Creates a FastDL directory.
|
# Description: Creates a FastDL directory.
|
||||||
|
|
||||||
local commandname="FASTDL"
|
local commandname="FASTDL"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_install.sh function
|
# LinuxGSM command_install.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Overall function for the installer.
|
# Description: Overall function for the installer.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_install_resources_mta.sh function
|
# LinuxGSM command_install_resources_mta.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Installs the default resources for Multi Theft Auto.
|
# Description: Installs the default resources for Multi Theft Auto.
|
||||||
|
|
||||||
local commandname="DEFAULT_RESOURCES"
|
local commandname="DEFAULT_RESOURCES"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_mods_install.sh function
|
# LinuxGSM command_mods_install.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: List and installs available mods along with mods_list.sh and mods_core.sh.
|
# Description: List and installs available mods along with mods_list.sh and mods_core.sh.
|
||||||
|
|
||||||
local commandname="MODS"
|
local commandname="MODS"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_mods_uninstall.sh function
|
# LinuxGSM command_mods_uninstall.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Uninstall mods along with mods_list.sh and mods_core.sh.
|
# Description: Uninstall mods along with mods_list.sh and mods_core.sh.
|
||||||
|
|
||||||
local commandname="MODS"
|
local commandname="MODS"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_mods_update.sh function
|
# LinuxGSM command_mods_update.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Updates installed mods along with mods_list.sh and mods_core.sh.
|
# Description: Updates installed mods along with mods_list.sh and mods_core.sh.
|
||||||
|
|
||||||
local commandname="MODS"
|
local commandname="MODS"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_monitor.sh function
|
# LinuxGSM command_monitor.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Monitors server by checking for running processes.
|
# Description: Monitors server by checking for running processes.
|
||||||
# then passes to monitor_gsquery.sh.
|
# then passes to monitor_gsquery.sh.
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_postdetails.sh function
|
# LinuxGSM command_postdetails.sh function
|
||||||
# Author: CedarLUG
|
# Author: CedarLUG
|
||||||
# Contributor: CedarLUG
|
# Contributor: CedarLUG
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Strips sensitive information out of Details output
|
# Description: Strips sensitive information out of Details output
|
||||||
|
|
||||||
local commandname="postdetails"
|
local commandname="postdetails"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_restart.sh function
|
# LinuxGSM command_restart.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Restarts the server.
|
# Description: Restarts the server.
|
||||||
|
|
||||||
local commandname="RESTART"
|
local commandname="RESTART"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_start.sh function
|
# LinuxGSM command_start.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Starts the server.
|
# Description: Starts the server.
|
||||||
|
|
||||||
local commandname="START"
|
local commandname="START"
|
||||||
@ -126,13 +126,13 @@ fn_start_tmux(){
|
|||||||
# tmux pipe-pane not supported in tmux versions < 1.6
|
# tmux pipe-pane not supported in tmux versions < 1.6
|
||||||
if [ "${tmuxversion}" -lt "16" ]; then
|
if [ "${tmuxversion}" -lt "16" ]; then
|
||||||
echo "Console logging disabled: Tmux => 1.6 required
|
echo "Console logging disabled: Tmux => 1.6 required
|
||||||
https://gameservermanagers.com/tmux-upgrade
|
https://linuxgsm.com/tmux-upgrade
|
||||||
Currently installed: $(tmux -V)" > "${consolelog}"
|
Currently installed: $(tmux -V)" > "${consolelog}"
|
||||||
|
|
||||||
# Console logging disabled: Bug in tmux 1.8 breaks logging
|
# Console logging disabled: Bug in tmux 1.8 breaks logging
|
||||||
elif [ "${tmuxversion}" -eq "18" ]; then
|
elif [ "${tmuxversion}" -eq "18" ]; then
|
||||||
echo "Console logging disabled: Bug in tmux 1.8 breaks logging
|
echo "Console logging disabled: Bug in tmux 1.8 breaks logging
|
||||||
https://gameservermanagers.com/tmux-upgrade
|
https://linuxgsm.com/tmux-upgrade
|
||||||
Currently installed: $(tmux -V)" > "${consolelog}"
|
Currently installed: $(tmux -V)" > "${consolelog}"
|
||||||
# Console logging enable or not set
|
# Console logging enable or not set
|
||||||
elif [ "${consolelogging}" == "on" ]||[ -z "${consolelogging}" ]; then
|
elif [ "${consolelogging}" == "on" ]||[ -z "${consolelogging}" ]; then
|
||||||
@ -168,7 +168,7 @@ sleep 1
|
|||||||
echo "================================="
|
echo "================================="
|
||||||
cat "${lgsmlogdir}/.${servicename}-tmux-error.tmp" | tee -a "${lgsmlog}"
|
cat "${lgsmlogdir}/.${servicename}-tmux-error.tmp" | tee -a "${lgsmlog}"
|
||||||
|
|
||||||
# Detected error https://gameservermanagers.com/support
|
# Detected error https://linuxgsm.com/support
|
||||||
if [ $(grep -c "Operation not permitted" "${lgsmlogdir}/.${servicename}-tmux-error.tmp") ]; then
|
if [ $(grep -c "Operation not permitted" "${lgsmlogdir}/.${servicename}-tmux-error.tmp") ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Fix"
|
echo "Fix"
|
||||||
@ -185,13 +185,13 @@ sleep 1
|
|||||||
echo ""
|
echo ""
|
||||||
echo " usermod -G tty $(whoami)"
|
echo " usermod -G tty $(whoami)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "https://gameservermanagers.com/tmux-op-perm"
|
echo "https://linuxgsm.com/tmux-op-perm"
|
||||||
fn_script_log_info "https://gameservermanagers.com/tmux-op-perm"
|
fn_script_log_info "https://linuxgsm.com/tmux-op-perm"
|
||||||
else
|
else
|
||||||
echo "No known fix currently. Please log an issue."
|
echo "No known fix currently. Please log an issue."
|
||||||
fn_script_log_info "No known fix currently. Please log an issue."
|
fn_script_log_info "No known fix currently. Please log an issue."
|
||||||
echo "https://gameservermanagers.com/support"
|
echo "https://linuxgsm.com/support"
|
||||||
fn_script_log_info "https://gameservermanagers.com/support"
|
fn_script_log_info "https://linuxgsm.com/support"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_stop.sh function
|
# LinuxGSM command_stop.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributors: UltimateByte
|
# Contributors: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Stops the server.
|
# Description: Stops the server.
|
||||||
|
|
||||||
local commandname="STOP"
|
local commandname="STOP"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_test_alert.sh function
|
# LinuxGSM command_test_alert.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Sends a test alert.
|
# Description: Sends a test alert.
|
||||||
|
|
||||||
local commandname="ALERT"
|
local commandname="ALERT"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_ts3_server_pass.sh function
|
# LinuxGSM command_ts3_server_pass.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor : UltimateByte
|
# Contributor : UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Changes TS3 serveradmin password.
|
# Description: Changes TS3 serveradmin password.
|
||||||
|
|
||||||
local commandname="TS3-CHANGE-PASS"
|
local commandname="TS3-CHANGE-PASS"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_update.sh function
|
# LinuxGSM command_update.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Handles updating of servers.
|
# Description: Handles updating of servers.
|
||||||
|
|
||||||
local commandname="UPDATE"
|
local commandname="UPDATE"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_update_functions.sh function
|
# LinuxGSM command_update_functions.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
||||||
# Legacy Command
|
# Legacy Command
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_update_linuxgsm.sh function
|
# LinuxGSM command_update_linuxgsm.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
||||||
|
|
||||||
local commandname="UPDATE LinuxGSM"
|
local commandname="UPDATE LinuxGSM"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM command_validate.sh function
|
# LinuxGSM command_validate.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Runs a server validation.
|
# Description: Runs a server validation.
|
||||||
|
|
||||||
local commandname="VALIDATE"
|
local commandname="VALIDATE"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM command_backup.sh function
|
# LinuxGSM command_backup.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Wipes server data, useful after updates for some games like Rust
|
# Description: Wipes server data, useful after updates for some games like Rust
|
||||||
|
|
||||||
local commandname="WIPE"
|
local commandname="WIPE"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM compress_unreal2_maps.sh function
|
# LinuxGSM compress_unreal2_maps.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Compresses unreal maps.
|
# Description: Compresses unreal maps.
|
||||||
|
|
||||||
local commandaction="Unreal Map Compressor"
|
local commandaction="Unreal Map Compressor"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM compress_ut99_maps.sh function
|
# LinuxGSM compress_ut99_maps.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Compresses unreal maps.
|
# Description: Compresses unreal maps.
|
||||||
|
|
||||||
local commandaction="Unreal Map Compressor"
|
local commandaction="Unreal Map Compressor"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM core_dl.sh function
|
# LinuxGSM core_dl.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Deals with all downloads for LinuxGSM.
|
# Description: Deals with all downloads for LinuxGSM.
|
||||||
|
|
||||||
# remote_fileurl: The URL of the file: http://example.com/dl/File.tar.bz2
|
# remote_fileurl: The URL of the file: http://example.com/dl/File.tar.bz2
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM core_exit.sh function
|
# LinuxGSM core_exit.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.
|
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.
|
||||||
|
|
||||||
fn_exit_dev_debug(){
|
fn_exit_dev_debug(){
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM core_functions.sh function
|
# LinuxGSM core_functions.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function.
|
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function.
|
||||||
# This function is called first before any other function. Without this file other functions will not load.
|
# This function is called first before any other function. Without this file other functions will not load.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM core_getopt.sh function
|
# LinuxGSM core_getopt.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: getopt arguments.
|
# Description: getopt arguments.
|
||||||
|
|
||||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
@ -148,7 +148,7 @@ fn_opt_usage(){
|
|||||||
echo "Usage: $0 [option]"
|
echo "Usage: $0 [option]"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
echo "${gamename} - Linux Game Server Manager - Version ${version}"
|
echo "${gamename} - Linux Game Server Manager - Version ${version}"
|
||||||
echo "https://gameservermanagers.com/${gameservername}"
|
echo "https://linuxgsm.com/${gameservername}"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
echo -e "${lightyellow}Commands${default}"
|
echo -e "${lightyellow}Commands${default}"
|
||||||
# Display available commands
|
# Display available commands
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM core_legacy.sh function
|
# LinuxGSM core_legacy.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Code for backwards compatability with older versions of LinuxGSM.
|
# Description: Code for backwards compatability with older versions of LinuxGSM.
|
||||||
|
|
||||||
if [ -z "${serverfiles}" ]; then
|
if [ -z "${serverfiles}" ]; then
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM core_messages.sh function
|
# LinuxGSM core_messages.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: s-eam
|
# Contributor: s-eam
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Defines on-screen messages such as [ OK ] and how script logs look.
|
# Description: Defines on-screen messages such as [ OK ] and how script logs look.
|
||||||
|
|
||||||
# nl: new line: message is following by a new line
|
# nl: new line: message is following by a new line
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM core_trap.sh function
|
# LinuxGSM core_trap.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Handles CTRL-C trap to give an exit code.
|
# Description: Handles CTRL-C trap to give an exit code.
|
||||||
|
|
||||||
fn_exit_trap(){
|
fn_exit_trap(){
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix.sh function
|
# LinuxGSM fix.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Overall function for managing fixes.
|
# Description: Overall function for managing fixes.
|
||||||
# Runs functions that will fix an issue.
|
# Runs functions that will fix an issue.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ark.sh function
|
# LinuxGSM fix_ark.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with ARK: Survival Evolved.
|
# Description: Resolves various issues with ARK: Survival Evolved.
|
||||||
|
|
||||||
# Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work.
|
# Symlinking the SteamCMD directory into the correct ARK directory so that the mods auto-management will work.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_arma3.sh function
|
# LinuxGSM fix_arma3.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves an issue with ARMA3.
|
# Description: Resolves an issue with ARMA3.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_coduo.sh function
|
# LinuxGSM fix_coduo.sh function
|
||||||
# Author: Alexander Hurd
|
# Author: Alexander Hurd
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Fixes for Call of Duty: United Offensive
|
# Description: Fixes for Call of Duty: United Offensive
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_csgo.sh function
|
# LinuxGSM fix_csgo.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with CS:GO.
|
# Description: Resolves various issues with CS:GO.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_dst.sh function
|
# LinuxGSM fix_dst.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Don't Starve Together.
|
# Description: Resolves various issues with Don't Starve Together.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ges.sh function
|
# LinuxGSM fix_ges.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with GoldenEye: Source.
|
# Description: Resolves various issues with GoldenEye: Source.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_glibc.sh function
|
# LinuxGSM fix_glibc.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Downloads required Glibc files and applies the Glibc fix if required.
|
# Description: Downloads required Glibc files and applies the Glibc fix if required.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ins.sh function
|
# LinuxGSM fix_ins.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Insurgency.
|
# Description: Resolves various issues with Insurgency.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_kf.sh function
|
# LinuxGSM fix_kf.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Killing Floor.
|
# Description: Resolves various issues with Killing Floor.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_kf3.sh function
|
# LinuxGSM fix_kf3.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Killing Floor 2.
|
# Description: Resolves various issues with Killing Floor 2.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM fix_mta.sh function
|
# LinuxGSM fix_mta.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: ChaosMTA
|
# Contributor: ChaosMTA
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Installs the libmysqlclient for database functions on the server
|
# Description: Installs the libmysqlclient for database functions on the server
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
local commandaction="Fix"
|
local commandaction="Fix"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ro.sh function
|
# LinuxGSM fix_ro.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Red Orchestra.
|
# Description: Resolves various issues with Red Orchestra.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_rust.sh function
|
# LinuxGSM fix_rust.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves startup issue with Rust
|
# Description: Resolves startup issue with Rust
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_steamcmd.sh function
|
# LinuxGSM fix_steamcmd.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues related to SteamCMD.
|
# Description: Resolves various issues related to SteamCMD.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ut.sh function
|
# LinuxGSM fix_ut.sh function
|
||||||
# Author: Alexander Hurd
|
# Author: Alexander Hurd
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Unreal Tournament.
|
# Description: Resolves various issues with Unreal Tournament.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM fix_ut2k4.sh function
|
# LinuxGSM fix_ut2k4.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Resolves various issues with Unreal Tournament 2004.
|
# Description: Resolves various issues with Unreal Tournament 2004.
|
||||||
|
|
||||||
local commandname="FIX"
|
local commandname="FIX"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# PythonGSQ
|
# PythonGSQ
|
||||||
# Author: Anonymous & Daniel Gibbs
|
# Author: Anonymous & Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Allows querying of various game servers.
|
# Description: Allows querying of various game servers.
|
||||||
|
|
||||||
import optparse
|
import optparse
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# LinuxGSM info_config.sh function
|
# LinuxGSM info_config.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Contributor: UltimateByte
|
# Contributor: UltimateByte
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Gets specific details from config files.
|
# Description: Gets specific details from config files.
|
||||||
|
|
||||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM info_distro.sh function
|
# LinuxGSM info_distro.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Variables providing useful info on the Operating System such as disk and performace info.
|
# Description: Variables providing useful info on the Operating System such as disk and performace info.
|
||||||
# Used for command_details.sh, command_debug.sh and alert.sh.
|
# Used for command_details.sh, command_debug.sh and alert.sh.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM info_glibc.sh function
|
# LinuxGSM info_glibc.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Stores details on servers Glibc requirements.
|
# Description: Stores details on servers Glibc requirements.
|
||||||
|
|
||||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM info_messages.sh function
|
# LinuxGSM info_messages.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Defines server info messages for details, alerts.
|
# Description: Defines server info messages for details, alerts.
|
||||||
|
|
||||||
# Standard Details
|
# Standard Details
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM info_parms.sh function
|
# LinuxGSM info_parms.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: If specific parms are not set then this will be displayed in details.
|
# Description: If specific parms are not set then this will be displayed in details.
|
||||||
|
|
||||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_complete.sh function
|
# LinuxGSM install_complete.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Prints installation completion message and hints.
|
# Description: Prints installation completion message and hints.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_config.sh function
|
# LinuxGSM install_config.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Creates default server configs.
|
# Description: Creates default server configs.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_dst_token.sh function
|
# LinuxGSM install_dst_token.sh function
|
||||||
# Author: Daniel Gibbs & Marvin Lehmann (marvinl97)
|
# Author: Daniel Gibbs & Marvin Lehmann (marvinl97)
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Configures Don't Starve Together cluster with given token.
|
# Description: Configures Don't Starve Together cluster with given token.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
@ -14,7 +14,7 @@ echo "================================="
|
|||||||
sleep 1
|
sleep 1
|
||||||
echo "A cluster token is required to run this server!"
|
echo "A cluster token is required to run this server!"
|
||||||
echo "Follow the instructions in this link to obtain this key:"
|
echo "Follow the instructions in this link to obtain this key:"
|
||||||
echo "https://gameservermanagers.com/dst-auth-token"
|
echo "https://linuxgsm.com/dst-auth-token"
|
||||||
echo ""
|
echo ""
|
||||||
if [ -z "${autoinstall}" ]; then
|
if [ -z "${autoinstall}" ]; then
|
||||||
overwritetoken="true"
|
overwritetoken="true"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_factorio_save.sh function
|
# LinuxGSM install_factorio_save.sh function
|
||||||
# Author: Kristian Polso
|
# Author: Kristian Polso
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Creates the initial save file for Factorio
|
# Description: Creates the initial save file for Factorio
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_gslt.sh function
|
# LinuxGSM install_gslt.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Configures GSLT.
|
# Description: Configures GSLT.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
@ -21,9 +21,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Get more info and a token here:"
|
echo "Get more info and a token here:"
|
||||||
echo "https://gameservermanagers.com/gslt"
|
echo "https://linuxgsm.com/gslt"
|
||||||
fn_script_log_info "Get more info and a token here:"
|
fn_script_log_info "Get more info and a token here:"
|
||||||
fn_script_log_info "https://gameservermanagers.com/gslt"
|
fn_script_log_info "https://linuxgsm.com/gslt"
|
||||||
echo ""
|
echo ""
|
||||||
if [ -z "${autoinstall}" ]; then
|
if [ -z "${autoinstall}" ]; then
|
||||||
if [ "${gamename}" != "Tower Unite" ]; then
|
if [ "${gamename}" != "Tower Unite" ]; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_header.sh function
|
# LinuxGSM install_header.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Prints installation header.
|
# Description: Prints installation header.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
@ -14,5 +14,5 @@ echo "${gamename}"
|
|||||||
echo "Linux Game Server Manager"
|
echo "Linux Game Server Manager"
|
||||||
echo "by Daniel Gibbs"
|
echo "by Daniel Gibbs"
|
||||||
echo "Contributors: http://goo.gl/qLmitD"
|
echo "Contributors: http://goo.gl/qLmitD"
|
||||||
echo "https://gameservermanagers.com"
|
echo "https://linuxgsm.com"
|
||||||
echo "================================="
|
echo "================================="
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_logs.sh function
|
# LinuxGSM install_logs.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Creates log directories.
|
# Description: Creates log directories.
|
||||||
|
|
||||||
local commandname="INSTALL"
|
local commandname="INSTALL"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# LinuxGSM install_minecraft_eula.sh function
|
# LinuxGSM install_minecraft_eula.sh function
|
||||||
# Author: Daniel Gibbs
|
# Author: Daniel Gibbs
|
||||||
# Website: https://gameservermanagers.com
|
# Website: https://linuxgsm.com
|
||||||
# Description: Gets user to accept the EULA.
|
# Description: Gets user to accept the EULA.
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user