Browse Source

changed from steam.sh to steamcmd.sh

pull/40/head
Daniel Gibbs 11 years ago
parent
commit
8b5fffa855
  1. 12
      CounterStrike/csserver
  2. 8
      CounterStrikeGlobalOffensive/csgoserver
  3. 8
      CounterStrikeSource/cssserver
  4. 9
      DayOfDefeatSource/dodsserver
  5. 8
      HalfLife2Deathmatch/hl2dmserver
  6. 10
      KillingFloor/kfserver
  7. 8
      Left4Dead2/l4d2server
  8. 6
      NaturalSelection2/ns2server
  9. 6
      NoMoreRoomInHell/nmrihserver
  10. 10
      RedOrchestra/roserver
  11. 8
      TeamFortress2/tf2server

12
CounterStrike/csserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -473,11 +473,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -549,9 +549,9 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

8
CounterStrikeGlobalOffensive/csgoserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -474,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -536,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

8
CounterStrikeSource/cssserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -474,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -536,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

9
DayOfDefeatSource/dodsserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -37,6 +37,7 @@ filesdir="${rootdir}/serverfiles"
servercfg="${filesdir}/dod/cfg/${servicename}.cfg"
backupdir="backups"
# Server Details
servername=$(grep -s hostname ${servercfg} | sed 's/hostname //g'|sed 's/"//g')
rcon=$(grep -s rcon_password ${servercfg} | sed 's/rcon_password //g'|sed 's/"//g')
@ -473,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -535,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

8
HalfLife2Deathmatch/hl2dmserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -474,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -536,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

10
KillingFloor/kfserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -146,7 +146,7 @@ chmod 0600 guard.txt
echo "set_steam_guard_code $CODE" > guard.txt
echo "login ${steamuser} ${steampass}" >> guard.txt
echo "quit" >> guard.txt
STEAMEXE=steamcmd ./steam.sh +runscript guard.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript guard.txt
rm guard.txt
cd ../
echo "=============================="
@ -573,11 +573,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -635,7 +635,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

8
Left4Dead2/l4d2server

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -474,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -536,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

6
NaturalSelection2/ns2server

@ -470,11 +470,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -532,7 +532,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

6
NoMoreRoomInHell/nmrihserver

@ -478,11 +478,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -540,7 +540,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

10
RedOrchestra/roserver

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -142,7 +142,7 @@ chmod 0600 guard.txt
echo "set_steam_guard_code $CODE" > guard.txt
echo "login ${steamuser} ${steampass}" >> guard.txt
echo "quit" >> guard.txt
STEAMEXE=steamcmd ./steam.sh +runscript guard.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript guard.txt
rm guard.txt
cd ../
echo "=============================="
@ -570,11 +570,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -632,7 +632,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

8
TeamFortress2/tf2server

@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 221113
# Version: 081213
#### Variables ####
@ -474,11 +474,11 @@ echo "================================="
cd ${rootdir}
mkdir steamcmd
cd steamcmd
if [ ! -f steam.sh ];then
if [ ! -f steamcmd.sh ];then
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar --verbose -zxf steamcmd_linux.tar.gz
rm -v steamcmd_linux.tar.gz
chmod +x steam.sh
chmod +x steamcmd.sh
else
echo "Steam already installed!"
fi
@ -536,7 +536,7 @@ echo "================================="
echo "force_install_dir ${filesdir}" >> install.txt
echo "app_update ${appid} validate" >> install.txt
echo "quit" >> install.txt
STEAMEXE=steamcmd ./steam.sh +runscript install.txt
STEAMEXE=steamcmd ./steamcmd.sh +runscript install.txt
rm install.txt
echo ""
echo "================================="

Loading…
Cancel
Save