Skip to content

Instantly share code, notes, and snippets.

@Anon-Exploiter
Last active April 28, 2023 18:50
Show Gist options
  • Select an option

  • Save Anon-Exploiter/7016b21246e4b9630bc81f83cbb54144 to your computer and use it in GitHub Desktop.

Select an option

Save Anon-Exploiter/7016b21246e4b9630bc81f83cbb54144 to your computer and use it in GitHub Desktop.
Creating CS:GO server with skins, ws, gloves, knifes, etc. on a Ubuntu Instance
sudo apt-get -y update && \
sudo apt-get -y upgrade && \
sudo apt install software-properties-common && \
sudo add-apt-repository multiverse && \
sudo dpkg --add-architecture i386 && \
sudo apt-get -y update && \
sudo apt-get -y upgrade && \
sudo systemctl reboot
sudo apt-get -y install steamcmd && \
sudo adduser --gecos "" --disabled-login csgo && \
sudo su - csgo
wget https://pastebin.com/raw/MNzukybL -O ~/.tmux.conf && \
steamcmd +force_install_dir ~/csgo-ds/ +login anonymous +app_update 740 validate +quit
touch /home/csgo/startcsgo.sh && \
echo '#!/bin/sh' >> /home/csgo/startcsgo.sh && \
echo 'YOUR_GSLT=AAAAAAAAAAAAAAAAAAAAAAAAAAA' >> /home/csgo/startcsgo.sh && \
echo 'MAP=de_shortdust' >> /home/csgo/startcsgo.sh && \
echo 'CSGO_INSTALL_LOCATION=~/csgo-ds/' >> /home/csgo/startcsgo.sh && \
echo 'cd $CSGO_INSTALL_LOCATION' >> /home/csgo/startcsgo.sh && \
echo './srcds_run -game csgo -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map $MAP -tickrate 128 +sv_setsteamaccount $YOUR_GSLT -net_port_try 1 -nobots' >> /home/csgo/startcsgo.sh && \
chmod +x startcsgo.sh
cd /home/csgo/csgo-ds/csgo/ && \
wget "https://files.slack.com/files-pri/T8QQ11A0M-F016YJYCQHH/download/backup.tgz?pub_secret=9de27178c8" -O backup.tgz && \
tar -xvf backup.tgz && \
rm -rfv backup.tgz
cd && bash startcsgo.sh
@Anon-Exploiter

Anon-Exploiter commented Jul 11, 2020

Copy link
Copy Markdown
Author

CS:GO Server with Skins, etc.

For the creation of CS:GO server on a ubuntu instance.

Requirements: 28 GB Space, 2 cores, and 1 GB RAM. A GLST token which can easily be accessed from here.

Note:

  • The configuration file has me added as an admin, edit the file (/home/csgo/csgo-ds/csgo/addons/sourcemod/configs/admins_simple.ini) with your user ID.

@Anon-Exploiter

Anon-Exploiter commented Jul 14, 2020

Copy link
Copy Markdown
Author

If you're a docker guy, here's a one-liner :)

docker run -it --rm --env "ACCESS_TOKEN=AAAAAAAAAAAAAAAAAAAAAAA" --env "MAP=de_shortdust" --network=host uexpl0it/csgo-server 

@Anon-Exploiter

Copy link
Copy Markdown
Author

@Anon-Exploiter

Anon-Exploiter commented Jul 21, 2020

Copy link
Copy Markdown
Author

Also remember to change your rcon password!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment