Skip to content
/ SPMod Public
forked from Amaroq7/SPMod

SourcePawn Scripting Engine for Half-Life 1 based games

License

Notifications You must be signed in to change notification settings

Garey27/SPMod

 
 

Repository files navigation

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:

About

SourcePawn Scripting Engine for Half-Life 1 based games

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.9%
  • Meson 2.6%
  • SourcePawn 2.4%
  • Shell 1.1%