SourcePawn Scripting Engine for Half-Life 1 based games
SPMod is a Metamod's plugin which is intended to be used as plugin system for Half-Life 1 and its derivatives. It uses SourcePawn as scripting language and allows to change completely the rules of a game or can ease the server administration by adding commands. SPMod's abilities can be extended by writing extensions, known as modules.
- Half-Life
- Counter-Strike
- Counter-Strike: Condition Zero
- Day of Defeat
- Team Fortress Classic
For unsupported mods and games, check here.
#include <spmod>
public PluginInfo pluginInfo =
{
name = "test",
version = "0.0.0",
author = "author",
url = "https://github.com/Amaroq7/SPMod"
};
public void OnPluginInit()
{
printToServer("Test output\n");
}
- ReHLDS (API v3.4)
- Metamod
- Metamod-r (recommended)
- Metamod-P
- Metamod-am
Instructions to build SPMod for Linux
Instructions to build SPMod for Windows
API is still in development, it'll be located on project's wiki.
We use SemVer for versioning. For the versions available, see the releases.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
SPMod is licensed under the General Public License version 3 - see the LICENSE file for details.
The SPMod uses code from the following libraries, projects:
- Printf Implementation, The MIT License (MIT)
- AMX Mod X, GNU GPLv3