
how to setup a dedicated server for CS:CO
I went down this rabbit hole earlier this morning and it took me a good while to figure out so I thought I would do a little write up on how to get it right.
step 1
You will need the required files in order to play and host a server.
Please follow all of the steps that the website requires of you.
step 2
Once you have the files downloaded, unzip them to a location you know well. I merely unzipped them into my common steamapps folder.
step 3
Create the following file start.bat script in the root of the classic offensive folder.

You will need to grab your stream game server token from the website, https://steamcommunity.com/dev/managegameservers if you do not have one you will need to register one.
When registering, make sure to choose the game id as 730.
I am not going to cover port forwarding as that is rather the same across all servers on steam as of now, if you need extra help follow this tutorial.
step 4
Next your are going to want to setup a server.cfg file that loads the configuration of your server.
congrats you are done
Hope fully this helps you!

As for me I kept getting stuck trying to download legacy cs:go server files from steamCMD but that is not required. There are also many a tutorial that cover the hosting of the sourcemod version and not this version, which can be confusing.
setting up metamod and sourcemod [rtv,etc]
You may want to install MetaMod & SourceMod in order to support plugins like rtv, levelsRank, etc. The following are the steps I followed to get rtv and custom maps from gamebanana working.
step 1
First you will need to download v1.12 of MetaMod:
https://www.metamodsource.net/downloads.php?branch=stable
Extract the addons folder to the location of your /csco/csgo folder:

Now run start your server and run the command
meta version
you should see the following:step 2
Next you will need to download SourceMod: https://www.sourcemod.net/downloads.php
Extract the addons and cfg folder to the same location as above.
Once you have done that, start your server and run
sm version
. You should see the following:setting up rtv & other plugins
Let’s go over how to setup RTV and other plugins that come with SourceMod.
step 1
Browse into your SourceMod directory and go into your plugins:
In here you will see a list of enabled plugins by default, you will also see a folder called disabled. You want to open this folder, in here you will see more plugins that are turned off by default.
For example lets take rockthevote.smx & mapchooser.smx so that we can setup rtv nicely. Copy these files and move them into the enabled section with the other plugins.

Next start your server and run
sm plugins lis
t, you should see a list of plugins make sure "MapChooser" and "Rock The Vote" are visible.step 2
Okay, now we have RTV running but we want to make sure all of our maps are accessible. We need to find the following file mapcycle.txt, in here we can list all the maps that we want to be able to play:
Inside that file you can copy the following to allow all of the maps that ship with cs:co to be played on your server.
step 3 - setting up !nominate
Okay, RTV is working but now we want players to be able to
!nominate
the next maps that they would like to play on. Lets set it up. We will need to do the same process as in step 1 and go and fetch nominations.smx from the disabled folder and move it in with the others. Once you have moved the file restart the server and run
sm plugins list
again and you should see "Map Nominations”.One last thing you may want to do is edit your mapchooser.cfg file and add the following lines, this just stops recently played maps from not being allowed to be nominated.