using System; using System.Collections.Generic; using AllocsFixes.NetConnections.Servers.Web; namespace AllocsFixes.CustomCommands { public class ReloadWebPermissions : ConsoleCmdAbstract { protected override string getDescription () { return "force reload of web permissions file"; } protected override string[] getCommands () { return new[] {"reloadwebpermissions_legacy"}; } public override void Execute (List _params, CommandSenderInfo _senderInfo) { WebPermissions.Instance.Load (); SdtdConsole.Instance.Output ("Web permissions file reloaded"); } } }