B2S.Server Plugin Interface
Interface library for B2S.Server plugins
Go to:
Overview 
 All Classes Namespaces Files Functions Properties Pages
Download and using the B2SServerPluginInterface.dll

Download B2SServerPluginInterface.dll

The B2SServerPluginInterface.dll can be downloaded as follows:

Download source code

The source code of the B2SServerPluginInterface.dll can be aquired from GitHub https://github.com/DirectOutput/B2SServerPluginInterface.

If you are planning to implement your own plugin, do NOT use a self compiled version of the interface dll. Download the binary version to avoid compatibility issues.

Using the dll

Use the dll to implement your own B2S.Server plugin. The first steps are:

  • Create a new class library project in Visual Studio.
  • Add a reference the the B2SServerPluginInterface.dll you have downloaded.
  • Add a reference to System.ComponentModel.Composition.
  • Create a plugin class and implement at least the IDirectPlugin interface.
  • Decorate the plugin class with [Export(typeof(B2SServerPluginInterface.IDirectPlugin))] for C# or <Export(GetType(B2SServerPluginInterface.IDirectPlugin))> for VB.net.

More information on using the B2SServerPluginInterface.dll to create your own plugins can be found in the B2S.Server Sample Plugin project.