Skip to content
🧮 Is Lifetime with ZapX Pass worth it? Work it out for your own servers in 30 seconds. Open the Lifetime calculator →

Half-Life 2: Installing Plugins on Your Own Server

Discover how to customize and extend your game server with Sourcemod and Metamod for better management and features

2 December 20262 min read42 Views0 helpful

Introduction

Learn how to install Sourcemod and Metamod and use plugins on your server. Both extensions allow you to customize games like CS:S, CS:GO, DoD:S, or TF2 and significantly expand the available management options for your game server.

With Sourcemod and Metamod, you can add plugins, enable special features, and tailor your server exactly to your preferences.

Sourcemod / Metamod Installation

Preparation

You can download the required extensions from Sourcemod and Metamod. Always use the latest stable versions to ensure full functionality and compatibility.

You need the Linux packages Sourcemod and Metamod. Download them from the provided sources. After downloading, you should have two compressed files. Extract them on your computer so that you get an addons directory containing the folders sourcemod and metamod.

Installation

Once you have completed the above steps, you can start the installation. Upload the files to your server via SFTP using an SFTP client. If you are not familiar with SFTP or don’t know how it works, check out our guide: Access via SFTP

Then upload the addons folder to the root directory of your server. The folder structure should look like this:

Code
/gxxxxxx/dods/dod/addons

The setup of Sourcemod and Metamod is now complete. Connect to your server in-game and use the console command sm version to check if Sourcemod and Metamod were installed successfully. The output should look like this:

Code
SourceMod Version Information:
             SourceMod Version: 1.9.0.6281
             SourcePawn Engine: 1.9.0.6281, jit-x86 (build 1.9.0.6281)
             SourcePawn API: v1 = 4, v2 = 12
             Compiled on: May 14 2019 16:03:05
             Built from: https://github.com/alliedmodders/sourcemod/commit/c5efe48
             Build ID: 6281:c5efe48
             http://www.sourcemod.net/
Code
Metamod:Source version 1.10.7-dev
         Built from: https://github.com/alliedmodders/metamod-source/commit/63da1c3
         Build ID: 970:63da1c3
         Loaded As: Valve Server Plugin
         Compiled on: Mar 28 2019
         Plugin interface version: 15:14
         SourceHook version: 5:5
         http://www.metamodsource.net/

If the message Unknown command appears, something went wrong during installation.

Plugin Installation

Preparation

Once Sourcemod and Metamod are installed and working, you can start adding plugins. Download the plugins you want to install on your server from Sourcemod. There you will find a large and continuously growing collection released over the years. For each plugin, you should obtain the corresponding .smx file.

Installation

After downloading the desired plugins, you can begin installation. Upload the plugin files via SFTP to the following directory:

Code
../addons/sourcemod/plugins/

Looking for the perfect plugins for your server? Browse our carefully curated list of the most popular and highly recommended plugins to enhance your gameplay and give your server the finishing touch. Get inspired and find exactly the addons that fit your project.

Half-Life 2: Deathmatch has a much smaller plugin scene than CS:S – aside from a truly HL2DM-specific tool, the common plugins are generic SourceMod core plugins that run on any Source game:

  • XMS (eXtended Match System) – Match/competition system specifically for competitive HL2DM servers, including player menu and match control.
  • SourceBans++ – Generic ban and admin management system with web interface.
  • Rock The Vote (RTV) – Generic map voting via chat command.
  • Basic Ban Commands – SourceMod core plugin for ban and kick commands.
  • AFK Manager – Detects inactive players and automatically moves/kicks them.

Conclusion

If you have followed all the steps, you should have successfully installed Sourcemod/Metamod and your desired plugins. If you have any further questions or need help, our support team is available daily! 🙂

FAQ

Frequently asked questions

You need Sourcemod and Metamod—two extensions you download from sourcemod.net and sourcemm.net (stable versions). Both allow you to customize your server with plugins.
Connect to your server in-game and use the console command sm version. If you see a version output with SourceMod Version Information, the installation was successful.
Upload it to your server’s root directory via SFTP so that the sourcemod and metamod folders end up inside the addons directory.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.