Updated Plugins (markdown)

Neil Dorin
2020-02-11 22:00:12 -07:00
parent ce0359448e
commit 2952b1ff0b

@@ -14,8 +14,8 @@ All plugin assemblies must contain a static method called LoadPlugin():
``` csharp
public class SomeDevice : Device , IBridge //IBridge only needs to be implemented if
{
// This string is used to define the minimum version of the Essentials Framework
// required for this plugin
// This string is used to define the minimum version of the
// Essentials Framework required for this plugin
public static string MinimumEssentialsFrameworkVersion = "1.4.23";
// This method gets called by the Essentials Framework when the application starts.
@@ -28,7 +28,8 @@ public class SomeDevice : Device , IBridge //IBridge only needs to be implement
// and returns an instance of the desired device type
}
// This is a factory method to construct a device and return it to be added to the DeviceManager
// This is a factory method to construct a device and return it to be
// added to the DeviceManager
public static Device FactoryMethod(DeviceConfig dc)
{
return new SomeDevice(dc.key, dc.name, dc);