Counter-Strike 2

Counter-Strike 2

38 ratings
Multiplayer Workshop Maps CS2 (Dedicated Server) EN
By feicap
In this guide we:
  • start the server
  • set it up
  • run a map from the workshop

2
   
Award
Favorite
Favorited
Unfavorite
Server creation
Go to the cs2 files section:

The path should look something like this
.\Counter-Strike Global Offensive\game\bin\win64

Create a BAT file
Create a bat file in .\Counter-Strike Global Offensive\game\bin\win64, write the following

.\cs2.exe -dedicated -port 25565 +map de_mirage
  • -dedicated
    starts the server, always needed
  • -port <*****>
    Port used to connect to the server. You can specify any port, but this port must be open.
  • +map <name>
    Specifies the map when the server is starts. For example de_mirage. IMPORTANT! You can't start a map from the workshop this way!
    Always required, even if you run only workshop map, you must run the default map first.
Startup and configuration
Run the bat file and wait for the map to load:

Next, we can enter commands that we may have specified in the game, for example
sv_cheats true
You can also run configs, for example exec gamemode_competitive.cfg

All these configs can be found in
.\Counter-Strike Global Offensive\game\csgo\cfg

Also when starting the server automatically starts server.cfg, which is located in the same folder.
Workshop maps
To run a map from the workshop we need the command
  • host_workshop_map <id>
and the id of the map

For example, to run the awp_india map, go to its workshop page:
https://steamcommunity.com/sharedfiles/filedetails/?id=3070290869

We need to copy the workshop map id:


Next, we enter a value to run the map on the server:
host_workshop_map 3070290869

You don't need to subscribe to the map to run it on the server.

After that the server will download the map and after a while you will see a picture like this:


If you want run map then server starts, your bat file should look like this:
.\cs2.exe -dedicated -port 25565 +map de_mirage +host_workshop_map 3070290869
Connecting to the server
Type
status
in the server console and find out the server's ip:port:

In the game in the console type and play:
connect ip:port

If you have the map in your subscriptions, you will join the server immediately.
If you don't have the map, cs will ask you to download it:

Configs for training
Switches on a mode that is similar to the settings from the menu for training:

  • Infinite ammo and grenades
  • Grenade Trajectory and Camera Only the grenades that you throw yourself can be seen.
  • Infinite warm-up
and additionally
  • Weapons can be bought everywhere.
  • Increased the number of grenades that can be carried to 6 (maximum)

prac.cfg
sv_cheats true exec gamemode_competitive.cfg bot_kick sv_grenade_trajectory_prac_pipreview true sv_grenade_trajectory_prac_trailtime 8 mp_warmup_pausetimer 1 sv_infinite_ammo 1 mp_buy_anywhere 1 ammo_grenade_limit_total 6 mp_restartgame 1

Disable everything and switch the mode to competitive:
dprac.cfg
sv_cheats false exec gamemode_competitive.cfg bot_kick sv_grenade_trajectory_prac_pipreview false sv_grenade_trajectory_prac_trailtime 0 mp_warmup_pausetimer 0 sv_infinite_ammo 0 mp_buy_anywhere 0 ammo_grenade_limit_total 4 mp_restartgame 1
Show your appreciation
Like, add to favourites
Show your appreciation with skins:Trade
21 Comments
Galaxy Mar 2, 2024 @ 6:32am 
I get Host activate: Idle (console) always, what do i do?
Yet - E Nov 18, 2023 @ 7:38am 
I've got "enable to connect" from my friends when they try to join my server :(
Algu Nov 17, 2023 @ 5:12am 
quick guide on how to open your port?
feicap  [author] Nov 13, 2023 @ 11:49am 
<phr34k>, checked on +host_workshop_collection 3074694948 and my server is loading this collection after de_dust2 is loaded.
Perhaps your server takes a long time to download the workshop map and therefore there is no response from the server or you specified the wrong collection id.
phr34k Nov 13, 2023 @ 10:31am 
I cannot start my server with a workshop map, it keep starting with de_dust2. I set the my collection and set the map from the collection i want to start the server with, but still just dust2. Anything I am missing - thank you for your time.
MaYeRs Nov 11, 2023 @ 12:38am 
How to make group map btween offcial maps and workshop maps ?
workshop maps are not loading !

can you show me un exemple of the gamemode_server.cfg mp_group ?
feicap  [author] Nov 10, 2023 @ 9:40pm 
Workshop server maps downloads in
.\Counter-Strike Global Offensive\game\bin\win64\steamapps\workshop\content\730\...
Arnold Abendbr0t Nov 10, 2023 @ 8:44am 
did you find the directory where workshop maps are downloaded to? friends of mine run into issue of the workshop maps not correctly updating and the server still using the old map version. it was on linux and windows the same
MaYeRs Nov 9, 2023 @ 7:01am 
hey when i set collection the server refuse to load
♚ℳ♔ Nov 8, 2023 @ 7:50am 
nao tem video???