Skip to content

This is a drop-in AWP Arena Gamemode setup for Counter Strike 2 Dedicated Servers

Notifications You must be signed in to change notification settings

ALegitCookie/cs2-dedicatedserver-awp_arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

Counter Strike 2 Dedicated Server - Awp Arena Gamemode

This is a drop-in AWP Arena Gamemode setup for Counter Strike 2 Dedicated Servers

WARNING: ONLY DO THIS ON A FRESH NEW SERVER USED SPECIFICALLY FOR AWP ARENA ONLY!

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.

What this will do:

-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)

wanna see this server setup in action? open CS2 and connect to us1.synserv.net:27017

Installation

Creating a new server (for beginners) (skip over this if you know how to make a CS2 Server)

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!

  1. Install .NET Framework Runtime (https://dotnet.microsoft.com/download/dotnet-framework/net472)

  2. Download the WindowsGSM exe (https://windowsgsm.com/products/windowsgsm-desktop/)

  3. 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".

  4. Place the WindowsGSM exe file INSIDE of the WindowsGSM folder you just made.

1

  1. Open WindowsGSM so it can create the necessary folders needed to continue.

  2. Close WindowsGSM once these folders are auto-created in the WindowsGSM folder.

3

  1. 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

  2. Extract the zip file and drag the "CS2.cs" folder into the folder WindowsGSM -> Plugins

2

  1. Open WindowsGSM and press the puzzle icon in the bottom left. You should see the CS2 Plugin listed. If not, try pressing "Reload Plugins".

  2. 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)

4

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.

5

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.)

  1. 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!

How to install the AWP Arena Gamemode

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

  1. Download the .RAR from this repo (https://github.com/ALegitCookie/cs2-dedicatedserver-awp_arena-gamemode/archive/refs/heads/main.zip)

  2. 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)

  1. 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 configure server.cfg

Please open up Game->Csgo->Cfg->server.cfg with a text editor

Screenshot 2024-02-15 at 11 26 32 PM

Please specify your preferred RCON Password, Hostname, and please paste your Game Server Login Token from https://steamcommunity.com/dev/managegameservers

How to host a workshop map group

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!

About

This is a drop-in AWP Arena Gamemode setup for Counter Strike 2 Dedicated Servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published