This is a drop-in AWP Arena Gamemode setup for Counter Strike 2 Dedicated Servers
Putting these files on an existing server will overwrite gamemode configs, which can do unwanted things if you host multiple gamemodes on one server!
I recommend following the instructions below and doing this on a fresh server ONLY, and understand that this server will ONLY be used for the AWP Arena gamemode, and nothing else.
-Restrict all weapons except for Awp and Knife.
-Removes the buy menu
-Change movement variables to a more CS:Source type feel.
-Installs CounterStrikeSharp and Metamod
-Put a easy-to-configure server.cfg. All you have to do is change the rcon password, server name, and GSLT.
-Make the timer run for 60 minutes before switching to a new map (meant to be used with host_workshop_collection)
You can reference my Youtube tutorial for installing a CS2 Server on Windows here: https://youtu.be/NV6waF7lRqo?si=f4-6tlxJZVl_Ufyd
First, We are going to make a fresh install of Counter Strike 2 Dedicated Server. If you know how to do so, go ahead and do it now.
If you are a beginner who does not know how to make a CS2 server, no worries. I'm going to show you a super easy way to create and manage a CS2 server (on windows). If you are on linux, please find an installation tutorial elsewhere.
We're going to be making this server through an application called WindowsGSM, to automate server updates and backups!
-
Install .NET Framework Runtime (https://dotnet.microsoft.com/download/dotnet-framework/net472)
-
Download the WindowsGSM exe (https://windowsgsm.com/products/windowsgsm-desktop/)
-
Create a folder in the location where you would like your gameservers, as well as the WindowsGSM application, to be stored. Name this folder "WindowsGSM".
-
Place the WindowsGSM exe file INSIDE of the WindowsGSM folder you just made.
-
Open WindowsGSM so it can create the necessary folders needed to continue.
-
Close WindowsGSM once these folders are auto-created in the WindowsGSM folder.
-
Download the latest release of the WindowsGSM.CS2 Plugin(https://github.com/ohmcodes/WindowsGSM.CS2/releases/tag/latest) This will allow us to install the CS2 server on WindowsGSM
-
Extract the zip file and drag the "CS2.cs" folder into the folder WindowsGSM -> Plugins
-
Open WindowsGSM and press the puzzle icon in the bottom left. You should see the CS2 Plugin listed. If not, try pressing "Reload Plugins".
-
Now it's time to install the CS2 Server. Go to Servers -> Install Gameserver. Then for the "Game Server" dropdown, select "Counter Strike 2 Dedicated Server". Also, type in a name for you to identify your server. (this will NOT change the public hostname, this name is simply just for you)
Go ahead and press the install button. After a minute or so, you should see the installation progress in the Install Log Box. It is now installing the CS2 server. Please be patient, depending on your computer setup and wifi speed, this could take upwards of 30 minutes.
Note: (If the installation fails, go ahead and close WindowsGSM and go to the Windows GSM folder -> Servers, and delete the folder named "1". This will delete the failed server install and now you can attempt the installation again.)
- Once the server is installed, click start and let it start. after a minute, close down the server by clicking the x button on the terminal window that popped up (will have the CS2 icon in windows taskbar)
Note: Now that the server is installed with windowsGSM, you can automate server backups and also server updates using the toggle switches in the application!
You can reference my Youtube tutorial for installing the AWP Arena gamemode, as well as setting up the server and workshop maps here: https://www.youtube.com/watch?v=XT1Oze84Cg0
-
Download the .RAR from this repo (https://github.com/ALegitCookie/cs2-dedicatedserver-awp_arena-gamemode/archive/refs/heads/main.zip)
-
Extract this RAR file into your server (If you followed the WindowsGSM Install tutorial above, the directory will be WindowsGSM -> Servers -> 1 -> serverfiles)
Extract it so that the "csgo" folder from the zip, merges with the "csgo" folder of your server. (If prompted to overwrite any files, click YES TO ALL)
(This ZIP file will install the gamemode configs, server config, Metamod, CounterStrikeSharp, and weaponrestrict)
- Enjoy! That zip file that you just put into your server has changed the way the gamemodes work, so there will be no buy menu, and has restricted all weapons except AWP and Knife.
Please open up Game->Csgo->Cfg->server.cfg with a text editor
Please specify your preferred RCON Password, Hostname, and please paste your Game Server Login Token from https://steamcommunity.com/dev/managegameservers
If you have a group of workshop maps that you would like to rotate on the server, go ahead and add the following two commands to your start parameters:
+host_workshop_collection PASTECOLLECTIONIDHERE
and:
-authkey PASTEAUTHKEYHERE
(replace PASTECOLLECTIONID with the collection ID for the collection you'd like to rotate.)
(replace PASTEAUTHKEYHERE with the auth key from here: http://steamcommunity.com/dev/apikey) (this is different from your GSLT token)
(Collection ID can be found in the link for the collection: https://steamcommunity.com/sharedfiles/filedetails/?id=COLLECTIONIDHERE)
(If you are using WindowsGSM, you can put that +host_workshop_collection and +authkey commands by going to the WindowsGSM app, clicking the server, then clicking the "edit config" button. You will add the commands in the "Server Start Param" box.)
Players can vote between different workshop maps in-game by going to the pause menu -> call vote -> vote map. Server will automatically load into the first map of the collection on startup.
If you have a problem with your server once you import the RAR file, or if typing "meta" in console does not work, please go ahead and update metamod to the latest dev build from here(https://www.sourcemm.net/downloads.php?branch=dev), and update Counterstrikesharp to the latest release from here(https://github.com/roflmuffin/CounterStrikeSharp/releases) BEFORE you bring up an issue.
If this tutorial helped you at all, please star the repo :) It took a good amount of time to set this up and write out this whole tutorial. Thank you!