Server/CSGO: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
  STEAM> app_update 740
  STEAM> app_update 740
  STEAM> quit
  STEAM> quit
cd ../csgo-server
tmux
./srcds_run -game csgo -usercon -console +game_type 0 +game_mod 1 +map de_dust2


  screen -ls
  screen -ls

Version vom 4. Dezember 2015, 21:32 Uhr

Installation

Achtet darauf, dass 32-Bit Programme ausgeführt werden können.

apt-get install screen
useradd csgo-server
passwd csgo-server
mkdir /home/csgo-server
chown -R csgo-server /home/csgo-server/
su csgo-server
cd srcds/
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar xfvz steamcmd_linux.tar.gz
STEAMEXE=steamcmd ./steam.sh
STEAM> login anonymous
STEAM> force_install_dir ../csgo_server
STEAM> app_update 740
STEAM> quit
screen -ls
There is a screen on:

22995.csgo (04.12.2015 20:54:41) (Detached)

1 Socket in /var/run/screen/S-csgo-server.

Server Konfigurationsdatei

cd csgo/cfg
wget http://www.csgodev.com/downloads/server.cfg
vim server.cfg

sm plugins unload_all
sm plugins load_unlock
sm plugins load pugsetup.smx
sm plugins load_lock
hostname "CSGO Server Elektrixx Epsilon"
rcon_password "geheim"
# den Rest löschen

cd ..
wget http://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5275-linux.tar.gz
tar xvfz sourcemod-1.7.3-git5275-linux.tar.gz
wget https://metamodsource.net/downloads/mmsource-1.10.6-linux.tar.gz/2
tar xvfz 2
wget https://github.com/splewis/csgo-pug-setup/releases/download/1.4.2/pugsetup_1.4.2.zip
unzip pugsetup_1.4.2.zip
vim addons/sourcemod/configs/pugsetup/maps.txt
# lösche de_nuke 2015-12-04