+ 修复配置文件错误
+ 隐藏 /taboolib 命令下的部分子命令
This commit is contained in:
@@ -182,12 +182,14 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
}
|
||||
};
|
||||
|
||||
@CommandRegister(priority = 5)
|
||||
BaseSubCommand emptyLine1 = null;
|
||||
|
||||
@CommandRegister(priority = 6)
|
||||
BaseSubCommand attributes = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "attributes";
|
||||
@@ -212,6 +214,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 7)
|
||||
BaseSubCommand enchants = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "enchants";
|
||||
@@ -236,6 +243,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 8)
|
||||
BaseSubCommand potions = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "potions";
|
||||
@@ -260,6 +272,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 9)
|
||||
BaseSubCommand flags = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "flags";
|
||||
@@ -284,6 +301,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 10)
|
||||
BaseSubCommand slots = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "slots";
|
||||
@@ -308,6 +330,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 11)
|
||||
BaseSubCommand sounds = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "sounds";
|
||||
@@ -334,12 +361,14 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
}
|
||||
};
|
||||
|
||||
@CommandRegister(priority = 12)
|
||||
BaseSubCommand emptyLine2 = null;
|
||||
|
||||
@CommandRegister(priority = 13)
|
||||
BaseSubCommand getVariable = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "getVariable";
|
||||
@@ -372,6 +401,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 13.1)
|
||||
BaseSubCommand setVariable = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "setVariable";
|
||||
@@ -402,12 +436,14 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
}
|
||||
};
|
||||
|
||||
@CommandRegister(priority = 13.2)
|
||||
BaseSubCommand getEmptyLine3 = null;
|
||||
|
||||
@CommandRegister(priority = 13.3)
|
||||
BaseSubCommand cycleList = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "cycleList";
|
||||
@@ -434,6 +470,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 14)
|
||||
BaseSubCommand cycleInfo = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "cycleInfo";
|
||||
@@ -477,6 +518,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 15)
|
||||
BaseSubCommand cycleReset = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "cycleReset";
|
||||
@@ -520,6 +566,11 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
@CommandRegister(priority = 16)
|
||||
BaseSubCommand cycleUpdate = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "cycleUpdate";
|
||||
@@ -689,11 +740,14 @@ public class TabooLibMainCommand extends BaseMainCommand {
|
||||
}
|
||||
};
|
||||
|
||||
@CommandRegister(priority = 24)
|
||||
BaseSubCommand getEmptyLine6 = null;
|
||||
|
||||
@CommandRegister(priority = 24.1)
|
||||
BaseSubCommand lagServer = new BaseSubCommand() {
|
||||
|
||||
@Override
|
||||
public boolean hideInHelp() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "lagServer";
|
||||
|
||||
Reference in New Issue
Block a user