1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444 |
- function setCommandHelps() {
- cmd = command2.newHelp("fly", "fly");
- command2.addHelpArgument(cmd, command2.newHelpSpecial("Player", "player"));
- command2.addHelpArgument(cmd, command2.newHelpLiteral("wusi"));
- command2.registerHelp(cmd);
- cmd = command2.newHelp("icon", "icon");
- command2.addHelpArgument(cmd, command2.newhelpstring("gusi", false));
- command2.registerHelp(cmd);
- cmd = command2.newHelp("tp", "tp");
- command2.addHelpArgument(cmd, command2.newHelpLiteral("wusi"));
- command2.registerHelp(cmd);
- cmd = command2.newHelp("allsounds", "allsounds");
- command2.addHelpArgument(cmd, command2.newHelpInt("wusi", 0, 100));
- command2.registerHelp(cmd);
- return;
- 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("color");
- commandhelp.add("comeback");
- commandhelp.add("customitems");
- commandhelp.add("giveup");
- 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("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("sponsor");
- 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("challenges"));
- 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("loginrequests"));
- 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 showdatatypes <table>
- helpArg0 = command.newHelpLiteral("showdatatypes");
- 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");
- //allsounds start
- command.addHelpChild(help, command.newHelpLiteral("start"));
- //allsounds stop
- command.addHelpChild(help, command.newHelpLiteral("stop"));
- //allsounds play <sound>
- helpArg0 = command.newHelpLiteral("play");
- command.addHelpChild(helpArg0, command.newHelpSpecial("Sound", "sound"));
- command.addHelpChild(help, helpArg0);
- //allsounds show [page]
- helpArg0 = command.newHelpLiteral("show");
- command.addHelpChild(helpArg0, command.newHelpInt("page", 1, 200));
- command.addHelpChild(help, helpArg0);
- 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");
- addStatsGameHelp(help, "Snake");
- addStatsGameHelp(help, "DontGetAngry");
- addStatsGameHelp(help, "CaptureTheFlag");
- addStatsGameHelp(help, "Cores");
- 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("result", 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(helpArg1, command.newHelpLiteral("creativeWE"));
- 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(helpArg1, command.newHelpLiteral("notickets"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("bypass"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("altruist"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("legend"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("creativeWE"));
- 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 <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 <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 list
- helpArg0 = command.newHelpLiteral("list");
- command.addHelpChild(helpArg0, command.newHelpString("group", false, "warp.create"));
- command.addHelpChild(help, helpArg0);
- //warp <name>
- 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);
-
- //loginrequests <player/all> <amount> [reason]
- help = command.newHelp("loginrequests", "loginrequests");
- helpArg0_A = command.newHelpLiteral("all");
- helpArg0_B = command.newHelpSpecial("Player", "player");
- helpArg1 = command.newHelpInt("amount", 1, 100);
- command.addHelpChild(helpArg1, command.newHelpLiteral("ALLOWED"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("KICK_FULL"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("KICK_BANNED"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("KICK_WHITELIST"));
- command.addHelpChild(helpArg1, command.newHelpLiteral("KICK_OTHER"));
- command.addHelpChild(helpArg0_A, helpArg1);
- command.addHelpChild(helpArg0_B, helpArg1);
- command.addHelpChild(help, helpArg0_A);
- command.addHelpChild(help, helpArg0_B);
- 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 skin <name>
- helpArg0 = command.newHelpLiteral("skin");
- command.addHelpChild(helpArg0, command.newHelpLiteral("alena"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("anna"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("baker"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("banker"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("butcher"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("casino"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("dark_mage"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("diver"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("farmer"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("fisher"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("girl"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("librarian"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("lumberjack"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("mage"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("mage_assistant"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("mage_guard"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("mason"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("miner"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("notch"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("priest"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("santa_marv"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("smith"));
- command.addHelpChild(help, helpArg0);
- 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("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 backups <player>
- helpArg0 = command.newHelpLiteral("backups");
- 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");
- //sign <1-4> [text]
- helpArg0 = command.newHelpInt("1-4", 1, 4);
- command.addHelpChild(helpArg0, command.newHelpString("text", true));
- command.addHelpChild(help, helpArg0);
- //sign <copy/paste>
- command.addHelpChild(help, command.newHelpLiteral("copy"));
- command.addHelpChild(help, command.newHelpLiteral("paste"));
- 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("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
- helpArg0 = command.newHelpLiteral("info");
- command.addHelpChild(helpArg0, command.newHelpString("world", false));
- command.addHelpChild(help, helpArg0);
- //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("weather", "weather");
- //weather clear [duration]
- helpArg0 = command.newHelpLiteral("clear");
- command.addHelpChild(helpArg0, command.newHelpInt("duration", 0, 1000000));
- command.addHelpChild(help, helpArg0);
- //weather rain [duration]
- helpArg0 = command.newHelpLiteral("rain");
- command.addHelpChild(helpArg0, command.newHelpInt("duration", 0, 1000000));
- command.addHelpChild(help, helpArg0);
- //weather thunder [duration]
- helpArg0 = command.newHelpLiteral("thunder");
- command.addHelpChild(helpArg0, command.newHelpInt("duration", 0, 1000000));
- command.addHelpChild(help, helpArg0);
- 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);
-
- //A: msg <player> <message>
- //B: msg team <message>
- help = command.newHelp("msg", "msg");
- helpArg0_A = command.newHelpSpecial("Player", "player");
- helpArg0_B = command.newHelpLiteral("team");
- command.addHelpChild(helpArg0_A, command.newHelpString("message", true));
- command.addHelpChild(helpArg0_B, command.newHelpString("message", true));
- command.addHelpChild(help, helpArg0_A);
- command.addHelpChild(help, helpArg0_B);
- 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 death <message>
- helpArg0 = command.newHelpLiteral("death");
- 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("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("dev", "dev");
- //dev boost
- command.addHelpChild(help, command.newHelpLiteral("boost"));
- //dev logo
- command.addHelpChild(help, command.newHelpLiteral("logo"));
- //dev yeet <strength>
- helpArg0 = command.newHelpLiteral("yeet");
- command.addHelpChild(helpArg0, command.newHelpInt("strength", 1, 10000000000000));
- command.addHelpChild(help, helpArg0);
- //dev debug <list/clear>
- helpArg0 = command.newHelpLiteral("debug");
- command.addHelpChild(helpArg0, command.newHelpLiteral("list"));
- command.addHelpChild(helpArg0, command.newHelpLiteral("clear"));
- command.addHelpChild(help, helpArg0);
- //dev entities <world>
- helpArg0 = command.newHelpLiteral("entities");
- command.addHelpChild(helpArg0, command.newHelpString("world", false));
- command.addHelpChild(help, helpArg0);
- 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");
- helpArg1 = command.newHelpString("name", false);
- command.addHelpChild(helpArg1, command.newHelpSpecial("Player", "player", "home.other"));
- command.addHelpChild(helpArg0, helpArg1);
- 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 <value>
- helpArg0 = command.newHelpLiteral("expand");
- helpArg1 = command.newHelpInt("value", 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);
- //plot move <value>
- helpArg0 = command.newHelpLiteral("move");
- helpArg1 = command.newHelpInt("value", 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;
- }
|