版本更新至:3.825

新增:/tlib tagprefix 设置头顶前缀称号
新增:/tlib tagsuffix 设置头顶后缀称号
新增:/tlib tagdelete 删除头顶称号
新增:TagManager 工具新增方法 removeData() 用于删除玩家数据
This commit is contained in:
坏黑
2018-03-19 23:38:30 +08:00
parent 6aa5dbc5bd
commit a4381c39bc
7 changed files with 169 additions and 2 deletions

View File

@@ -22,6 +22,9 @@ import me.skymc.taboolib.commands.sub.ItemCommand;
import me.skymc.taboolib.commands.sub.PotionCommand;
import me.skymc.taboolib.commands.sub.SaveCommand;
import me.skymc.taboolib.commands.sub.SlotCommand;
import me.skymc.taboolib.commands.sub.TagDeleteCommand;
import me.skymc.taboolib.commands.sub.TagPrefixCommand;
import me.skymc.taboolib.commands.sub.TagSuffixCommand;
import me.skymc.taboolib.commands.sub.VariableGetCommand;
import me.skymc.taboolib.commands.sub.VariableSetCommand;
import me.skymc.taboolib.commands.sub.cycle.CycleCommand;
@@ -88,6 +91,15 @@ public class MainCommands implements CommandExecutor{
else if (args[0].equalsIgnoreCase("sounds")) {
new SoundsCommand(sender, args);
}
else if (args[0].equalsIgnoreCase("tagprefix")) {
new TagPrefixCommand(sender, args);
}
else if (args[0].equalsIgnoreCase("tagsuffix")) {
new TagSuffixCommand(sender, args);
}
else if (args[0].equalsIgnoreCase("tagdelete")) {
new TagDeleteCommand(sender, args);
}
else {
MsgUtils.send(sender, "&4指令错误");
}