private void Unload() { foreach (var player in BasePlayer.activePlayerList) { InterfaceClose(player); } _ins = null; _config = null; }
private void Init() { _ins = this; permission.RegisterPermission(PermissionRecacheUI, this); foreach (var command in _config.Commands) { AddCovalenceCommand(command, nameof(CommandInfoMenu)); } AddCovalenceCommand(CommandRecacheUI, nameof(CommandInfoMenuRecacheUI)); }