In Order to start creating Plugins for Synapse you have to install the SynapseSL Nuget first. You can install it (in Visual Studio) by clicking on
Project -> Manage NuGet Packages -> Browse -> Type in the search : SynapseSL -> Install.
Now that Synapse is installed in your project we can start with developing a Plugin!
In order to do this you must add
using Synapse.Api.Pluginat the top of your PluginClass which must inherit
Synapse.Api.Plugin.AbstractPluginand contains the
override void Load()method. The Next step is that we add the Attribute
Synapse.Api.Plugin.PluginDetailsto the head of the PluginClass.
Doing that should resolve in a Plugin that is looking like this:
Name = "FirstPlugin", //The Name of Your Plugin
Author = "Dimenzio", // Your Name
Description = "My First Awesome Plugin", // A Description of your Plugin
LoadPriority = 0, //When your Plugin should get loaded (use 0 if you don't know how to use it)
SynapseMajor = 2, //The Synapse Version for which this Plugin was created for (SynapseMajor.SynapseMinor.SynapsePatch => 2.7.0)
SynapseMinor = 7,
SynapsePatch = 0,
Version = "v.1.0.0" //The Current Version of your Plugin
public class PluginClass : AbstractPlugin
public override void Load()
//This Method is completely optional and you may not need it.
//It's called whenever Synapse tries to reload all config files inside the system.
public override void ReloadConfigs()
Loadwill be called by Synapse when your plugin gets loaded. (You can add an
Logger.Get.Info("Hello World");to send a "Hello World" to the ServerConsole)
Additional information for more advanced developers: The
AbstractPluginalso has the fields for information (
PluginDirectory(It gives your own working directory).
Next step is to look into: