Plugins - KDani-99/FivePD-API GitHub Wiki
Creating a FivePD plugin
To start off, you need to inherit the FivePD.API.Plugin class. By doing that, FivePD will only load these resources from the "plugins" folder, if there weren't any errors in the loading process (so if FivePD fails to load, your plugins won't be started or it'll unload the plugins once an error occurs - prevents random NullReferenceExceptions ). Another important note is that the constructor must be internal.
Example:
...
using CitizenFX.Core;
using FivePD.API;
public class MyPlugin : FivePD.API.Plugin
{
// Must be internal!
internal MyPlugin()
{
}
...
}