CSGO: Setting up SurfTimer

SurfTimer is an open-source timer plugin for CS:GO where multiple developers contribute to creating the best and most buggy-free version. Here is a guide on quickly installing this on your DatHost server.

Automatic Installation

The easiest way to get this up and to run will be to reset your server to the Surf configuration, getting everything set up with one click with a MySQL database and surf maps.

Warning: Resetting the server will remove all files stored on your server. Only proceed if you're fine being reset, otherwise look at the manual installation below.
1
Go to your DatHost Control Panel
2
Click Edit on your CS:GO Server
3
Go to the Backups page found on the left menu
4
Click on the Surf configuration and then Reset

Manual Installation

We’ll go through the four different steps needed to get SurfTimer to work properly on your DatHost Server.

Step-by-step

1. Configure MySQL

1
A MySQL database is included for free with your DatHost Server. Head over to the Mods & Plugins page of your server to activate it.
2
You need to reboot/start your server in order for MySQL to be activated. Once you’ve done that, hover over the connection details in your Control Panel and click Login to phpMyAdmin.
You can now stop the server to make it easier for the rest of the configuration.
3
Open your database in the left menu, it will be a 24-character long random combination of letters and numbers.
4
Click Import in the top menu.
Note: It’s important that you don’t have any tables named “ck_” in your MySQL, otherwise the import won’t work.
5
Download the pre-configured tables for SurfTimer here. Then upload this file to phpMyAdmin and click Go. All tables should now be uploaded and show up in the left menu.
6
Go back to your DatHost Control Panel and open the File Manager. Search for “databases.cfg”.
7
Add a new section called “surftimer” with your database credentials. Copy the config below and make sure to update the “database”, “user” and “pass” with your information that you can find at the bottom of the Mods & Plugins page. Click Save.
    "surftimer" 
    {
        "driver"            "mysql"
        "host"              "127.0.0.1"
        "database"          "your-database-id-here"
        "user"              "your-database-username-here"
        "pass"              "your-database-password-here"
    }

2. Configure Server

1
Go to your DatHost Control Panel and the Advanced Settings page.
2
Set the Tickrate to 102.4 ticks
3
Go to the Configs page and open the 3rd config: “gamemode_competitive_server.cfg”
4
You can replace the config file with our recommended settings that you find below.
// DatHost Surf Config

// Spawn with knife only
mp_ct_default_melee		"weapon_knife"
mp_ct_default_secondary		""
mp_ct_default_primary		""
mp_t_default_melee		"weapon_knife"
mp_t_default_secondary		""
mp_t_default_primary		""

// Set roundtime and time per map
mp_roundtime                    "60"
mp_roundtime_defuse             "60"
mp_roundtime_hostage            "60"
mp_timelimit                    "60"
mp_maxrounds                    "1"

// Enable instant respawn
mp_respawn_on_death_t           "1"
mp_respawn_on_death_ct          "1"
mp_respawn_immunitytime         "1"
mp_respawnwavetime_ct           "1"
mp_respawnwavetime_t            "1"

// Enforce 102.4 tickrate
sv_maxupdaterate                "102.4"
sv_minupdaterate                "102.4"
sv_maxcmdrate                   "102.4"
sv_mincmdrate                   "102.4"
sv_minrate			"196608"

// Other
mp_round_restart_delay          "2"         // Time before starting new round
mp_freezetime                   "2"         // Freezetime
mp_do_warmup_period             "0"         // Disable warmup
mp_forcecamera                  "0"         // Allow spectating both teams
ammo_grenade_limit_total        "0"         // Disable grenades
mp_autokick                     "0"         // Disable autokick

3. Adding Workshop Maps

1
Go to your DatHost Control Panel and the Advanced Settings page.
2
Set Maps source to “Steam workshop collection”
3
Under Workshop collection ID you can set it to our collection that includes 9 great Surf maps (2815156669), or create your own collection. You can leave “Workshop map start ID” empty.
4
Go to the File Manager and search for “mapcycle.txt”.
5
Add all maps in your workshop collection in that file, one per line. If you are using our collection as mentioned above, you can just copy and paste the maps down below.

workshop/156054906/surf_utopia_v3
workshop/1672702362/surf_egypt2
workshop/335802541/surf_kitsune
workshop/607186931/surf_beginner
workshop/964884598/surf_summer
workshop/1499636937/surf_fortum
workshop/450516696/surf_mesa
workshop/496750497/surf_rookie_fix
workshop/1748452702/surf_whiteout

4. Activate Plugin

1
Go to your DatHost Control Panel and the Mods & Plugins page.
2
Make sure that you have SourceMod activated and then scroll down to the bottom.
3
Locate the SurfTimer plugin in our Sourcemod Plugin Library and tick the box. Click Save.
You’re now ready to go. Start your server and surf away!
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us