mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-11-01 03:29:18 +00:00
make everything containing delete to remove
This commit is contained in:
parent
8a41c06e3e
commit
c503220076
|
@ -15,7 +15,7 @@ import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@CommandPermissions(level = AdminLevel.OP, source = SourceType.BOTH)
|
@CommandPermissions(level = AdminLevel.OP, source = SourceType.BOTH)
|
||||||
@CommandParameters(description = "Manage superadmins.", usage = "/<command> <list | clean | clearme [ip] | <add | delete | info> <username>>")
|
@CommandParameters(description = "Manage superadmins.", usage = "/<command> <list | clean | clearme [ip] | <add | remove | info> <username>>")
|
||||||
public class Command_saconfig extends FreedomCommand {
|
public class Command_saconfig extends FreedomCommand {
|
||||||
@Override
|
@Override
|
||||||
public boolean run(CommandSender sender, org.bukkit.entity.Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
|
public boolean run(CommandSender sender, org.bukkit.entity.Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
|
||||||
|
@ -194,7 +194,7 @@ public class Command_saconfig extends FreedomCommand {
|
||||||
CLEARME("clearme", AdminLevel.SUPER, SourceType.ONLY_IN_GAME, 1, 2),
|
CLEARME("clearme", AdminLevel.SUPER, SourceType.ONLY_IN_GAME, 1, 2),
|
||||||
INFO("info", AdminLevel.SUPER, SourceType.BOTH, 2, 2),
|
INFO("info", AdminLevel.SUPER, SourceType.BOTH, 2, 2),
|
||||||
ADD("add", AdminLevel.SUPER, SourceType.ONLY_CONSOLE, 2, 2),
|
ADD("add", AdminLevel.SUPER, SourceType.ONLY_CONSOLE, 2, 2),
|
||||||
DELETE("delete", AdminLevel.SENIOR, SourceType.ONLY_CONSOLE, 2, 2);
|
REMOVE("remove", AdminLevel.SENIOR, SourceType.ONLY_CONSOLE, 2, 2);
|
||||||
private final String modeName;
|
private final String modeName;
|
||||||
private final AdminLevel adminLevel;
|
private final AdminLevel adminLevel;
|
||||||
private final SourceType sourceType;
|
private final SourceType sourceType;
|
||||||
|
|
Loading…
Reference in a new issue