saconfig add to be used ingame

just so if someone is not on a supered ip super admins can also add them (its more convenient too)
also made saconfig remove set to both but changed requirements to senior (because some NERDS at totalfreedom incorporated did not make adminLevel.TELNET a thing)
This commit is contained in:
ginlang 2022-03-28 20:20:43 +01:00 committed by GitHub
parent 0203f05ad0
commit 706c6ae1c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ public class Command_saconfig extends FreedomCommand {
CLEAN("clean", AdminLevel.SENIOR, SourceType.BOTH, 1, 1),
CLEARME("clearme", AdminLevel.SUPER, SourceType.ONLY_IN_GAME, 1, 2),
INFO("info", AdminLevel.SUPER, SourceType.BOTH, 2, 2),
ADD("add", AdminLevel.SUPER, SourceType.ONLY_CONSOLE, 2, 2),
REMOVE("remove", AdminLevel.SUPER, SourceType.ONLY_CONSOLE, 2, 2);
ADD("add", AdminLevel.SUPER, SourceType.BOTH, 2, 2),
REMOVE("remove", AdminLevel.SENIOR, SourceType.BOTH, 2, 2);
private final String modeName;
private final AdminLevel adminLevel;
private final SourceType sourceType;