|
@@ -0,0 +1,1313 @@
|
|
|
+function setCommandHelps() {
|
|
|
+ command.clearHelp();
|
|
|
+ command.clearIgnored();
|
|
|
+ command.clearNoPerm();
|
|
|
+ //Vanilla ignorieren, danach neu setzen
|
|
|
+ command.addIgnored("time");
|
|
|
+ command.addIgnored("tp");
|
|
|
+ command.addIgnored("help");
|
|
|
+ command.addIgnored("ban");
|
|
|
+ command.addIgnored("kick");
|
|
|
+ command.addIgnored("gamemode");
|
|
|
+ command.addIgnored("gamerule");
|
|
|
+ command.addIgnored("enchant");
|
|
|
+ command.addIgnored("jumpto");
|
|
|
+
|
|
|
+ command.addNoPerm("/br");
|
|
|
+ command.addNoPerm("/brush");
|
|
|
+ command.addNoPerm("/desel");
|
|
|
+ command.addNoPerm("/deselect");
|
|
|
+ command.addNoPerm("/sel");
|
|
|
+ command.addNoPerm("/toggleplace");
|
|
|
+ command.addNoPerm(";");
|
|
|
+ command.addNoPerm("brush");
|
|
|
+ command.addNoPerm("none");
|
|
|
+ command.addNoPerm("toggleplace");
|
|
|
+ command.addNoPerm("tool");
|
|
|
+ command.addNoPerm("br");
|
|
|
+ command.addNoPerm("icanhasbukkit");
|
|
|
+ command.addNoPerm("we");
|
|
|
+ command.addNoPerm("worldedit");
|
|
|
+ command.addNoPerm("worldedit:we");
|
|
|
+ command.addNoPerm("worldedit:worldedit");
|
|
|
+ command.addNoPerm("worldedit:/br");
|
|
|
+ command.addNoPerm("worldedit:/brush");
|
|
|
+ command.addNoPerm("worldedit:/desel");
|
|
|
+ command.addNoPerm("worldedit:/deselect");
|
|
|
+ command.addNoPerm("worldedit:/sel");
|
|
|
+ command.addNoPerm("worldedit:/toggleplace");
|
|
|
+ command.addNoPerm("worldedit:;");
|
|
|
+ command.addNoPerm("worldedit:brush");
|
|
|
+ command.addNoPerm("worldedit:none");
|
|
|
+ command.addNoPerm("worldedit:toggleplace");
|
|
|
+ command.addNoPerm("worldedit:tool");
|
|
|
+ command.addNoPerm("worldedit:br");
|
|
|
+ command.addNoPerm("worldedit:icanhasbukkit");
|
|
|
+
|
|
|
+ commandhelp.add("afk");
|
|
|
+ commandhelp.add("back");
|
|
|
+ commandhelp.add("boost");
|
|
|
+ commandhelp.add("color");
|
|
|
+ commandhelp.add("colour");
|
|
|
+ commandhelp.add("customitems");
|
|
|
+ commandhelp.add("fuckit");
|
|
|
+ commandhelp.add("giveup");
|
|
|
+ commandhelp.add("hack");
|
|
|
+ commandhelp.add("hat");
|
|
|
+ commandhelp.add("head");
|
|
|
+ commandhelp.add("hub");
|
|
|
+ commandhelp.add("icon");
|
|
|
+ commandhelp.add("iteminfo");
|
|
|
+ commandhelp.add("jumpto");
|
|
|
+ commandhelp.add("l");
|
|
|
+ commandhelp.add("lag");
|
|
|
+ commandhelp.add("leave");
|
|
|
+ commandhelp.add("lightning");
|
|
|
+ commandhelp.add("live");
|
|
|
+ commandhelp.add("logo");
|
|
|
+ commandhelp.add("mem");
|
|
|
+ commandhelp.add("memory");
|
|
|
+ commandhelp.add("nowb");
|
|
|
+ commandhelp.add("ping");
|
|
|
+ commandhelp.add("ram");
|
|
|
+ commandhelp.add("rank");
|
|
|
+ commandhelp.add("repair");
|
|
|
+ commandhelp.add("report");
|
|
|
+ commandhelp.add("ride");
|
|
|
+ commandhelp.add("settings");
|
|
|
+ commandhelp.add("silentjoin");
|
|
|
+ commandhelp.add("skipnight");
|
|
|
+ commandhelp.add("skull");
|
|
|
+ commandhelp.add("startgame");
|
|
|
+ commandhelp.add("thor");
|
|
|
+ commandhelp.add("top");
|
|
|
+ commandhelp.add("vote");
|
|
|
+ commandhelp.add("voteshop");
|
|
|
+
|
|
|
+ commandhelp.addChildPlayer("mute");
|
|
|
+ commandhelp.addChildPlayer("unmute");
|
|
|
+ commandhelp.addChildPlayer("tpa");
|
|
|
+ commandhelp.addChildPlayer("tpaccept");
|
|
|
+ commandhelp.addChildPlayer("tpahere");
|
|
|
+ commandhelp.addChildPlayer("tpaccepthere");
|
|
|
+ commandhelp.addChildPlayer("head");
|
|
|
+ commandhelp.addChildPlayer("seen");
|
|
|
+ commandhelp.addChildPlayer("heal");
|
|
|
+ commandhelp.addChildPlayer("feed");
|
|
|
+
|
|
|
+ help = command.newHelp("start", "start");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("ai"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("chat"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("commands"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("copyisland"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("creative"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("damage"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("doors"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("fixitems"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("gemstones"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("harvest"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("herobrine"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("humans"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("lectern"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("loom"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("games"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("mails"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("market"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("mobarena"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("perms"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("playerdata"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("playtime"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("pumpkin"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("recipes"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("scheduler"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("shop"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("sitting"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("stats"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("story"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("survival"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("ticket"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("timber"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("tiploop"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("trader"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ addGmHelp("gamemode");
|
|
|
+ addGmHelp("gm");
|
|
|
+ addAsHelp("armorstand");
|
|
|
+ addAsHelp("as");
|
|
|
+
|
|
|
+ help = command.newHelp("vanish", "vanish");
|
|
|
+ //vanish [on] [player]
|
|
|
+ helpArg0 = command.newHelpLiteral("on");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //vanish [off] [player]
|
|
|
+ helpArg0 = command.newHelpLiteral("off");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+ commandhelp.addAlias("v", "vanish", helpArg0);
|
|
|
+
|
|
|
+ help = command.newHelp("databank", "databank");
|
|
|
+ //databank showtables
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("showtables"));
|
|
|
+ //databank showfields <table>
|
|
|
+ helpArg0 = command.newHelpLiteral("showfields");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("table", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //databank showdataypes <table>
|
|
|
+ helpArg0 = command.newHelpLiteral("showdataypes");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("table", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("copyisland", "copyisland");
|
|
|
+ //copyisland copy/paste
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("copy"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("paste"));
|
|
|
+ //copyisland pos1/pos2
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("pos1"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("pos2"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("fly", "fly");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player", "fly.other");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("on"));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("off"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("enchant", "enchant");
|
|
|
+ helpArg0 = command.newHelpSpecial("Enchantment", "enchantment");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("level", 0, 100));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("allsounds", "allsounds");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("start"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("stop"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("spawn", "spawn");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("games", "games");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("creative", "creative");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("ass", "ass");
|
|
|
+ //ass set <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("set");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ass name <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("name");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ass remove
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("remove"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("tppos", "tppos");
|
|
|
+ helpArg0 = command.newHelpInt("x", -32000, 32000);
|
|
|
+ helpArg1 = command.newHelpInt("y", 0, 1000);
|
|
|
+ helpArg2 = command.newHelpInt("z", -32000, 32000);
|
|
|
+ helpArg3 = command.newHelpString("world", false);
|
|
|
+ helpArg4 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg3, helpArg4);
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("stats", "stats");
|
|
|
+ addStatsGameHelp(help, "AmongUs");
|
|
|
+ addStatsGameHelp(help, "BedWars");
|
|
|
+ addStatsGameHelp(help, "RageMode");
|
|
|
+ addStatsGameHelp(help, "JR-Endless");
|
|
|
+ addStatsGameHelp(help, "Rebuild");
|
|
|
+ addStatsGameHelp(help, "FastBridge");
|
|
|
+ addStatsGameHelp(help, "Snowfight");
|
|
|
+ addStatsGameHelp(help, "JR-Death");
|
|
|
+ addStatsGameHelp(help, "JR-Ice");
|
|
|
+ addStatsGameHelp(help, "JR-Rooms");
|
|
|
+ addStatsGameHelp(help, "Letters");
|
|
|
+ addStatsGameHelp(help, "Sammelfieber");
|
|
|
+ addStatsGameHelp(help, "Buttons");
|
|
|
+ addStatsGameHelp(help, "HideAndSeek");
|
|
|
+ addStatsGameHelp(help, "Inverting");
|
|
|
+ addStatsGameHelp(help, "Spleef");
|
|
|
+ addStatsGameHelp(help, "Knockfight");
|
|
|
+ addStatsGameHelp(help, "Leapfrog");
|
|
|
+ addStatsGameHelp(help, "Parcour");
|
|
|
+ addStatsGameHelp(help, "Halma");
|
|
|
+ addStatsGameHelp(help, "ShoppingChaos");
|
|
|
+ addStatsGameHelp(help, "MengerRun");
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("setspawn", "setspawn");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("server"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("games"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("creative"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ addDtHelp("datatools");
|
|
|
+ addDtHelp("dt");
|
|
|
+
|
|
|
+ help = command.newHelp("help", "help");
|
|
|
+ helpArg0 = command.newHelpInt("page", 1, 100);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+ commandhelp.addAlias("mimimi", "help", helpArg0);
|
|
|
+
|
|
|
+ help = command.newHelp("suicide", "suicide");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player", "suicide.other"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("tempfly", "tempfly");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("seconds", 1, 10000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("tempban", "tempban");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ helpArg1 = command.newHelpInt("days", 0, 100);
|
|
|
+ helpArg2 = command.newHelpInt("hours", 0, 100);
|
|
|
+ helpArg3 = command.newHelpInt("minutes", 0, 100);
|
|
|
+ command.addHelpChild(helpArg3, command.newHelpString("reason", true));
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("unban", "unban");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+ commandhelp.addAlias("pardon", "unban", helpArg0);
|
|
|
+
|
|
|
+ help = command.newHelp("ban", "ban");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("reason", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("silentban", "silentban");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("reason", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("kick", "kick");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("reason", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("silentkick", "silentkick");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("reason", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("answer", "answer");
|
|
|
+ helpArg0 = command.newHelpString("message", true);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+ commandhelp.addAlias("r", "answer", helpArg0);
|
|
|
+
|
|
|
+ help = command.newHelp("time", "time");
|
|
|
+ //time set <time>
|
|
|
+ helpArg0 = command.newHelpLiteral("set");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("time", 0, 100000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //time add <time>
|
|
|
+ helpArg0 = command.newHelpLiteral("add");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("time", 0, 100000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //time day / noon / night / midnight
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("day"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("noon"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("night"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("midnight"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("enderchest", "enderchest");
|
|
|
+ //enderchest [player] <from-player>
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("from-player", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //enderchest [player] <from-player>
|
|
|
+ command.addHelpChild(help, command.newHelpString("from-player", false));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("nickname", "nickname");
|
|
|
+ command.addHelpChild(help, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("remove"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("perm", "perm");
|
|
|
+ //perm give <player> <perm>
|
|
|
+ helpArg0 = command.newHelpLiteral("give", "perm.give");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("owner", "isOwner"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("admin", "isAdmin"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("moderator", "isAdmin"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("supporter"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("builder"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("worldedit"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("vip"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("developer"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("devmaster"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("yt"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("streamer"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("sponsor"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("creative"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //perm remove <player> <perm>
|
|
|
+ helpArg0 = command.newHelpLiteral("remove", "perm.remove");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("owner", "isOwner"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("admin", "isAdmin"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("moderator", "isAdmin"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("supporter"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("builder"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("worldedit"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("vip"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("developer"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("devmaster"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("yt"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("streamer"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("sponsor"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("creative"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //perm removeall <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("removeall", "perm.removeall");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //perm list <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("list", "perm.list");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //perm toggle
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("toggle", "perm.toggle"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ addScriptHelp("s");
|
|
|
+ addScriptHelp("script");
|
|
|
+ addHomeHelp("home");
|
|
|
+ addHomeHelp("h");
|
|
|
+
|
|
|
+ help = command.newHelp("block", "block");
|
|
|
+ //block info
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("info"));
|
|
|
+ //block public
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("public"));
|
|
|
+ //block remove
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("remove"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("plot", "plot");
|
|
|
+ //plot info
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("info"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("i"));
|
|
|
+ //plot pos1/pos2
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("pos1"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("pos2"));
|
|
|
+ //plot create/create3D
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("create"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("create3D"));
|
|
|
+ //plot remove
|
|
|
+ helpArg0 = command.newHelpLiteral("remove");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot name <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("name");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ helpArg1 = command.newHelpInt("id", 0, 10000);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot share <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("share");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot kick <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("kick");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot raise
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("raise"));
|
|
|
+ //plot leader <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("leader");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot mod <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("mod");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot chest <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("chest");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot sell <price>
|
|
|
+ helpArg0 = command.newHelpLiteral("sell");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("price", 1, 10000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot moreinfo
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("moreinfo", "plot.moreinfo"));
|
|
|
+ //plot listall
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("listall"));
|
|
|
+ //plot flags <int> <boolean>
|
|
|
+ helpArg0 = command.newHelpLiteral("flags");
|
|
|
+ helpArg1 = command.newHelpInt("int", 1, 1000);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpBool("boolean"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //plot expand <anzahl>
|
|
|
+ helpArg0 = command.newHelpLiteral("expand");
|
|
|
+ helpArg1 = command.newHelpInt("anzahl", 1, 1000);
|
|
|
+ helpArg3 = command.newHelpInt("id", 1, 10000);
|
|
|
+ helpArg2 = command.newHelpLiteral("north");
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ helpArg2 = command.newHelpLiteral("east");
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ helpArg2 = command.newHelpLiteral("south");
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ helpArg2 = command.newHelpLiteral("west");
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+ commandhelp.addAlias("p", "plot", helpArg0);
|
|
|
+
|
|
|
+ help = command.newHelp("warp", "warp");
|
|
|
+ //warp set [group] <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("set", "warp.create");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false, "warp.create"));
|
|
|
+ helpArg1 = command.newHelpString("group", false, "warp.create");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("name", false, "warp.create"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //warp delete [group] <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("delete", "warp.create");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false, "warp.create"));
|
|
|
+ helpArg1 = command.newHelpString("group", false, "warp.create");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("name", false, "warp.create"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //warp groups
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("groups", "warp.create"));
|
|
|
+ //warp list [group]
|
|
|
+ helpArg0 = command.newHelpLiteral("list");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("group", false, "warp.create"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //warp [group] <name>
|
|
|
+ helpArg0 = command.newHelpString("name", false);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpString("group", false, "warp.create");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("tp", "tp");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "to-player", "tp.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("lastseen", "lastseen");
|
|
|
+ command.addHelpChild(help, command.newHelpInt("amount", 1, 100));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("human", "human");
|
|
|
+ //human spawn
|
|
|
+ helpArg0 = command.newHelpLiteral("spawn");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //human set <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("set");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //human skin <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("skin");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //human name
|
|
|
+ helpArg0 = command.newHelpLiteral("name");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //human kill
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("remove"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("mail", "mail");
|
|
|
+ //mail <player> <message>
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //mail new
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("new"));
|
|
|
+ //mail inbox
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("inbox"));
|
|
|
+ //mail outbox
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("outbox"));
|
|
|
+ //mail reset
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("reset", "mail.reset"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("entities", "entities");
|
|
|
+ command.addHelpChild(help, command.newHelpString("world", false));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("playtime", "playtime");
|
|
|
+ //playtime [player]
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
|
|
|
+ //playtime all
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("all"));
|
|
|
+ //playtime month [1-12] [year]
|
|
|
+ helpArg0 = command.newHelpLiteral("month");
|
|
|
+ helpArg1 = command.newHelpInt("int", 1, 12);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("year", 2019, 2024));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //playtime year [year]
|
|
|
+ helpArg0 = command.newHelpLiteral("year");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("year", 2019, 2024));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("user", "user");
|
|
|
+ //user info <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("info");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "user.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //user addmoney <player> <money>
|
|
|
+ helpArg0 = command.newHelpLiteral("addmoney", "user.money");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player", "user.money");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("money", -10000000, 10000000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //user setmoney <player> <money>
|
|
|
+ helpArg0 = command.newHelpLiteral("setmoney", "user.money");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player", "user.money");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("money", -10000000, 10000000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("skills", "skills");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player", "user.other"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("grow", "grow");
|
|
|
+ command.addHelpChild(help, command.newHelpInt("int", 0, 1000));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("news", "news");
|
|
|
+ command.addHelpChild(help, command.newHelpString("text", true));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("inv", "inv");
|
|
|
+ //inv ignore
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("ignore"));
|
|
|
+ //inv see <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("see");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //inv reload <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("reload");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //inv loadFrom <player> <world>
|
|
|
+ helpArg0 = command.newHelpLiteral("loadFrom");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("world", false));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //inv saveFor <player> <world>
|
|
|
+ helpArg0 = command.newHelpLiteral("saveFor");
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("world", false));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("warn", "warn");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("jail", "jail");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("unjail", "unjail");
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("friend", "friend");
|
|
|
+ //friend add <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("add");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //friend remove <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("remove");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //friend list
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("sign", "sign");
|
|
|
+ helpArg0 = command.newHelpInt("1-4", 1, 4);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("text", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("speed", "speed");
|
|
|
+ helpArg0 = command.newHelpInt("int", 1, 10);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "speed.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("errordebug", "errordebug");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("clear"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("error", "error");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("clear"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("mailbox", "mailbox");
|
|
|
+ //mailbox show <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("show");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "mailbox.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //mailbox send <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("send");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("world", "world");
|
|
|
+ //world info
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("info"));
|
|
|
+ //world tp <world> [player]
|
|
|
+ helpArg0 = command.newHelpLiteral("tp");
|
|
|
+ helpArg1 = command.newHelpString("world", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //world list
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ //world diffi <world> <diffi>
|
|
|
+ helpArg0 = command.newHelpLiteral("diffi");
|
|
|
+ helpArg1 = command.newHelpString("world", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("PEACEFUL"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("EASY"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("NORMAL"));
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("HARD"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //world setspawn
|
|
|
+ helpArg0 = command.newHelpLiteral("setspawn");
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("quest", "quest");
|
|
|
+ //quest see
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("see"));
|
|
|
+ //quest term <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("term");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("pvp", "pvp");
|
|
|
+ helpArg0 = command.newHelpLiteral("on");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "pvp.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("off");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "pvp.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("game", "game");
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("open"));
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("close"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("party", "party");
|
|
|
+ //party invite <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("invite");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party accept <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("accept");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party deny <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("deny");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party kick <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("kick");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party leave
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("leave"));
|
|
|
+ //party promote <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("promote");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party demote <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("demote");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //party disband
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("disband"));
|
|
|
+ //party list
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("var", "var");
|
|
|
+ helpArg0 = command.newHelpInt("id", 0, 1000000);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("varname", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("msg", "msg");
|
|
|
+ helpArg0 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("setservermessage", "setservermessage");
|
|
|
+ command.addHelpChild(help, command.newHelpString("message", true));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("gamerule", "gamerule");
|
|
|
+ addGameRuleBoolean(help, "announceAdvancements");
|
|
|
+ addGameRuleBoolean(help, "commandBlockOutput");
|
|
|
+ addGameRuleBoolean(help, "disableElytraMovementCheck");
|
|
|
+ addGameRuleBoolean(help, "disableRaids");
|
|
|
+ addGameRuleBoolean(help, "doDaylightCycle");
|
|
|
+ addGameRuleBoolean(help, "doEntityDrops");
|
|
|
+ addGameRuleBoolean(help, "doFireTick");
|
|
|
+ addGameRuleBoolean(help, "doInsomnia");
|
|
|
+ addGameRuleBoolean(help, "doImmediateRespawn");
|
|
|
+ addGameRuleBoolean(help, "doLimitedCrafting");
|
|
|
+ addGameRuleBoolean(help, "doMobLoot");
|
|
|
+ addGameRuleBoolean(help, "doMobSpawning");
|
|
|
+ addGameRuleBoolean(help, "doPatrolSpawning");
|
|
|
+ addGameRuleBoolean(help, "doTileDrops");
|
|
|
+ addGameRuleBoolean(help, "doTraderSpawning");
|
|
|
+ addGameRuleBoolean(help, "doWeatherCycle");
|
|
|
+ addGameRuleBoolean(help, "drowningDamage");
|
|
|
+ addGameRuleBoolean(help, "fallDamage");
|
|
|
+ addGameRuleBoolean(help, "fireDamage");
|
|
|
+ addGameRuleBoolean(help, "forgiveDeadPlayers");
|
|
|
+ addGameRuleBoolean(help, "freezeDamage");
|
|
|
+ addGameRuleBoolean(help, "keepInventory");
|
|
|
+ addGameRuleBoolean(help, "logAdminCommands");
|
|
|
+ addGameRuleInt(help, "maxCommandChainLength", 0, 100000);
|
|
|
+ addGameRuleInt(help, "maxEntityCramming", 0, 100);
|
|
|
+ addGameRuleBoolean(help, "mobGriefing");
|
|
|
+ addGameRuleInt(help, "playersSleepingPercentage", 0, 100);
|
|
|
+ addGameRuleInt(help, "randomTickSpeed", 0, 4096);
|
|
|
+ addGameRuleBoolean(help, "reducedDebugInfo");
|
|
|
+ addGameRuleBoolean(help, "respawnBlocksExplode");
|
|
|
+ addGameRuleBoolean(help, "sendCommandFeedback");
|
|
|
+ addGameRuleBoolean(help, "showDeathMessages");
|
|
|
+ addGameRuleBoolean(help, "spawnRadius");
|
|
|
+ addGameRuleBoolean(help, "spectatorsGenerateChunks");
|
|
|
+ addGameRuleBoolean(help, "universalAnger");
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("potion", "potion");
|
|
|
+ helpArg1 = command.newHelpInt("duration", 0, 10000);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("power", 0, 50));
|
|
|
+ list = getPotionTypes();
|
|
|
+ iter = iterator(list);
|
|
|
+ while(hasNext(iter)) {
|
|
|
+ potion_name = next(iter);
|
|
|
+ addPotionName(help, helpArg1, potion_name);
|
|
|
+ }
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("clan", "clan");
|
|
|
+ //clan invite <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("invite");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan accept <id/name/tag>
|
|
|
+ helpArg0 = command.newHelpLiteral("invite");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 500));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("tag", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan info [id/name/tag]
|
|
|
+ helpArg0 = command.newHelpLiteral("info");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 500));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("tag", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan create <name> <tag>
|
|
|
+ helpArg0 = command.newHelpLiteral("create");
|
|
|
+ helpArg1 = command.newHelpString("name", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("false", false));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan kick <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("kick");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan leader <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("leader");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan mod <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("mod");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan degrade <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("degrade");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan leave
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("leave"));
|
|
|
+ //clan rename <name> <tag>
|
|
|
+ helpArg0 = command.newHelpLiteral("rename");
|
|
|
+ helpArg1 = command.newHelpString("name", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("false", false));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan disband
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("disband"));
|
|
|
+ //clan msg <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("msg");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan mail <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("mail");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan shout <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("shout");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan deposit <money>
|
|
|
+ helpArg0 = command.newHelpLiteral("deposit");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("money", 0, 1000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan withdraw <money>
|
|
|
+ helpArg0 = command.newHelpLiteral("withdraw");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("money", 0, 1000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //clan party
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("party"));
|
|
|
+ //clan setspawn
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("setspawn"));
|
|
|
+ //clan spawn
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("spawn"));
|
|
|
+ //clan list
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list"));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("shop", "shop");
|
|
|
+ //shop create
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("create"));
|
|
|
+ //shop remove
|
|
|
+ helpArg0 = command.newHelpLiteral("remove");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("buy"));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("sell"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //shop buy <amount> <price>
|
|
|
+ helpArg0 = command.newHelpLiteral("buy");
|
|
|
+ helpArg1 = command.newHelpInt("amount", 0, 1000);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("price", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //shop sell <amount> <price>
|
|
|
+ helpArg0 = command.newHelpLiteral("sell");
|
|
|
+ helpArg1 = command.newHelpInt("amount", 0, 1000);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpInt("price", 0, 10000));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("setmessage", "setmessage");
|
|
|
+ //setmessage info
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("info"));
|
|
|
+ //setmessage join <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("join");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //setmessage leave <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("leave");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //setmessage delete <player>
|
|
|
+ helpArg0 = command.newHelpLiteral("delete");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "setmessage.delete"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("tip", "tip");
|
|
|
+ //tipp list
|
|
|
+ helpArg0 = command.newHelpLiteral("list");
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //tipp add <tipp> <text>
|
|
|
+ helpArg0 = command.newHelpLiteral("add");
|
|
|
+ helpArg1 = command.newHelpString("tip", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpString("text", true));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //tipp remove <tipp>
|
|
|
+ helpArg0 = command.newHelpLiteral("remove");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("tip", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //tipp <tipp> [player]
|
|
|
+ helpArg0 = command.newHelpString("tip", false);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //tipp loop <tip> <boolean>
|
|
|
+ helpArg0 = command.newHelpLiteral("loop");
|
|
|
+ helpArg1 = command.newHelpString("tip", false);
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpBool("boolean"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("ticket", "ticket");
|
|
|
+ //ticket new <message>
|
|
|
+ helpArg0 = command.newHelpLiteral("new");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("message", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ticket stop <ticket-id>
|
|
|
+ helpArg0 = command.newHelpLiteral("stop");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("ticket-id", 1, 1000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ticket list
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("list", "isSupporter"));
|
|
|
+ //ticket get [ticket-id]
|
|
|
+ helpArg0 = command.newHelpLiteral("get");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("ticket-id", 1, 1000, "isSupporter"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ticket finish <ticket-id>
|
|
|
+ helpArg0 = command.newHelpLiteral("finish");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("ticket-id", 1, 1000, "isSupporter"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ticket release <ticket-id>
|
|
|
+ helpArg0 = command.newHelpLiteral("release");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("ticket-id", 1, 1000, "isSupporter"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //ticket report <ticket-id>
|
|
|
+ helpArg0 = command.newHelpLiteral("report");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("ticket-id", 1, 1000, "isSupporter"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ help = command.newHelp("yeet", "yeet");
|
|
|
+ command.addHelpChild(help, command.newHelpInt("strength", 1, 10000000000000));
|
|
|
+ command.addHelp(help);
|
|
|
+
|
|
|
+ command.sendHelp();
|
|
|
+}
|
|
|
+
|
|
|
+function addPotionName(help, helpArg1, potion_name) {
|
|
|
+ helpArg0 = command.newHelpLiteral(potion_name);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function addGameRuleBoolean(help, gamerule) {
|
|
|
+ helpArg0 = command.newHelpLiteral(gamerule);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function addGameRuleInt(help, gamerule, from, to) {
|
|
|
+ helpArg0 = command.newHelpLiteral(gamerule);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("value", from, to));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function commandhelp.add(command) {
|
|
|
+ help = command.newHelp(command, command);
|
|
|
+ command.addHelp(help);
|
|
|
+ return help;
|
|
|
+}
|
|
|
+
|
|
|
+function commandhelp.addChildString(command, arg0, bool) {
|
|
|
+ help = command.newHelp(command, command);
|
|
|
+ command.addHelpChild(help, command.newHelpString(arg0, bool));
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function commandhelp.addChildPlayer(command) {
|
|
|
+ help = command.newHelp(command, command);
|
|
|
+ command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function commandhelp.addChildBool(command, arg0) {
|
|
|
+ help = command.newHelp(command, command);
|
|
|
+ command.addHelpChild(help, command.newHelpBool(arg0));
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function commandhelp.addAlias(alias, command, helpArg0) {
|
|
|
+ help = command.newHelp(alias, command);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addScriptHelp(command) {
|
|
|
+ help = command.newHelp(command, "script");
|
|
|
+ //script start <scripts>
|
|
|
+ helpArg0 = command.newHelpLiteral("start");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("scrips...", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //script s <scripts>
|
|
|
+ helpArg0 = command.newHelpLiteral("s");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("scrips...", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //script see
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("see"));
|
|
|
+ //script term
|
|
|
+ helpArg0 = command.newHelpLiteral("term");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("all"));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 1000000));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addHomeHelp(command) {
|
|
|
+ help = command.newHelp(command, "home");
|
|
|
+ //home set
|
|
|
+ helpArg0 = command.newHelpLiteral("set");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //home delete
|
|
|
+ helpArg0 = command.newHelpLiteral("delete");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", false));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //home list
|
|
|
+ helpArg0 = command.newHelpLiteral("list");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "home.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //home <name>
|
|
|
+ helpArg0 = command.newHelpString("name", false);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "home.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addStatsGameHelp(help, game) {
|
|
|
+ helpArg0 = command.newHelpLiteral(game);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral("top"));
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpInt("rank", 1, 1000));
|
|
|
+ helpArg1 = command.newHelpSpecial("Player", "player");
|
|
|
+ command.addHelpChild(helpArg1, command.newHelpLiteral("remove", "stats.remove"));
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function addAsHelp(command) {
|
|
|
+ help = command.newHelp(command, "armorstand");
|
|
|
+ //as name <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("name");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("name", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //as visible <true/false>3
|
|
|
+ addAsBoolHelp(help, "visible");
|
|
|
+ //as arms <true/false>
|
|
|
+ addAsBoolHelp(help, "arms");
|
|
|
+ //as small <true/false>
|
|
|
+ addAsBoolHelp(help, "small");
|
|
|
+ //as baseplate <true/false>
|
|
|
+ addAsBoolHelp(help, "baseplate");
|
|
|
+ //as marker <true/false>
|
|
|
+ addAsBoolHelp(help, "marker");
|
|
|
+ //as move <true/false>
|
|
|
+ addAsBoolHelp(help, "move");
|
|
|
+ //as tick <true/false>
|
|
|
+ addAsBoolHelp(help, "tick");
|
|
|
+ //as setpose <bodypart> <x> <y> <z>
|
|
|
+ helpArg0 = command.newHelpLiteral("setpose");
|
|
|
+ helpArg2 = command.newHelpInt("x", -360, 360);
|
|
|
+ helpArg3 = command.newHelpInt("y", -360, 360);
|
|
|
+ helpArg4 = command.newHelpInt("z", -360, 360);
|
|
|
+ command.addHelpChild(helpArg3, helpArg4);
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "head");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "body");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "leftarm");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "rightarm");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "leftleg");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "rightleg");
|
|
|
+ //as addpose <bodypart> <x> <y> <z>
|
|
|
+ helpArg0 = command.newHelpLiteral("addpose");
|
|
|
+ helpArg2 = command.newHelpInt("x", -360, 360);
|
|
|
+ helpArg3 = command.newHelpInt("y", -360, 360);
|
|
|
+ helpArg4 = command.newHelpInt("z", -360, 360);
|
|
|
+ command.addHelpChild(helpArg3, helpArg4);
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "head");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "body");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "leftarm");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "rightarm");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "leftleg");
|
|
|
+ addAsBodypartHelp(help, helpArg0, helpArg2, "rightleg");
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addAsBoolHelp(help, subcommand) {
|
|
|
+ helpArg0 = command.newHelpLiteral(subcommand);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function addAsBodypartHelp(help, helpArg0, helpArg2, bodypart) {
|
|
|
+ helpArg1 = command.newHelpLiteral(bodypart);
|
|
|
+ command.addHelpChild(helpArg1, helpArg2);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+}
|
|
|
+
|
|
|
+function addGmHelp(command) {
|
|
|
+ help = command.newHelp(command, "gamemode");
|
|
|
+ helpArg0 = command.newHelpLiteral("adventure");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("creative");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("spectator");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("survival");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("a");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("c");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("w");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpLiteral("s");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ helpArg0 = command.newHelpInt("0-3", 0, 3);
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addDtHelp(command) {
|
|
|
+ help = command.newHelp(command, "datatools");
|
|
|
+ //datatools item-flag <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("item-flag");
|
|
|
+ item_flags = getItemFlags();
|
|
|
+ iter = iterator(item_flags);
|
|
|
+ while(hasNext(iter)) {
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpLiteral(next(iter)));
|
|
|
+ }
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //datatools item-attribute <attribute> <slot> <double> <op>
|
|
|
+ helpArg0 = command.newHelpLiteral("item-attribute");
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ARMOR"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ARMOR_TOUGHNESS"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_DAMAGE"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_KNOCKBACK"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_SPEED"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_FLYING_SPEED"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_FOLLOW_RANGE"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_KNOCKBACK_RESISTANCE"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_LUCK"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_MAX_HEALTH"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_MOVEMENT_SPEED"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("HORSE_JUMP_STRENGTH"));
|
|
|
+ command.addHelpChild(helpArg0, addDtAttributeAttributHelp("ZOMBIE_SPAWN_REINFORCEMENTS"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //datatools entity-hide
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("entity-hide"));
|
|
|
+ //datatools entity-show
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("entity-show"));
|
|
|
+ //datatools frame-hide
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("frame-hide"));
|
|
|
+ //datatools frame-show
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("frame-show"));
|
|
|
+ //datatools entity-name <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("entity-name");
|
|
|
+ helpArg1 = command.newHelpString("name", true);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //datatools name-visibility <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("name-visibility");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //datatools item-name <name>
|
|
|
+ helpArg0 = command.newHelpLiteral("item-name");
|
|
|
+ helpArg1 = command.newHelpString("name", true);
|
|
|
+ command.addHelpChild(helpArg0, helpArg1);
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ //datatools entity-print
|
|
|
+ command.addHelpChild(help, command.newHelpLiteral("entity-print"));
|
|
|
+ //datatools item-lore <line> <lore>
|
|
|
+ helpArg0 = command.newHelpLiteral("item-lore");
|
|
|
+ command.addHelpChild(helpArg0, command.newHelpString("lore", true));
|
|
|
+ command.addHelpChild(help, helpArg0);
|
|
|
+ command.addHelp(help);
|
|
|
+}
|
|
|
+
|
|
|
+function addDtAttributeAttributHelp(attribut) {
|
|
|
+ helpArg1 = command.newHelpLiteral(attribut);
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("HAND"));
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("OFF_HAND"));
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("HEAD"));
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("CHEST"));
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("LEGS"));
|
|
|
+ command.addHelpChild(helpArg1, addDtAttributeSlotHelp("FEET"));
|
|
|
+ return helpArg1;
|
|
|
+}
|
|
|
+
|
|
|
+function addDtAttributeSlotHelp(slot) {
|
|
|
+ helpArg2 = command.newHelpLiteral(slot);
|
|
|
+ helpArg3 = command.newHelpInt("double", 0, 1000);
|
|
|
+ command.addHelpChild(helpArg3, command.newHelpLiteral("ADD_NUMBER"));
|
|
|
+ command.addHelpChild(helpArg3, command.newHelpLiteral("ADD_SCALAR"));
|
|
|
+ command.addHelpChild(helpArg3, command.newHelpLiteral("MULTIPLY_SCALAR_1"));
|
|
|
+ command.addHelpChild(helpArg2, helpArg3);
|
|
|
+ return helpArg2;
|
|
|
+}
|