Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.63 KB

README.md

File metadata and controls

71 lines (49 loc) · 2.63 KB

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)

  • Half-Life
  • Counter-Strike
  • Counter-Strike: Condition Zero
  • Day of Defeat
  • Team Fortress Classic

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: