mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
danielgibbs.co.uk to gameservermanager.com
This commit is contained in:
parent
58f1e2ace3
commit
bcad424b78
@ -2,8 +2,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Game Server Query
|
||||
# Author: Anonymous & Daniel Gibbs
|
||||
# # Website: http://danielgibbs.co.uk
|
||||
# Version: 210115
|
||||
# # Website: http://gameservermanagers.com
|
||||
# Version: 030515
|
||||
|
||||
import optparse
|
||||
import socket
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_backup function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
# Description: Creates a .tar.gz file in the backup directory.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_ip function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 170415
|
||||
|
||||
# Description: Automatically identifies the server interface IP.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_logs function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 160415
|
||||
# Description: Checks that log files exist on server start
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_root function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
if [ $(whoami) = "root" ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_systemdir function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
if [ ! -e "${systemdir}" ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_tmux function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 170415
|
||||
|
||||
# Checks if tmux is installed as too many users do not RTFM or know how to use Google.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_check_ts3status function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 070215
|
||||
|
||||
# Checks the status of Teamspeak 3.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_compress_unreal2maps function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
fn_check_root
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_compress_ut99maps function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
fn_check_root
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_console function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
# Description: Gives access to the server tmux console.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_csgofix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
# Description: Resolves various issues with csgo.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_debug function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 160415
|
||||
|
||||
# Description: Runs the server without tmux. Runs direct from the terminal.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_details function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 190414
|
||||
|
||||
# Description: Displays server infomation.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_details_config function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 160415
|
||||
|
||||
# Description: Gets specific details from config files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_details_distro function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 140215
|
||||
|
||||
# Description: Variables providing useful info on the Operating System such as disk and performace info.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_email function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
# Description: Sends email notification if monitor picks up a failure.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_email_test function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
# Description: Sends a test email notification.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_functions function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 110415
|
||||
|
||||
# Description: Defines all functions to allow download and execution of functions using fn_runfunction.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_getopt function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 150414
|
||||
|
||||
# Description: getopt arguments.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_insfix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 110415
|
||||
|
||||
# Description: Resolves ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 060315
|
||||
|
||||
fn_check_root
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_complete function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "================================="
|
||||
|
@ -143,73 +143,73 @@ if [ "${gamename}" == "7 Days To Die" ]; then
|
||||
fn_unity3dconfig
|
||||
elif [ "${gamename}" == "ARMA 3" ]; then
|
||||
echo -e "downloading lgsm-default.server.cfg & lgsm-default.network.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.server.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Arma3/cfg/lgsm-default.network.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_arma3config
|
||||
elif [ "${gamename}" == "Blade Symphony" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/BladeSymphony/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Counter Strike 1.6" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrike/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Counter Strike: Condition Zero" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeConditionZero/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Counter Strike: Global Offensive" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeGlobalOffensive/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Counter Strike: Source" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/CounterStrikeSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Day of Defeat" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeat/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Day of Defeat: Source" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DoubleActionBoogaloo/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DoubleActionBoogaloo/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Fistful of Frags" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Garry's Mod" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Half Life 2: Deathmatch" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLife2Deathmatch/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Half Life: Deathmatch Classic" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/HalfLifeDeathmatchClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Insurgency" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Insurgency/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Just Cause 2" ]; then
|
||||
@ -218,17 +218,17 @@ elif [ "${gamename}" == "Killing Floor" ]; then
|
||||
fn_unreal2config
|
||||
elif [ "${gamename}" == "Left 4 Dead" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Left 4 Dead 2" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/Left4Dead2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "No More Room in Hell" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/NoMoreRoomInHell/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Natural Selection 2" ]; then
|
||||
@ -239,17 +239,17 @@ elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then
|
||||
fn_unreal2config
|
||||
elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then
|
||||
echo -e "downloading lgsm-default.ini...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/cfg/lgsm-default.ini 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_serious3config
|
||||
elif [ "${gamename}" == "Team Fortress 2" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortress2/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_sourceconfig
|
||||
elif [ "${gamename}" == "Team Fortress Classic" ]; then
|
||||
echo -e "downloading lgsm-default.cfg...\c"
|
||||
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/TeamFortressClassic/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
|
||||
sleep 1
|
||||
fn_goldsourceconfig
|
||||
elif [ "${gamename}" == "Unreal Tournament 2004" ]; then
|
||||
|
@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_gsquery function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 100415
|
||||
|
||||
fn_dlgsquery(){
|
||||
cd "${rootdir}"
|
||||
echo -e "downloading gsquery.py...\c"
|
||||
wget -N --no-check-certificate /dev/null "http://gameservermanagers.com/dl/gsquery.py" 2>&1 | grep -F "HTTP" | grep -v "Moved Permanently" | cut -c45- | uniq
|
||||
wget -N /dev/null "http://gameservermanagers.com/dl/gsquery.py" 2>&1 | grep -F "HTTP" | grep -v "Moved Permanently" | cut -c45- | uniq
|
||||
chmod +x gsquery.py
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_header function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
clear
|
||||
@ -14,5 +14,5 @@ if [ "${gamename}" == "ARMA 3" ]; then
|
||||
elif [ "${gamename}" == "Left 4 Dead" ]; then
|
||||
echo "contributions by Summit Singh Thakur"
|
||||
fi
|
||||
echo "http://danielgibbs.co.uk"
|
||||
echo "http://gameservermanagers.com"
|
||||
echo "================================="
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_kffix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Applying ${gamename} Server Fixes"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_logs function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 160415
|
||||
|
||||
echo ""
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_retry function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
while true; do
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_rofix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Applying ${gamename} Server Fixes"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_serverdir function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo ""
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_serverfiles function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
fn_steaminstallcommand(){
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_steamfix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
fn_steamclientfix(){
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut2k4 function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Installing ${gamename} Server"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut2k4filesdl function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Downloading Server Files"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut2k4fix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Applying ${gamename} Server Fixes"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut2k4key function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Enter ${gamename} CD Key"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut99 function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Installing ${gamename} Server"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut99filesdl function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 210115
|
||||
|
||||
echo "Downloading Server Files"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_install_ut99fix function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 070215
|
||||
|
||||
echo "Applying ${gamename} Server Fixes"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_logs function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 260415
|
||||
|
||||
# Description: Acts as a log rotater, removing old logs.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_messages function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 260115
|
||||
|
||||
# Description: Defines on-screen messages such as [ OK ] and how script logs look.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_monitor function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 230315
|
||||
|
||||
# Description: Monitors server by checking for running proccesses
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_start function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 220415
|
||||
|
||||
# Description: Starts the server.
|
||||
@ -169,7 +169,7 @@ if [ "${tmuxwc}" -eq 0 ]; then
|
||||
fi
|
||||
else
|
||||
fn_printok "${servername}"
|
||||
fn_scriptlog "Started ${servername}"
|
||||
fn_scriptlog "Started ${servername}"
|
||||
fi
|
||||
#rm "${scriptlogdir}/.${servicename}-tmux-error.tmp"
|
||||
echo -en "\n"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_stop function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 080214
|
||||
|
||||
# Description: Stops the server.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_update_check function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 220415
|
||||
|
||||
# Description: Checks if a server update is available.
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LGSM fn_validate function
|
||||
# Author: Daniel Gibbs
|
||||
# Website: http://danielgibbs.co.uk
|
||||
# Website: http://gameservermanagers.com
|
||||
# Version: 150415
|
||||
|
||||
# Description: Runs a server validation.
|
||||
|
Loading…
Reference in New Issue
Block a user