Amaroq7 / SPMod

SourcePawn Scripting Engine for Half-Life 1 based games
GNU General Public License v3.0
27 stars 12 forks source link
counter-strike dod half-life meson metamod metamod-r rehlds sourcepawn tfc

SPMod License Tux Travis status Windows Appveyor status

SourcePawn Scripting Engine for Half-Life 1 based games

About

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.

Supported games & mods (in future)

For unsupported mods and games, check here.

Example plugin

#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");
}

Requirements

Building

Linux

Instructions to build SPMod for Linux

Windows

Instructions to build SPMod for Windows

API Reference

API is still in development, it'll be located on project's wiki.

Versioning

We use SemVer for versioning. For the versions available, see the releases.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

SPMod is licensed under the General Public License version 3 - see the LICENSE file for details.

Acknowledgments

The SPMod uses code from the following libraries, projects: