protected override void Unload() { Instance = null; Logger.Log("SkinRestriction has been unloaded!"); Logger.Log("Visit Tortellio Discord for more! https://discord.gg/pzQwsew"); UnturnedPermissions.OnJoinRequested -= new UnturnedPermissions.JoinRequested(OnPlayerConnect); }
protected override void Load() { Instance = this; Logger.Log("SkinRestriction has been loaded!"); Logger.Log(PluginName + PluginVersion, ConsoleColor.Yellow); Logger.Log("Made by Tortellio", ConsoleColor.Yellow); UnturnedPermissions.OnJoinRequested += new UnturnedPermissions.JoinRequested(OnPlayerConnect); }