Hi friends! You do not have any manuals for writing a plugin through extension? The problems were simple, neither the creation of the configuration file worked, the commands really did not work
Plugin to Extension
Wulf
The problem is that the created plugin ignores hooks such as Loadefaultconfig, WriteObject <Class> () and much more. Can you have some sample plugin, the easiest?
Extension is OK, but base.Manager.RegisterLibrary ("AdminUIPlug", this.AdminUIPlug = new AdminUIPlug ()); doesn't want to work
The extensions linked have examples. The key is the HookMethod attribute.
Wulf
The extensions linked have examples. The key is the HookMethod attribute.
[HookMethod("OnServerInitialized")]
void OnServerInitialized()
{
LogError("TEST");
}
this code ignore server..
Make sure you're creating a plugin and loading it, not just extension. See discord extension, it loads it's plugin.