Renamed LGSM to LinuxGSM

For consistant branding.
This commit is contained in:
Daniel Gibbs 2017-02-18 22:13:22 +00:00
parent 644a41eed8
commit 11696acf5a
99 changed files with 128 additions and 128 deletions

View File

@ -9,11 +9,11 @@ Before working on a project we recommend that you create a issue in regards to t
Here are some important resources:
* [Issues Page](https://github.com/GameServerManagers/LinuxGSM/issues) provides a list of areas that could use some work,
* [Developing LGSM](https://github.com/GameServerManagers/LinuxGSM/wiki/Developing-LGSM) gives a detailed guide on developing LGSM,
* [LGSM Exit Codes](https://github.com/GameServerManagers/LinuxGSM/wiki/LGSM-Exit-Codes) describes and gives an explanation for exit codes,
* [Developing LinuxGSM](https://github.com/GameServerManagers/LinuxGSM/wiki/Developing-LGSM) gives a detailed guide on developing LGSM,
* [LinuxGSM Exit Codes](https://github.com/GameServerManagers/LinuxGSM/wiki/LGSM-Exit-Codes) describes and gives an explanation for exit codes,
* [gsquery](https://github.com/GameServerManagers/LinuxGSM/wiki/gsquery.py) describes the uses of the gsquery.py file, and
* [Branching](https://github.com/GameServerManagers/LinuxGSM/wiki/Branching) is our final guide to submitting changes.
## Testing
Please make sure all the code you write is working properly **before** you create a pull request. Information on debugging can be found in the following document:
@ -27,7 +27,7 @@ Please send a [GitHub Pull Request to LinuxGSM](https://github.com/GameServerMan
Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:
$ git commit -m "A brief summary of the commit
>
>
> A paragraph describing what changed and its impact."
This will help us in understanding your code and determining where problems may arise.

View File

@ -23,7 +23,7 @@ version="170212"
#### Server Settings ####
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
servername="Hurtworld LGSM Server"
servername="Hurtworld LinuxGSM Server"
ip="0.0.0.0"
port="12871"
queryport="12881"

View File

@ -1,3 +1,3 @@
# LGSM - Official Logos
# LinuxGSM - Official Logos
For Reference the original design can be found here.
http://twolofbees.com/artwork.php?iid=870

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM alert.sh function
# LinuxGSM alert.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Overall function for managing alerts.
@ -9,25 +9,25 @@ local commandaction="Alert"
fn_alert_test(){
fn_script_log_info "Sending test alert"
alertsubject="LGSM - Test Alert - ${servername}"
alertbody="LGSM test alert, how you read?"
alertsubject="LinuxGSM - Test Alert - ${servername}"
alertbody="LinuxGSM test alert, how you read?"
}
fn_alert_restart(){
fn_script_log_info "Sending restart alert: ${executable} process not running"
alertsubject="LGSM - Restarted - ${servername}"
alertsubject="LinuxGSM - Restarted - ${servername}"
alertbody="${servicename} ${executable} process not running"
}
fn_alert_restart_query(){
fn_script_log_info "Sending restart alert: ${gsquerycmd}"
alertsubject="LGSM - Restarted - ${servername}"
alertsubject="LinuxGSM - Restarted - ${servername}"
alertbody="gsquery.py failed to query: ${gsquerycmd}"
}
fn_alert_update(){
fn_script_log_info "Sending update alert"
alertsubject="LGSM - Updated - ${servername}"
alertsubject="LinuxGSM - Updated - ${servername}"
alertbody="${servicename} received update"
}

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM alert_email.sh function
# LinuxGSM alert_email.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Sends email alert including server details and logs.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM alert_pushbullet.sh function
# LinuxGSM alert_pushbullet.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Sends Pushbullet alert including the server status.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check.sh function
# LinuxGSM check.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Overall function for managing checks.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_config.sh function
# LinuxGSM check_config.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if the server config is missing and warns the user if needed.

View File

@ -1,8 +1,8 @@
#!/bin/bash
# LGSM check_deps.sh function
# LinuxGSM check_deps.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if required dependencies are installed for LGSM.
# Description: Checks if required dependencies are installed for LinuxGSM.
local commandname="CHECK"
@ -144,7 +144,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
# Generate array of missing deps
array_deps_missing=()
# LGSM requirements
# LinuxGSM requirements
array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip unzip )
# All servers except ts3 require tmux
@ -223,7 +223,7 @@ elif [ -n "$(command -v yum)" ]; then
# Generate array of missing deps
array_deps_missing=()
# LGSM requirements
# LinuxGSM requirements
if [ "${distroversion}" == "6" ]; then
array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip )
else

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_executable.sh function
# LinuxGSM check_executable.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if executable exists.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_glibc.sh function
# LinuxGSM check_glibc.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if the server has the correct Glibc version or a fix available.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_ip.sh function
# LinuxGSM check_ip.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Automatically identifies the server interface IP.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_logs.sh function
# LinuxGSM check_logs.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if log files exist.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_permissions.sh
# LinuxGSM check_permissions.sh
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_root.sh function
# LinuxGSM check_root.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if the user tried to run the script as root.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_status.sh function
# LinuxGSM check_status.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
@ -19,7 +19,7 @@ if [ "${gamename}" == "TeamSpeak 3" ]; then
ts3error="${status}"
status=0
fi
elif [ "${gamename}" == "Mumble" ]; then
# Get config info
info_config.sh

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_steamcmd.sh function
# LinuxGSM check_steamcmd.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if SteamCMD is installed correctly.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_system_dir.sh function
# LinuxGSM check_system_dir.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Checks if systemdir is accessible.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_system_requirements.sh
# LinuxGSM check_system_requirements.sh
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM check_config.sh function
# LinuxGSM check_config.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
@ -11,7 +11,7 @@ fn_check_is_in_tmux(){
if [ -n "${TMUX}" ];then
fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a tmux session."
fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a tmux session."
fn_print_information_nl "LGSM creates a tmux session when starting the server."
fn_print_information_nl "LinuxGSM creates a tmux session when starting the server."
echo "It is not possible to run a tmux session inside another tmux session"
echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
core_exit.sh
@ -21,7 +21,7 @@ fn_check_is_in_screen(){
if [ -n "${STY}" ];then
fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a screen session."
fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a screen session."
fn_print_information_nl "LGSM creates a tmux session when starting the server."
fn_print_information_nl "LinuxGSM creates a tmux session when starting the server."
echo "It is not possible to run a tmux session inside screen session"
echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
core_exit.sh

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_backup.sh function
# LinuxGSM command_backup.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_console.sh function
# LinuxGSM command_console.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Gives access to the server tmux console.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_debug.sh function
# LinuxGSM command_debug.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Runs the server without tmux and directly from the terminal.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_details.sh function
# LinuxGSM command_details.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
@ -70,7 +70,7 @@ fn_details_disk(){
# Total: 15G
# Used: 8.4G
# Available: 5.7G
# LGSM Total: 1G
# LinuxGSM Total: 1G
# Serverfiles: 961M
# Backups: 2G
@ -82,7 +82,7 @@ fn_details_disk(){
echo -e "${blue}Total:\t${default}${totalspace}"
echo -e "${blue}Used:\t${default}${usedspace}"
echo -e "${blue}Available:\t${default}${availspace}"
echo -e "${blue}LGSM Total:\t${default}${rootdirdu}"
echo -e "${blue}LinuxGSM Total:\t${default}${rootdirdu}"
echo -e "${blue}Serverfiles:\t${default}${filesdirdu}"
if [ -d "${backupdir}" ]; then
echo -e "${blue}Backups:\t${default}${backupdirdu}"
@ -692,7 +692,7 @@ fn_details_towerunite(){
echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
echo -e "> Game\tINBOUND\t${port}\ttcp"
# Don't do arithmetics if ever the port wasn't a numeric value
if [ "${port}" -eq "${port}" ]; then
if [ "${port}" -eq "${port}" ]; then
echo -e "> Steam\tINBOUND\t$((port+1))\tudp"
fi
echo -e "> Query\tINBOUND\t${queryport}\tudp"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_dev_debug.sh function
# LinuxGSM command_dev_debug.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Dev only: Enables debugging log to be saved to dev-debug.log.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_dev_detect_deps.sh function
# LinuxGSM command_dev_detect_deps.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Detects dependencies the server binary requires.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_fastdl.sh function
# LinuxGSM command_fastdl.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_install.sh function
# LinuxGSM command_install.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_install_resources_mta.sh function
# LinuxGSM command_install_resources_mta.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Installs the default resources for Multi Theft Auto.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_mods_install.sh function
# LinuxGSM command_mods_install.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_mods_uninstall.sh function
# LinuxGSM command_mods_uninstall.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_mods_update.sh function
# LinuxGSM command_mods_update.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_monitor.sh function
# LinuxGSM command_monitor.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_postdetails.sh function
# LinuxGSM command_postdetails.sh function
# Author: CedarLUG
# Contributor: CedarLUG
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_restart.sh function
# LinuxGSM command_restart.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Restarts the server.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_start.sh function
# LinuxGSM command_start.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_stop.sh function
# LinuxGSM command_stop.sh function
# Author: Daniel Gibbs
# Contributors: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_test_alert.sh function
# LinuxGSM command_test_alert.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Sends a test alert.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_ts3_server_pass.sh function
# LinuxGSM command_ts3_server_pass.sh function
# Author: Daniel Gibbs
# Contributor : UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_update.sh function
# LinuxGSM command_update.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles updating of servers.

View File

@ -1,11 +1,11 @@
#!/bin/bash
# LGSM command_update_functions.sh function
# LinuxGSM command_update_functions.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
local commandname="UPDATE LGSM"
local commandaction="Update LGSM"
local commandname="UPDATE LinuxGSM"
local commandaction="Update LinuxGSM"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_print_dots "Updating functions"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_validate.sh function
# LinuxGSM command_validate.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Runs a server validation.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_backup.sh function
# LinuxGSM command_backup.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
@ -116,7 +116,7 @@ if [ "${gamename}" == "Rust" ]; then
fn_script_log_info "User selects to erase any user, storage, log and map data from ${serveridentitydir}"
sleep 1
fn_wipe_server_process
else
else
fn_print_information_nl "No data to wipe was found"
fn_script_log_info "No data to wipe was found."
sleep 1

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM compress_unreal2_maps.sh function
# LinuxGSM compress_unreal2_maps.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Compresses unreal maps.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM compress_ut99_maps.sh function
# LinuxGSM compress_ut99_maps.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Compresses unreal maps.

View File

@ -1,9 +1,9 @@
#!/bin/bash
# LGSM core_dl.sh function
# LinuxGSM core_dl.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
# Description: Deals with all downloads for LGSM.
# Description: Deals with all downloads for LinuxGSM.
# fileurl: The URL of the file: http://example.com/dl/File.tar.bz2
# filedir: location the file is to be saved: /home/server/lgsm/tmp

View File

@ -1,8 +1,8 @@
#!/bin/bash
# LGSM core_exit.sh function
# LinuxGSM core_exit.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles exiting of LGSM by running and reporting an exit code.
# Description: Handles exiting of LinuxGSM by running and reporting an exit code.
fn_exit_dev_debug(){
if [ -f "${rootdir}/.dev-debug" ]; then

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM core_functions.sh function
# LinuxGSM core_functions.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM core_getopt.sh function
# LinuxGSM core_getopt.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: getopt arguments.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM core_messages.sh function
# LinuxGSM core_messages.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Defines on-screen messages such as [ OK ] and how script logs look.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM core_trap.sh function
# LinuxGSM core_trap.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles CTRL-C trap to give an exit code.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix.sh function
# LinuxGSM fix.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Overall function for managing fixes.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_arma3.sh function
# LinuxGSM fix_arma3.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves an issue with ARMA3.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_coduo.sh function
# LinuxGSM fix_coduo.sh function
# Author: Alexander Hurd
# Website: https://gameservermanagers.com
# Description: Fixes for Call of Duty: United Offensive

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_csgo.sh function
# LinuxGSM fix_csgo.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with CS:GO.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_dst.sh function
# LinuxGSM fix_dst.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Don't Starve Together.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_ges.sh function
# LinuxGSM fix_ges.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with GoldenEye: Source.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_glibc.sh function
# LinuxGSM fix_glibc.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Downloads required Glibc files and applies the Glibc fix if required.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_ins.sh function
# LinuxGSM fix_ins.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Insurgency.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_kf.sh function
# LinuxGSM fix_kf.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Killing Floor.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_mta.sh function
# LinuxGSM fix_mta.sh function
# Author: Daniel Gibbs
# Contributor: ChaosMTA
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_ro.sh function
# LinuxGSM fix_ro.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Red Orchestra.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_rust.sh function
# LinuxGSM fix_rust.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves startup issue with Rust

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_steamcmd.sh function
# LinuxGSM fix_steamcmd.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues related to SteamCMD.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_ut.sh function
# LinuxGSM fix_ut.sh function
# Author: Alexander Hurd
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fix_ut2k4.sh function
# LinuxGSM fix_ut2k4.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament 2004.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fn_functions function
# LinuxGSM fn_functions function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
lgsm_version="211016"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fn_getopt function
# LinuxGSM fn_getopt function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
lgsm_version="211016"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM fn_update_functions function
# LinuxGSM fn_update_functions function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
lgsm_version="211016"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM info_config.sh function
# LinuxGSM info_config.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
@ -521,7 +521,7 @@ fn_info_config_towerunite(){
else
servername=$(grep "ServerTitle" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/ServerTitle//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
maxplayers=$(grep "MaxPlayers" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]')
# Not Set
servername=${servername:-"NOT SET"}
maxplayers=${maxplayers:-"0"}

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM info_distro.sh function
# LinuxGSM info_distro.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Variables providing useful info on the Operating System such as disk and performace info.
@ -88,19 +88,19 @@ totalspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $2}')
usedspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $3}')
availspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $4}')
## LGSM used space total.
## LinuxGSM used space total.
rootdirdu=$(du -sh "${rootdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${rootdirdu}" ]; then
rootdirdu="0M"
fi
## LGSM used space in serverfiles dir.
## LinuxGSM used space in serverfiles dir.
filesdirdu=$(du -sh "${filesdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${filesdirdu}" ]; then
filesdirdu="0M"
fi
## LGSM used space total minus backup dir.
## LinuxGSM used space total minus backup dir.
rootdirduexbackup=$(du -sh --exclude="${backupdir}" "${filesdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${rootdirduexbackup}" ]; then
rootdirduexbackup="0M"

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM info_glibc.sh function
# LinuxGSM info_glibc.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Stores details on servers Glibc requirements.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM info_parms.sh function
# LinuxGSM info_parms.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Gets specific details from server parameters.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_complete.sh function
# LinuxGSM install_complete.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Prints installation completion message and hints.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_config.sh function
# LinuxGSM install_config.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Creates default server configs.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_dst_token.sh function
# LinuxGSM install_dst_token.sh function
# Author: Daniel Gibbs & Marvin Lehmann (marvinl97)
# Website: https://gameservermanagers.com
# Description: Configures Don't Starve Together cluster with given token.
@ -29,7 +29,7 @@ if [ -z "${autoinstall}" ]; then
* ) echo "Please answer yes or no.";;
esac
done
fi
fi
if [ "${overwritetoken}" == "true" ]; then
echo "Once you have the cluster token, enter it below"
echo -n "Cluster Token: "

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_factorio_save.sh function
# LinuxGSM install_factorio_save.sh function
# Author: Kristian Polso
# Website: https://gameservermanagers.com
# Description: Creates the initial save file for Factorio

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_gslt.sh function
# LinuxGSM install_gslt.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Configures GSLT.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_header.sh function
# LinuxGSM install_header.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Prints installation header.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_logs.sh function
# LinuxGSM install_logs.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Creates log directories.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_minecraft_eula.sh function
# LinuxGSM install_minecraft_eula.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Gets user to accept the EULA.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_mta_resources.sh function
# LinuxGSM install_mta_resources.sh function
# Author: Daniel Gibbs
# Contributor: ChaosMTA
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_retry.sh function
# LinuxGSM install_retry.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Asks for installation retry after failure.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_server_dir.sh function
# LinuxGSM install_server_dir.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Creates the server directory.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_server_files.sh function
# LinuxGSM install_server_files.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Installs server files.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_steamcmd.sh function
# LinuxGSM install_steamcmd.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Downloads SteamCMD on install.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_ts3db.sh function
# LinuxGSM install_ts3db.sh function
# Author: Daniel Gibbs
# Contributor: PhilPhonic
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_unreal_tournament_eula.sh function
# LinuxGSM install_unreal_tournament_eula.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Gets user to accept the EULA.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM install_ut2k4_key.sh function
# LinuxGSM install_ut2k4_key.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Activates ut2k4 server with given key.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM logs.sh function
# LinuxGSM logs.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_mods_install.sh function
# LinuxGSM command_mods_install.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,9 +1,9 @@
#!/bin/bash
# LGSM mods_list.sh function
# LinuxGSM mods_list.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com
# Description: Lists and defines available mods for LGSM supported servers; works along with mods_core.sh.
# Description: Lists and defines available mods for LinuxGSM supported servers; works along with mods_core.sh.
# Usage: To add a mod, you need to add an array variable following the guide to set proper values;
# Usage: Then add this array to the mods_global_array.
# Usage: If needed, you can scrape the download URL first.
@ -43,7 +43,7 @@ modseparator="MOD"
# [4] | "filename": the output filename
# [5] | "modsubdirs": in how many subdirectories is the mod (none is 0) (not used at release, but could be in the future)
# [6] | "LowercaseOn/Off": LowercaseOff or LowercaseOn: enable/disable converting extracted files and directories to lowercase (some games require it)
# [7] | "modinstalldir": the directory in which to install the mode ( use LGSM dir variables such as ${systemdir})
# [7] | "modinstalldir": the directory in which to install the mode (use LGSM dir variables such as ${systemdir})
# [8] | "/files/to/keep;", files & directories that should not be overwritten upon update, separated and ended with a semicolon; you can also use "OVERWRITE" value to ignore the value or "NOUPDATE" to disallow updating; for files to keep upon uninstall, see fn_mod_tidy_files_list from mods_core.sh
# [9] | "Supported Engines;": list them according to LGSM ${engine} variables, separated and ended with a semicolon, or use ENGINES to ignore the value
# [10] | "Supported Games;": list them according to LGSM ${gamename} variables, separated and ended with a semicolon, or use GAMES to ignore the value

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM monitor_gsquery.sh function
# LinuxGSM monitor_gsquery.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Uses gsquery.py to query the server port.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM update_factorio.sh function
# LinuxGSM update_factorio.sh function
# Author: Daniel Gibbs
# Contributor: Kristian Polso
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM update_minecraft.sh function
# LinuxGSM update_minecraft.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles updating of Minecraft servers.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM update_mta.sh function
# LinuxGSM update_mta.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles updating of Multi Theft Auto servers.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM update_mumble.sh function
# LinuxGSM update_mumble.sh function
# Author: Daniel Gibbs
# Contributor: UltimateByte
# Website: https://gameservermanagers.com

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM update_steamcmd.sh function
# LinuxGSM update_steamcmd.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles updating using SteamCMD.

View File

@ -1,5 +1,5 @@
#!/bin/bash
# LGSM command_ts3.sh function
# LinuxGSM command_ts3.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Handles updating of teamspeak 3 servers.