Counter-Strike: Source

Counter-Strike: Source

173 人が評価
Counter-Strike: Source Dedicated Server (SteamCMD) [English/Englisch] [Windows]
作者: Zeromix
This guide will show you, how to setup a Dedicated Server with SteamCMD.

INFO: Please make sure, to have opened your Ports!
TCP/UDP: 27015-27050

German Tutorial:
http://steamcommunity.com/sharedfiles/filedetails/?id=394849912

I also created a tool, that automates the installation process. You can find this tool here:
https://steamcommunity.com/groups/ServerTool
   
アワード
お気に入り
お気に入り
お気に入りから削除
Download
First of all download this file and unzip it in a folder:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
Login in
Run the file, then you need to type the following to create a folder, where the server files will be deployed. Here it will be called "css_ds"
force_install_dir ./css_ds/

After that, we will log into the SteamCMD by using the anonymous login:
login anonymous
Downloading the files
After SteamCMD has successfully we will start downloading the server files.
app_update 232330 validate
It might take some while, depending on your internet connection.
After the download has finished you can close SteamCMD by typing
exit
into it.
Start the server
The best option is to create a .bat file in your "css_ds" folder (e.g. start.bat):
start srcds.exe -console -game cstrike -secure +maxplayers 22 +map de_dust

Info: "-secure" means that your server is VAC secured, otherwise use "-insecure" to disable VAC.
Maxplayers logically means how many players can join the server.
You can also change the port with "-port 27015"
Map defines with which map the server starts.
Download the config
It is time to conifgurate your server. For this purpose I created a pre made cfg, which can be downloaded over this link:
https://raw.githubusercontent.com/Zeromix9/Server-Creation-Tool/master/Server%20Configuration%20Files/Counter-Strike%20Source%20Server%20Config%20English.txt
Backup Link:
https://pastebin.com/e3f89ijz

Now you only need to put it into:
YOUR SERVER-FOLDER\css_ds\cstrike\cfg
Remember, that it needs to have this name: "server.cfg"

Thats it. Have fun!

Note:
Please keep in mind that you need to open your ports so that other players can connect or you simply use a VPN-Tool like Hamachi.
Configurate Sourcemod/Add Admins
At first you will need "Metamod Source" you can get it from here.[www.metamodsource.net]
You have to unzip the files in the following folder:
C:\Steam-Server\css_ds\cstrike

By now there should be an "addons" folder.
Now you need Sourcemod, you can get this here.[www.sourcemod.net]
You can also get the Plugins from there later.

Also extract that in this folder:
C:\Steam-Server\css_ds\cstrike

For the following you will need your SteamID, you can find yours out here:
http://steamidfinder.com

To configurate an admin, go to:
C:\Steam-Server\css_ds\cstrike\addons\sourcemod\configs
and open the
admins.cfg

As you can see, you just have to add something like this:
"Zeromix" //A name for yourself { "auth" "steam" "identity" "STEAM_0:1:31843021" "flags" "z" //Access Commands }

You can see the flags in the
admin_levels.cfg
file.

If you have configurate it, write in the chat "!admin" or in the console "sm_admin" to open the menu.

And that´s it! Have fun! ^_^
Frequently Asked Questions
I can not see my server / No one can connect to my server
Please make sure, that you have opened all the required ports in your router. If the everything is set correctly, but the problem still occurs, please contact your internet provider.
Or look for your router model here:
https://portforward.com/router.htm

Is there another way instead of opening the ports?
Yes, you can also host your server through a VPN network like "Hamachi". Of course only the people in the VPN network will be able to join the server then.
If forwarding your ports doesn´t work, please contact your ISP, i won´t be able to help you.

How can i change my server port?
Just edit the bat file with "-port 27015"

The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.

How do I update my server?
Just open the SteamCMD and login again, then retry the Step "Downloading the files" it will be checked which files need to be updated.
Server Creation Tool
To automate these steps to setup/upgrade a server, i created a tool, the group can be founde here:
http://steamcommunity.com/groups/ServerTool

The tool itself is hosted on Github, which can be found here:
https://github.com/Zeromix9/ServerTool

I hope, that will help you in the future!

If you like, you are also welcome to leave a small donation.
https://paypal.me/Zeromix
221 件のコメント
Zeromix  [作成者] 3月21日 4時41分 
@mrsweatyballsack63 I dunno, I don´t have any clue, neither I´ll help by connecting pirated versions.
mrsweatyballsack63 3月20日 15時53分 
How do i let no steam players join
kanashimih 2月16日 22時46分 
thanks!! :winter2019happysnowman:
Zeromix  [作成者] 2月9日 7時04分 
@Not Skibidi SourceMOD...
Not Skibidi 2月9日 3時13分 
how can i add mods in it ?
Zeromix  [作成者] 1月13日 6時50分 
@El tropo de detective I dunno, I don´t work with these kind of stuff.
uruguay provincia rebelde 1月12日 19時40分 
it would work to open a server to play with non-original copies of the game? my friend group doesn't have the original game and i am searching for a way to play with them
mycatismycat 2024年8月30日 21時31分 
Don't host it on Windows, it doesn't host many of the big websites like Google for a reason.
Batclone 2024年7月15日 12時32分 
.nav is a navmesh its a file that npcs use to navigate the map
_Monkeee 2024年7月8日 12時03分 
Btw if you dont know/cant port forward with your router, just use playit.gg