Skip to content

Instantly share code, notes, and snippets.

@stefanmaric
Created March 21, 2020 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanmaric/0064b91dd66d45c54e096c667232339d to your computer and use it in GitHub Desktop.
Save stefanmaric/0064b91dd66d45c54e096c667232339d to your computer and use it in GitHub Desktop.
CS:Source setup on Ubuntu

CS:Source setup on Ubuntu

// Bot Basics
//1 = yes, meaning the bots will only join after a player. 0 = no, meaning bots will be there no matter what
bot_join_after_player 0
//Set Bot Difficulty 0=easy 1=normal 2=hard 3=expert
bot_difficulty 2
//bot_chatter [off, minimal, radio, normal]
bot_chatter minimal
// bot_quota ( 1 - 32 ) Number of bots to spawn when player joins
// Disabled while I test custom bot adds
bot_quota 4
//- Determines the type of quota. Allowed
// values: 'normal' and 'fill'.
// If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
bot_quota_mode: fill
// allows bots to go off on their own, 0 does not.
bot_allow_rogues 1
// if set this will place a tag infront of there name. so if u put [bot] and there was a bot named shawn, he would be shown as [bot]shawn
bot_prefix "La lacra"
// determines which team the bots join, ct, t, any
bot_join_team any
// Bot weapons 0 = Bots won't buy 1 = Bots will buy
bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 1
bot_allow_sub_machine_guns 1
//- If nonzero, bots with high co-op may automatically follow a nearby human player.
bot_auto_follow 1
//- If nonzero, bots will automatically leave to make room for human players.
bot_auto_vacate 1
//- If nonzero, bots will not buy if their money falls below this amount.
//bot_eco_limit
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh cssserver
./cssserver install
dpkg --add-architecture i386
add-apt-repository universe
add-apt-repository multiverse
add-apt-repository restricted
apt-get update
apt-get -y dist-upgrade
apt install aptitude build-essential curl jq curl tree htop netcat
apt-get install lib32gcc1 libc6-i386
apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 lib32stdc++6 steamcmd libtinfo5:i386
adduser cssserver
su - cssserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment