Source Dedicated Server Guide

From SHellium Wiki
Jump to: navigation, search
Geographylogo.png In other languages: English | Afrikaans | Albanian | Arabic | Brazilian | Bulgarian | Catalan | Chinese | Croatian | Czech | Danish | Dutch | Esperanto | Estonian | Filipino | Finnish | Flemish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Latvian | Lithuanian | Macedonian | Malay | Malayalam | Norwegian (Bokmål) | Norwegian (Nynorsk) | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish | Swedish | Turkish | Ukrainian | Urdu

Warning.gif

This Feature Is Prohibited

If you attempt to use this on SHellium you will be banned.

In this guide I will show you how to install and run a Source Dedicated Server.

Installation

Firstly you want to download and install the server itself. I suggest you download everything into its own folder to prevent clutter.

mkdir FOLDERNAMEHERE
cd FOLDERNAMEHERE
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam

Replace FOLDERNAMEHERE with whatever you want, just make it memorable.

Next you want to download the files specific to the game you want to run:

./steam -command update -game "GAMENAMEHERE" -dir .

Replace GAMENAMEHERE with the game of your choice and wait for everything to download. I'll update this guide with a list of games soon.

The final thing you need to do is create the server.cfg file. This is a good server.cfg generator, save the file to your game's cfg folder (if you installed Counterstrike Source, the directory would be cstrike/cfg). Your server is now ready to go!

Running

Starting up the server is easy:

./srcds_run -console -game GAMENAMEHERE +map MAPHERE -maxplayers PLAYERSHERE -autoupdate

GAMENAMEHERE is the game, MAPHERE is the name of the map and PLAYERSHERE is the maximum number of players. Once the server has started you will be presented with a console - this is similar to the regular Valve game console but with some additional commands.

See Also

Source Dedicated Server Official Site

Personal tools
Namespaces

Variants
Actions
Navigation
Indexes
SHellium Sites
Toolbox