mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +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.
|
||||
|
||||
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!
|
||||
|
||||
|
@ -18,7 +18,7 @@ maxplayers="20"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
ip=""
|
||||
|
||||
|
@ -30,7 +30,7 @@ tickrate="64"
|
||||
|
||||
## Required: Game Server Login Token
|
||||
# GSLT is required for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Optional: Workshop Parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
||||
|
||||
## Required: Game Server Login Token
|
||||
# GSLT is required for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="62"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## 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
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -20,7 +20,7 @@ workshop="0"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="8"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="16"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -15,7 +15,7 @@ queryport="27015"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -18,7 +18,7 @@ maxplayers="20"
|
||||
|
||||
## Optional: Game Server Login Token
|
||||
# GSLT can be used for running a public server.
|
||||
# More info: https://gameservermanagers.com/gslt
|
||||
# More info: https://linuxgsm.com/gslt
|
||||
gslt=""
|
||||
|
||||
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Overall function for managing alerts.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM alert_discord.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: faflfama
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends Discord alert.
|
||||
|
||||
json=$(cat <<EOF
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert_email.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends email alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert_ifttt.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends IFTTT alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert_mailgun.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends Mailgun Email alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert_pushbullet.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends Pushbullet Messenger alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM alert_pushover.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends Pushover alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Overall function for managing checks.
|
||||
# Runs checks that will either halt on or fix an issue.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_config.sh function
|
||||
# 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.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_deps.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if required dependencies are installed for LinuxGSM.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_executable.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if executable exists.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_glibc.sh function
|
||||
# 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.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_ip.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# 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".
|
||||
|
||||
@ -50,9 +50,9 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
|
||||
fi
|
||||
echo -en "${getip}\n"
|
||||
echo -en "\n"
|
||||
echo -en "https://gameservermanagers.com/network-interfaces\n"
|
||||
echo -en "https://linuxgsm.com/network-interfaces\n"
|
||||
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
|
||||
# Single interface
|
||||
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 "${getip}\n"
|
||||
echo -en "\n"
|
||||
echo -en "https://gameservermanagers.com/network-interfaces\n"
|
||||
echo -en "https://linuxgsm.com/network-interfaces\n"
|
||||
echo -en ""
|
||||
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 "https://gameservermanagers.com/network-interfaces\n"
|
||||
fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
|
||||
core_exit.sh
|
||||
else
|
||||
ip="${getip}"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_logs.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if log files exist.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM check_permissions.sh
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks ownership & permissions of scripts, files and directories.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_root.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if the user tried to run the script as root.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM check_status.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks the process status of the server. Either online or offline.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_steamcmd.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if SteamCMD is installed correctly.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM check_system_dir.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if systemdir/serverfiles is accessible.
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM check_system_requirements.sh
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks RAM requirements
|
||||
|
||||
local commandname="CHECK"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM check_config.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Checks if run from tmux or screen
|
||||
|
||||
local commandname="check"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_backup.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Creates a .tar.gz file in the backup directory.
|
||||
|
||||
local commandname="BACKUP"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_console.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Gives access to the server tmux console.
|
||||
|
||||
local commandname="CONSOLE"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_debug.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Runs the server without tmux and directly from the terminal.
|
||||
|
||||
local commandname="DEBUG"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_details.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Displays server information.
|
||||
|
||||
local commandname="DETAILS"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_dev_debug.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Dev only: Enables debugging log to be saved to dev-debug.log.
|
||||
|
||||
local commandname="DEV-DEBUG"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_dev_detect_deps.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Detects dependencies the server binary requires.
|
||||
|
||||
local commandname="DEPS-DETECT"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_dev_detect_glibc.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Automatically detects the version of GLIBC that is required.
|
||||
# Can check a file or directory recursively.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# command_dev_detect_ldd.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Automatically detects required deps using ldd.
|
||||
# Can check a file or directory recursively.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_fastdl.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Creates a FastDL directory.
|
||||
|
||||
local commandname="FASTDL"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_install.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Overall function for the installer.
|
||||
|
||||
local commandname="INSTALL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_install_resources_mta.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Installs the default resources for Multi Theft Auto.
|
||||
|
||||
local commandname="DEFAULT_RESOURCES"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_mods_install.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# 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.
|
||||
|
||||
local commandname="MODS"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_mods_uninstall.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Uninstall mods along with mods_list.sh and mods_core.sh.
|
||||
|
||||
local commandname="MODS"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_mods_update.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Updates installed mods along with mods_list.sh and mods_core.sh.
|
||||
|
||||
local commandname="MODS"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_monitor.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Monitors server by checking for running processes.
|
||||
# then passes to monitor_gsquery.sh.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_postdetails.sh function
|
||||
# Author: CedarLUG
|
||||
# Contributor: CedarLUG
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Strips sensitive information out of Details output
|
||||
|
||||
local commandname="postdetails"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_restart.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Restarts the server.
|
||||
|
||||
local commandname="RESTART"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_start.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Starts the server.
|
||||
|
||||
local commandname="START"
|
||||
@ -126,13 +126,13 @@ fn_start_tmux(){
|
||||
# tmux pipe-pane not supported in tmux versions < 1.6
|
||||
if [ "${tmuxversion}" -lt "16" ]; then
|
||||
echo "Console logging disabled: Tmux => 1.6 required
|
||||
https://gameservermanagers.com/tmux-upgrade
|
||||
https://linuxgsm.com/tmux-upgrade
|
||||
Currently installed: $(tmux -V)" > "${consolelog}"
|
||||
|
||||
# Console logging disabled: Bug in tmux 1.8 breaks logging
|
||||
elif [ "${tmuxversion}" -eq "18" ]; then
|
||||
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}"
|
||||
# Console logging enable or not set
|
||||
elif [ "${consolelogging}" == "on" ]||[ -z "${consolelogging}" ]; then
|
||||
@ -168,7 +168,7 @@ sleep 1
|
||||
echo "================================="
|
||||
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
|
||||
echo ""
|
||||
echo "Fix"
|
||||
@ -185,13 +185,13 @@ sleep 1
|
||||
echo ""
|
||||
echo " usermod -G tty $(whoami)"
|
||||
echo ""
|
||||
echo "https://gameservermanagers.com/tmux-op-perm"
|
||||
fn_script_log_info "https://gameservermanagers.com/tmux-op-perm"
|
||||
echo "https://linuxgsm.com/tmux-op-perm"
|
||||
fn_script_log_info "https://linuxgsm.com/tmux-op-perm"
|
||||
else
|
||||
echo "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"
|
||||
fn_script_log_info "https://gameservermanagers.com/support"
|
||||
echo "https://linuxgsm.com/support"
|
||||
fn_script_log_info "https://linuxgsm.com/support"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_stop.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributors: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Stops the server.
|
||||
|
||||
local commandname="STOP"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_test_alert.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Sends a test alert.
|
||||
|
||||
local commandname="ALERT"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_ts3_server_pass.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor : UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Changes TS3 serveradmin password.
|
||||
|
||||
local commandname="TS3-CHANGE-PASS"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_update.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Handles updating of servers.
|
||||
|
||||
local commandname="UPDATE"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_update_functions.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
||||
# Legacy Command
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_update_linuxgsm.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
|
||||
|
||||
local commandname="UPDATE LinuxGSM"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM command_validate.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Runs a server validation.
|
||||
|
||||
local commandname="VALIDATE"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM command_backup.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Wipes server data, useful after updates for some games like Rust
|
||||
|
||||
local commandname="WIPE"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM compress_unreal2_maps.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Compresses unreal maps.
|
||||
|
||||
local commandaction="Unreal Map Compressor"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM compress_ut99_maps.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Compresses unreal maps.
|
||||
|
||||
local commandaction="Unreal Map Compressor"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM core_dl.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Deals with all downloads for LinuxGSM.
|
||||
|
||||
# remote_fileurl: The URL of the file: http://example.com/dl/File.tar.bz2
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM core_exit.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.
|
||||
|
||||
fn_exit_dev_debug(){
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM core_functions.sh function
|
||||
# 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.
|
||||
# This function is called first before any other function. Without this file other functions will not load.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM core_getopt.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: getopt arguments.
|
||||
|
||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
@ -148,7 +148,7 @@ fn_opt_usage(){
|
||||
echo "Usage: $0 [option]"
|
||||
echo -e ""
|
||||
echo "${gamename} - Linux Game Server Manager - Version ${version}"
|
||||
echo "https://gameservermanagers.com/${gameservername}"
|
||||
echo "https://linuxgsm.com/${gameservername}"
|
||||
echo -e ""
|
||||
echo -e "${lightyellow}Commands${default}"
|
||||
# Display available commands
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM core_legacy.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Code for backwards compatability with older versions of LinuxGSM.
|
||||
|
||||
if [ -z "${serverfiles}" ]; then
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM core_messages.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: s-eam
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Defines on-screen messages such as [ OK ] and how script logs look.
|
||||
|
||||
# nl: new line: message is following by a new line
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM core_trap.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Handles CTRL-C trap to give an exit code.
|
||||
|
||||
fn_exit_trap(){
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Overall function for managing fixes.
|
||||
# Runs functions that will fix an issue.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ark.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# 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.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_arma3.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves an issue with ARMA3.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_coduo.sh function
|
||||
# Author: Alexander Hurd
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Fixes for Call of Duty: United Offensive
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_csgo.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with CS:GO.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_dst.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Don't Starve Together.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ges.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with GoldenEye: Source.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_glibc.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Downloads required Glibc files and applies the Glibc fix if required.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ins.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Insurgency.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_kf.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Killing Floor.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_kf3.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Killing Floor 2.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM fix_mta.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: ChaosMTA
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Installs the libmysqlclient for database functions on the server
|
||||
local commandname="FIX"
|
||||
local commandaction="Fix"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ro.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Red Orchestra.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_rust.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves startup issue with Rust
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_steamcmd.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues related to SteamCMD.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ut.sh function
|
||||
# Author: Alexander Hurd
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Unreal Tournament.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM fix_ut2k4.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Resolves various issues with Unreal Tournament 2004.
|
||||
|
||||
local commandname="FIX"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# PythonGSQ
|
||||
# Author: Anonymous & Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Allows querying of various game servers.
|
||||
|
||||
import optparse
|
||||
|
@ -2,7 +2,7 @@
|
||||
# LinuxGSM info_config.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Contributor: UltimateByte
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Gets specific details from config files.
|
||||
|
||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM info_distro.sh function
|
||||
# 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.
|
||||
# Used for command_details.sh, command_debug.sh and alert.sh.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM info_glibc.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Stores details on servers Glibc requirements.
|
||||
|
||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM info_messages.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Defines server info messages for details, alerts.
|
||||
|
||||
# Standard Details
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM info_parms.sh function
|
||||
# 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.
|
||||
|
||||
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_complete.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Prints installation completion message and hints.
|
||||
|
||||
local commandname="INSTALL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_config.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Creates default server configs.
|
||||
|
||||
local commandname="INSTALL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_dst_token.sh function
|
||||
# Author: Daniel Gibbs & Marvin Lehmann (marvinl97)
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Configures Don't Starve Together cluster with given token.
|
||||
|
||||
local commandname="INSTALL"
|
||||
@ -14,7 +14,7 @@ echo "================================="
|
||||
sleep 1
|
||||
echo "A cluster token is required to run this server!"
|
||||
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 ""
|
||||
if [ -z "${autoinstall}" ]; then
|
||||
overwritetoken="true"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_factorio_save.sh function
|
||||
# Author: Kristian Polso
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Creates the initial save file for Factorio
|
||||
|
||||
local commandname="INSTALL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_gslt.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Configures GSLT.
|
||||
|
||||
local commandname="INSTALL"
|
||||
@ -21,9 +21,9 @@ else
|
||||
fi
|
||||
|
||||
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 "https://gameservermanagers.com/gslt"
|
||||
fn_script_log_info "https://linuxgsm.com/gslt"
|
||||
echo ""
|
||||
if [ -z "${autoinstall}" ]; then
|
||||
if [ "${gamename}" != "Tower Unite" ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_header.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Prints installation header.
|
||||
|
||||
local commandname="INSTALL"
|
||||
@ -14,5 +14,5 @@ echo "${gamename}"
|
||||
echo "Linux Game Server Manager"
|
||||
echo "by Daniel Gibbs"
|
||||
echo "Contributors: http://goo.gl/qLmitD"
|
||||
echo "https://gameservermanagers.com"
|
||||
echo "https://linuxgsm.com"
|
||||
echo "================================="
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_logs.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Creates log directories.
|
||||
|
||||
local commandname="INSTALL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LinuxGSM install_minecraft_eula.sh function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: https://gameservermanagers.com
|
||||
# Website: https://linuxgsm.com
|
||||
# Description: Gets user to accept the EULA.
|
||||
|
||||
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