protected override void Unload() { Instance = null; if (Configuration.Instance.EnablePlugin) { URPerm = null; } Rocket.Core.Logging.Logger.LogWarning("RocketTools has been unloaded!"); }
protected override void Load() { Instance = this; if (!Configuration.Instance.EnablePlugin) { UnloadPlugin(PluginState.Cancelled); return; } URPerm = new PermissionsHelper(); Rocket.Core.Logging.Logger.LogWarning("RocketTools by persiafighter, build #" + Build + " has been loaded!"); }