123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341 |
- 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("customitems");
- commandhelp.add("giveup");
- commandhelp.add("hack");
- commandhelp.add("hat");
- commandhelp.add("head");
- commandhelp.add("hub");
- commandhelp.add("icon");
- commandhelp.add("iteminfo");
- commandhelp.add("joinme");
- commandhelp.add("jumpto");
- commandhelp.add("lag");
- commandhelp.add("leave");
- commandhelp.add("lightning");
- commandhelp.add("live");
- commandhelp.add("logo");
- commandhelp.add("memory");
- commandhelp.add("nowb");
- commandhelp.add("ping");
- commandhelp.add("rank");
- commandhelp.add("repair");
- commandhelp.add("ride");
- commandhelp.add("settings");
- commandhelp.add("silentjoin");
- commandhelp.add("skipnight");
- commandhelp.add("startgame");
- commandhelp.add("top");
- commandhelp.add("voteshop");
-
- 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");
-
- command.addHelp(command.newHelp("colour", "color"));
- command.addHelp(command.newHelp("fuckit", "giveup"));
- command.addHelp(command.newHelp("skull", "head"));
- command.addHelp(command.newHelp("l", "leave"));
- command.addHelp(command.newHelp("mem", "memory"));
- command.addHelp(command.newHelp("ram", "memory"));
- command.addHelp(command.newHelp("thor", "lightning"));
-
- 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("skills"));
- command.addHelpChild(help, command.newHelpLiteral("stats"));
- command.addHelpChild(help, command.newHelpLiteral("story"));
- command.addHelpChild(help, command.newHelpLiteral("survival"));
- command.addHelpChild(help, command.newHelpLiteral("teleporter"));
- 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 <radius>
- helpArg0 = command.newHelpLiteral("remove");
- command.addHelpChild(helpArg0, command.newHelpInt("radius", 0, 10));
- command.addHelpChild(help, helpArg0);
- 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, "ItemHunt");
- 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, 365);
- 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("kick", "kick");
- 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(helpArg1, command.newHelpLiteral("notickets"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("bypass"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("altruist"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("legend"));
- 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"));
- //block fix
- command.addHelpChild(help, command.newHelpLiteral("fix"));
- command.addHelp(help);
-
- addPlotHelp("plot");
- addPlotHelp("p");
-
- 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("uuid", false));
- command.addHelpChild(help, helpArg0);
- //human skin <name>
- helpArg0 = command.newHelpLiteral("skin");
- command.addHelpChild(helpArg0, command.newHelpString("skinname", false));
- command.addHelpChild(help, helpArg0);
- //human name
- helpArg0 = command.newHelpLiteral("name");
- command.addHelpChild(helpArg0, command.newHelpString("name", true));
- command.addHelpChild(help, helpArg0);
- //human move <true/fals>
- helpArg0 = command.newHelpLiteral("move");
- command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
- command.addHelpChild(help, helpArg0);
- //human ai <value>
- helpArg0 = command.newHelpLiteral("ai");
- command.addHelpChild(helpArg0, command.newHelpInt("value", 0, 20));
- 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("month", 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("support", "support");
- command.addHelpChild(help, command.newHelpString("message", true));
- command.addHelp(help);
-
- help = command.newHelp("teammsg", "isTeam");
- helpArg0 = command.newHelpString("message", true);
- command.addHelpChild(help, helpArg0);
- command.addHelp(help);
- commandhelp.addAlias("t", "teammsg", helpArg0);
- help = command.newHelp("mute", "mute");
- helpArg0 = command.newHelpSpecial("Player", "player");
- command.addHelpChild(helpArg0, command.newHelpString("message", true));
- command.addHelpChild(help, helpArg0);
- command.addHelp(help);
-
- help = command.newHelp("vote", "vote");
- command.addHelpChild(help, command.newHelpSpecial("Player", "player", "user.other"));
- command.addHelp(help);
-
- help = command.newHelp("ticket", "ticket");
- //ticket list
- command.addHelpChild(help, command.newHelpLiteral("list"));
- //ticket get [id]
- helpArg0 = command.newHelpLiteral("get");
- command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 1000));
- command.addHelpChild(help, helpArg0);
- //ticket finish
- command.addHelpChild(help, command.newHelpLiteral("finish"));
- //ticket release
- command.addHelpChild(help, command.newHelpLiteral("release"));
- //ticket note <message>
- helpArg0 = command.newHelpLiteral("note");
- command.addHelpChild(helpArg0, command.newHelpString("message", true));
- 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 <id/all>
- helpArg0 = command.newHelpLiteral("term");
- command.addHelpChild(helpArg0, command.newHelpLiteral("all"));
- command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 1000000));
- command.addHelpChild(help, helpArg0);
- //script t <id/all>
- helpArg0 = command.newHelpLiteral("t");
- 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 addPlotHelp(command) {
- help = command.newHelp(command, "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 list <name>
- helpArg0 = command.newHelpLiteral("list");
- command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "plot.moreinfo"));
- command.addHelpChild(help, helpArg0);
- //plot flags <int> <boolean>
- //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);
- }
- 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;
- }
|