# KZTimer Installation

This guide assumes that you have a working CS:GO server. You must have access to the server files i.e. the csgo folder. If you are setting up a local server follow this video guide (opens new window) up until the point where the server is set up. Once it comes to installing Sourcemod and Metamod only use the guide below as it is being kept up to date!

# Getting Help

If you are looking for help, please say which step you are stuck on.

Either use our forum to ask for help or join our Discord Server (opens new window) and ask for assistance in the #server-support channel.

Try to be sure which step you are stuck on by performing the checks mentioned throughout the guide.

Provide as much information as you can, including the latest error logs from /csgo/addons/sourcemod/logs/.

# Installing the Server Requirements

  1. Install Metamod:Source by following this guide (opens new window). Make sure you are downloading the latest stable build.
  • You can check if Metamod is working by typing meta version into the server console.
  1. Install SourceMod by following this guide (opens new window). Again, make sure you are downloading the latest stable build.
  • You can check if SourceMod is working by typing sm version into the server console.
  • If you are unfamiliar with SourceMod, refer to this page (opens new window) as it has plenty of useful information, and explains how to install plugins and extensions.
  1. Install the DHooks extension. You can get the latest builds from this forum thread (opens new window) Make sure to look for the BUILDS link at the bottom of the original post.
  • This involves copying a .so file (for Linux) or .dll file (for Windows) to /csgo/addons/sourcemod/extensions/.
  • You can't check if this is working until later.

# Installing KZTimer

  1. Get the latest KZTimer release from the downloads page (opens new window).
  • Make sure to download FULL package and not the upgrade one for a fresh install.
  1. Copy all files from the release to the /csgo/ folder of your server.

  2. Open /csgo/addons/sourcemod/configs/databases.cfg in a text editor. Add a new database configuration for KZTimer. If you are unsure, you can configure a SQLite database by copying in the below before the last } in databases.cfg.

"kztimer"
{
    "driver"    "sqlite"  
    "database"  "kztimer-sqlite"
}

You can check if KZTimer is working by typing sm plugins list into the server console and seeing it listed.

You can check if the DHooks extension is working correctly by typing sm exts list and seeing it listed.

At this point, the KZTimer plugin should be working.

Disclaimer: The KZTimer plugin will only function on a map with a kz_ or certain other prefixes!

You probably want to add yourself as root admin on your server. You can do that by adding your SteamID (opens new window) to /csgo/addons/sourcemod/configs/admins_simple.ini and giving yourself the Z flag.

  1. Install the Cleaner extension. You can get it from here (opens new window).
  • This prevents your server console from being spammed by DatabaseTable warning messages.
  • NOTE: If you're using Linux, in addition to the above, follow these steps to get Cleaner working:
    • Remove /csgo/addons/sourcemod/extensions/cleaner.so.
    • Download cleaner.ext.2.csgo.so from here (opens new window) and drop it to /csgo/addons/sourcemod/extensions/.
  1. Install the Speed Panel Fix. This prevents your speed panel from just being random numbers and letters and can be found here (opens new window).

  2. You might find other plugins that you deem useful here (opens new window).

  3. If you want to have all global maps on your Server follow this tutorial (opens new window).

# Apply for Global Whitelist (Optional)

Follow this tutorial (opens new window) to get your server globally whitelisted.