u_cmdhelp.txt 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341
  1. function setCommandHelps() {
  2. command.clearHelp();
  3. command.clearIgnored();
  4. command.clearNoPerm();
  5. //Vanilla ignorieren, danach neu setzen
  6. command.addIgnored("time");
  7. command.addIgnored("tp");
  8. command.addIgnored("help");
  9. command.addIgnored("ban");
  10. command.addIgnored("kick");
  11. command.addIgnored("gamemode");
  12. command.addIgnored("gamerule");
  13. command.addIgnored("enchant");
  14. command.addIgnored("jumpto");
  15. command.addNoPerm("/br");
  16. command.addNoPerm("/brush");
  17. command.addNoPerm("/desel");
  18. command.addNoPerm("/deselect");
  19. command.addNoPerm("/sel");
  20. command.addNoPerm("/toggleplace");
  21. command.addNoPerm(";");
  22. command.addNoPerm("brush");
  23. command.addNoPerm("none");
  24. command.addNoPerm("toggleplace");
  25. command.addNoPerm("tool");
  26. command.addNoPerm("br");
  27. command.addNoPerm("icanhasbukkit");
  28. command.addNoPerm("we");
  29. command.addNoPerm("worldedit");
  30. command.addNoPerm("worldedit:we");
  31. command.addNoPerm("worldedit:worldedit");
  32. command.addNoPerm("worldedit:/br");
  33. command.addNoPerm("worldedit:/brush");
  34. command.addNoPerm("worldedit:/desel");
  35. command.addNoPerm("worldedit:/deselect");
  36. command.addNoPerm("worldedit:/sel");
  37. command.addNoPerm("worldedit:/toggleplace");
  38. command.addNoPerm("worldedit:;");
  39. command.addNoPerm("worldedit:brush");
  40. command.addNoPerm("worldedit:none");
  41. command.addNoPerm("worldedit:toggleplace");
  42. command.addNoPerm("worldedit:tool");
  43. command.addNoPerm("worldedit:br");
  44. command.addNoPerm("worldedit:icanhasbukkit");
  45. commandhelp.add("afk");
  46. commandhelp.add("back");
  47. commandhelp.add("boost");
  48. commandhelp.add("color");
  49. commandhelp.add("customitems");
  50. commandhelp.add("giveup");
  51. commandhelp.add("hack");
  52. commandhelp.add("hat");
  53. commandhelp.add("head");
  54. commandhelp.add("hub");
  55. commandhelp.add("icon");
  56. commandhelp.add("iteminfo");
  57. commandhelp.add("joinme");
  58. commandhelp.add("jumpto");
  59. commandhelp.add("lag");
  60. commandhelp.add("leave");
  61. commandhelp.add("lightning");
  62. commandhelp.add("live");
  63. commandhelp.add("logo");
  64. commandhelp.add("memory");
  65. commandhelp.add("nowb");
  66. commandhelp.add("ping");
  67. commandhelp.add("rank");
  68. commandhelp.add("repair");
  69. commandhelp.add("ride");
  70. commandhelp.add("settings");
  71. commandhelp.add("silentjoin");
  72. commandhelp.add("skipnight");
  73. commandhelp.add("startgame");
  74. commandhelp.add("top");
  75. commandhelp.add("voteshop");
  76. commandhelp.addChildPlayer("unmute");
  77. commandhelp.addChildPlayer("tpa");
  78. commandhelp.addChildPlayer("tpaccept");
  79. commandhelp.addChildPlayer("tpahere");
  80. commandhelp.addChildPlayer("tpaccepthere");
  81. commandhelp.addChildPlayer("head");
  82. commandhelp.addChildPlayer("seen");
  83. commandhelp.addChildPlayer("heal");
  84. commandhelp.addChildPlayer("feed");
  85. command.addHelp(command.newHelp("colour", "color"));
  86. command.addHelp(command.newHelp("fuckit", "giveup"));
  87. command.addHelp(command.newHelp("skull", "head"));
  88. command.addHelp(command.newHelp("l", "leave"));
  89. command.addHelp(command.newHelp("mem", "memory"));
  90. command.addHelp(command.newHelp("ram", "memory"));
  91. command.addHelp(command.newHelp("thor", "lightning"));
  92. help = command.newHelp("start", "start");
  93. command.addHelpChild(help, command.newHelpLiteral("ai"));
  94. command.addHelpChild(help, command.newHelpLiteral("chat"));
  95. command.addHelpChild(help, command.newHelpLiteral("commands"));
  96. command.addHelpChild(help, command.newHelpLiteral("copyisland"));
  97. command.addHelpChild(help, command.newHelpLiteral("creative"));
  98. command.addHelpChild(help, command.newHelpLiteral("damage"));
  99. command.addHelpChild(help, command.newHelpLiteral("doors"));
  100. command.addHelpChild(help, command.newHelpLiteral("fixitems"));
  101. command.addHelpChild(help, command.newHelpLiteral("gemstones"));
  102. command.addHelpChild(help, command.newHelpLiteral("harvest"));
  103. command.addHelpChild(help, command.newHelpLiteral("herobrine"));
  104. command.addHelpChild(help, command.newHelpLiteral("humans"));
  105. command.addHelpChild(help, command.newHelpLiteral("lectern"));
  106. command.addHelpChild(help, command.newHelpLiteral("loom"));
  107. command.addHelpChild(help, command.newHelpLiteral("games"));
  108. command.addHelpChild(help, command.newHelpLiteral("mails"));
  109. command.addHelpChild(help, command.newHelpLiteral("market"));
  110. command.addHelpChild(help, command.newHelpLiteral("mobarena"));
  111. command.addHelpChild(help, command.newHelpLiteral("perms"));
  112. command.addHelpChild(help, command.newHelpLiteral("playerdata"));
  113. command.addHelpChild(help, command.newHelpLiteral("playtime"));
  114. command.addHelpChild(help, command.newHelpLiteral("pumpkin"));
  115. command.addHelpChild(help, command.newHelpLiteral("recipes"));
  116. command.addHelpChild(help, command.newHelpLiteral("scheduler"));
  117. command.addHelpChild(help, command.newHelpLiteral("shop"));
  118. command.addHelpChild(help, command.newHelpLiteral("sitting"));
  119. command.addHelpChild(help, command.newHelpLiteral("skills"));
  120. command.addHelpChild(help, command.newHelpLiteral("stats"));
  121. command.addHelpChild(help, command.newHelpLiteral("story"));
  122. command.addHelpChild(help, command.newHelpLiteral("survival"));
  123. command.addHelpChild(help, command.newHelpLiteral("teleporter"));
  124. command.addHelpChild(help, command.newHelpLiteral("ticket"));
  125. command.addHelpChild(help, command.newHelpLiteral("timber"));
  126. command.addHelpChild(help, command.newHelpLiteral("tiploop"));
  127. command.addHelpChild(help, command.newHelpLiteral("trader"));
  128. command.addHelp(help);
  129. addGmHelp("gamemode");
  130. addGmHelp("gm");
  131. addAsHelp("armorstand");
  132. addAsHelp("as");
  133. help = command.newHelp("vanish", "vanish");
  134. //vanish [on] [player]
  135. helpArg0 = command.newHelpLiteral("on");
  136. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  137. command.addHelpChild(help, helpArg0);
  138. //vanish [off] [player]
  139. helpArg0 = command.newHelpLiteral("off");
  140. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  141. command.addHelpChild(help, helpArg0);
  142. command.addHelp(help);
  143. commandhelp.addAlias("v", "vanish", helpArg0);
  144. help = command.newHelp("databank", "databank");
  145. //databank showtables
  146. command.addHelpChild(help, command.newHelpLiteral("showtables"));
  147. //databank showfields <table>
  148. helpArg0 = command.newHelpLiteral("showfields");
  149. command.addHelpChild(helpArg0, command.newHelpString("table", false));
  150. command.addHelpChild(help, helpArg0);
  151. //databank showdataypes <table>
  152. helpArg0 = command.newHelpLiteral("showdataypes");
  153. command.addHelpChild(helpArg0, command.newHelpString("table", false));
  154. command.addHelpChild(help, helpArg0);
  155. command.addHelp(help);
  156. help = command.newHelp("copyisland", "copyisland");
  157. //copyisland copy/paste
  158. command.addHelpChild(help, command.newHelpLiteral("copy"));
  159. command.addHelpChild(help, command.newHelpLiteral("paste"));
  160. //copyisland pos1/pos2
  161. command.addHelpChild(help, command.newHelpLiteral("pos1"));
  162. command.addHelpChild(help, command.newHelpLiteral("pos2"));
  163. command.addHelp(help);
  164. help = command.newHelp("fly", "fly");
  165. helpArg0 = command.newHelpSpecial("Player", "player", "fly.other");
  166. command.addHelpChild(helpArg0, command.newHelpLiteral("on"));
  167. command.addHelpChild(helpArg0, command.newHelpLiteral("off"));
  168. command.addHelpChild(help, helpArg0);
  169. command.addHelp(help);
  170. help = command.newHelp("enchant", "enchant");
  171. helpArg0 = command.newHelpSpecial("Enchantment", "enchantment");
  172. command.addHelpChild(helpArg0, command.newHelpInt("level", 0, 100));
  173. command.addHelpChild(help, helpArg0);
  174. command.addHelp(help);
  175. help = command.newHelp("allsounds", "allsounds");
  176. command.addHelpChild(help, command.newHelpLiteral("start"));
  177. command.addHelpChild(help, command.newHelpLiteral("stop"));
  178. command.addHelp(help);
  179. help = command.newHelp("spawn", "spawn");
  180. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
  181. command.addHelp(help);
  182. help = command.newHelp("games", "games");
  183. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
  184. command.addHelp(help);
  185. help = command.newHelp("creative", "creative");
  186. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "tp.other"));
  187. command.addHelp(help);
  188. help = command.newHelp("ass", "ass");
  189. //ass set <name>
  190. helpArg0 = command.newHelpLiteral("set");
  191. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  192. command.addHelpChild(help, helpArg0);
  193. //ass name <name>
  194. helpArg0 = command.newHelpLiteral("name");
  195. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  196. command.addHelpChild(help, helpArg0);
  197. //ass remove <radius>
  198. helpArg0 = command.newHelpLiteral("remove");
  199. command.addHelpChild(helpArg0, command.newHelpInt("radius", 0, 10));
  200. command.addHelpChild(help, helpArg0);
  201. command.addHelp(help);
  202. help = command.newHelp("tppos", "tppos");
  203. helpArg0 = command.newHelpInt("x", -32000, 32000);
  204. helpArg1 = command.newHelpInt("y", 0, 1000);
  205. helpArg2 = command.newHelpInt("z", -32000, 32000);
  206. helpArg3 = command.newHelpString("world", false);
  207. helpArg4 = command.newHelpSpecial("Player", "player");
  208. command.addHelpChild(helpArg3, helpArg4);
  209. command.addHelpChild(helpArg2, helpArg3);
  210. command.addHelpChild(helpArg1, helpArg2);
  211. command.addHelpChild(helpArg0, helpArg1);
  212. command.addHelpChild(help, helpArg0);
  213. command.addHelp(help);
  214. help = command.newHelp("stats", "stats");
  215. addStatsGameHelp(help, "AmongUs");
  216. addStatsGameHelp(help, "BedWars");
  217. addStatsGameHelp(help, "RageMode");
  218. addStatsGameHelp(help, "JR-Endless");
  219. addStatsGameHelp(help, "Rebuild");
  220. addStatsGameHelp(help, "FastBridge");
  221. addStatsGameHelp(help, "Snowfight");
  222. addStatsGameHelp(help, "JR-Death");
  223. addStatsGameHelp(help, "JR-Ice");
  224. addStatsGameHelp(help, "JR-Rooms");
  225. addStatsGameHelp(help, "Letters");
  226. addStatsGameHelp(help, "ItemHunt");
  227. addStatsGameHelp(help, "Sammelfieber");
  228. addStatsGameHelp(help, "Buttons");
  229. addStatsGameHelp(help, "HideAndSeek");
  230. addStatsGameHelp(help, "Inverting");
  231. addStatsGameHelp(help, "Spleef");
  232. addStatsGameHelp(help, "Knockfight");
  233. addStatsGameHelp(help, "Leapfrog");
  234. addStatsGameHelp(help, "Parcour");
  235. addStatsGameHelp(help, "Halma");
  236. addStatsGameHelp(help, "ShoppingChaos");
  237. addStatsGameHelp(help, "MengerRun");
  238. command.addHelp(help);
  239. help = command.newHelp("setspawn", "setspawn");
  240. command.addHelpChild(help, command.newHelpLiteral("server"));
  241. command.addHelpChild(help, command.newHelpLiteral("games"));
  242. command.addHelpChild(help, command.newHelpLiteral("creative"));
  243. command.addHelp(help);
  244. addDtHelp("datatools");
  245. addDtHelp("dt");
  246. help = command.newHelp("help", "help");
  247. helpArg0 = command.newHelpInt("page", 1, 100);
  248. command.addHelpChild(help, helpArg0);
  249. command.addHelp(help);
  250. commandhelp.addAlias("mimimi", "help", helpArg0);
  251. help = command.newHelp("suicide", "suicide");
  252. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "suicide.other"));
  253. command.addHelp(help);
  254. help = command.newHelp("tempfly", "tempfly");
  255. helpArg0 = command.newHelpSpecial("Player", "player");
  256. command.addHelpChild(helpArg0, command.newHelpInt("seconds", 1, 10000));
  257. command.addHelpChild(help, helpArg0);
  258. command.addHelp(help);
  259. help = command.newHelp("tempban", "tempban");
  260. helpArg0 = command.newHelpSpecial("Player", "player");
  261. helpArg1 = command.newHelpInt("days", 0, 365);
  262. helpArg2 = command.newHelpInt("hours", 0, 100);
  263. helpArg3 = command.newHelpInt("minutes", 0, 100);
  264. command.addHelpChild(helpArg3, command.newHelpString("reason", true));
  265. command.addHelpChild(helpArg2, helpArg3);
  266. command.addHelpChild(helpArg1, helpArg2);
  267. command.addHelpChild(helpArg0, helpArg1);
  268. command.addHelpChild(help, helpArg0);
  269. command.addHelp(help);
  270. help = command.newHelp("unban", "unban");
  271. helpArg0 = command.newHelpSpecial("Player", "player");
  272. command.addHelpChild(help, helpArg0);
  273. command.addHelp(help);
  274. commandhelp.addAlias("pardon", "unban", helpArg0);
  275. help = command.newHelp("ban", "ban");
  276. helpArg0 = command.newHelpSpecial("Player", "player");
  277. command.addHelpChild(helpArg0, command.newHelpString("reason", true));
  278. command.addHelpChild(help, helpArg0);
  279. command.addHelp(help);
  280. help = command.newHelp("kick", "kick");
  281. helpArg0 = command.newHelpSpecial("Player", "player");
  282. command.addHelpChild(helpArg0, command.newHelpString("reason", true));
  283. command.addHelpChild(help, helpArg0);
  284. command.addHelp(help);
  285. help = command.newHelp("answer", "answer");
  286. helpArg0 = command.newHelpString("message", true);
  287. command.addHelpChild(help, helpArg0);
  288. command.addHelp(help);
  289. commandhelp.addAlias("r", "answer", helpArg0);
  290. help = command.newHelp("time", "time");
  291. //time set <time>
  292. helpArg0 = command.newHelpLiteral("set");
  293. command.addHelpChild(helpArg0, command.newHelpInt("time", 0, 100000));
  294. command.addHelpChild(help, helpArg0);
  295. //time add <time>
  296. helpArg0 = command.newHelpLiteral("add");
  297. command.addHelpChild(helpArg0, command.newHelpInt("time", 0, 100000));
  298. command.addHelpChild(help, helpArg0);
  299. //time day / noon / night / midnight
  300. command.addHelpChild(help, command.newHelpLiteral("day"));
  301. command.addHelpChild(help, command.newHelpLiteral("noon"));
  302. command.addHelpChild(help, command.newHelpLiteral("night"));
  303. command.addHelpChild(help, command.newHelpLiteral("midnight"));
  304. command.addHelp(help);
  305. help = command.newHelp("enderchest", "enderchest");
  306. //enderchest [player] <from-player>
  307. helpArg0 = command.newHelpSpecial("Player", "player");
  308. command.addHelpChild(helpArg0, command.newHelpString("from-player", false));
  309. command.addHelpChild(help, helpArg0);
  310. //enderchest [player] <from-player>
  311. command.addHelpChild(help, command.newHelpString("from-player", false));
  312. command.addHelp(help);
  313. help = command.newHelp("nickname", "nickname");
  314. command.addHelpChild(help, command.newHelpString("name", true));
  315. command.addHelpChild(help, command.newHelpLiteral("remove"));
  316. command.addHelp(help);
  317. help = command.newHelp("perm", "perm");
  318. //perm give <player> <perm>
  319. helpArg0 = command.newHelpLiteral("give", "perm.give");
  320. helpArg1 = command.newHelpSpecial("Player", "player");
  321. command.addHelpChild(helpArg1, command.newHelpLiteral("owner", "isOwner"));
  322. command.addHelpChild(helpArg1, command.newHelpLiteral("admin", "isAdmin"));
  323. command.addHelpChild(helpArg1, command.newHelpLiteral("moderator", "isAdmin"));
  324. command.addHelpChild(helpArg1, command.newHelpLiteral("supporter"));
  325. command.addHelpChild(helpArg1, command.newHelpLiteral("builder"));
  326. command.addHelpChild(helpArg1, command.newHelpLiteral("worldedit"));
  327. command.addHelpChild(helpArg1, command.newHelpLiteral("vip"));
  328. command.addHelpChild(helpArg1, command.newHelpLiteral("developer"));
  329. command.addHelpChild(helpArg1, command.newHelpLiteral("devmaster"));
  330. command.addHelpChild(helpArg1, command.newHelpLiteral("yt"));
  331. command.addHelpChild(helpArg1, command.newHelpLiteral("streamer"));
  332. command.addHelpChild(helpArg1, command.newHelpLiteral("sponsor"));
  333. command.addHelpChild(helpArg1, command.newHelpLiteral("creative"));
  334. command.addHelpChild(helpArg1, command.newHelpLiteral("notickets"));
  335. command.addHelpChild(helpArg1, command.newHelpLiteral("bypass"));
  336. command.addHelpChild(helpArg1, command.newHelpLiteral("altruist"));
  337. command.addHelpChild(helpArg1, command.newHelpLiteral("legend"));
  338. command.addHelpChild(helpArg0, helpArg1);
  339. command.addHelpChild(help, helpArg0);
  340. //perm remove <player> <perm>
  341. helpArg0 = command.newHelpLiteral("remove", "perm.remove");
  342. helpArg1 = command.newHelpSpecial("Player", "player");
  343. command.addHelpChild(helpArg1, command.newHelpLiteral("owner", "isOwner"));
  344. command.addHelpChild(helpArg1, command.newHelpLiteral("admin", "isAdmin"));
  345. command.addHelpChild(helpArg1, command.newHelpLiteral("moderator", "isAdmin"));
  346. command.addHelpChild(helpArg1, command.newHelpLiteral("supporter"));
  347. command.addHelpChild(helpArg1, command.newHelpLiteral("builder"));
  348. command.addHelpChild(helpArg1, command.newHelpLiteral("worldedit"));
  349. command.addHelpChild(helpArg1, command.newHelpLiteral("vip"));
  350. command.addHelpChild(helpArg1, command.newHelpLiteral("developer"));
  351. command.addHelpChild(helpArg1, command.newHelpLiteral("devmaster"));
  352. command.addHelpChild(helpArg1, command.newHelpLiteral("yt"));
  353. command.addHelpChild(helpArg1, command.newHelpLiteral("streamer"));
  354. command.addHelpChild(helpArg1, command.newHelpLiteral("sponsor"));
  355. command.addHelpChild(helpArg1, command.newHelpLiteral("creative"));
  356. command.addHelpChild(helpArg0, helpArg1);
  357. command.addHelpChild(help, helpArg0);
  358. //perm removeall <player>
  359. helpArg0 = command.newHelpLiteral("removeall", "perm.removeall");
  360. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  361. command.addHelpChild(help, helpArg0);
  362. //perm list <player>
  363. helpArg0 = command.newHelpLiteral("list", "perm.list");
  364. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  365. command.addHelpChild(help, helpArg0);
  366. //perm toggle
  367. command.addHelpChild(help, command.newHelpLiteral("toggle", "perm.toggle"));
  368. command.addHelp(help);
  369. addScriptHelp("s");
  370. addScriptHelp("script");
  371. addHomeHelp("home");
  372. addHomeHelp("h");
  373. help = command.newHelp("block", "block");
  374. //block info
  375. command.addHelpChild(help, command.newHelpLiteral("info"));
  376. //block public
  377. command.addHelpChild(help, command.newHelpLiteral("public"));
  378. //block remove
  379. command.addHelpChild(help, command.newHelpLiteral("remove"));
  380. //block fix
  381. command.addHelpChild(help, command.newHelpLiteral("fix"));
  382. command.addHelp(help);
  383. addPlotHelp("plot");
  384. addPlotHelp("p");
  385. help = command.newHelp("warp", "warp");
  386. //warp set [group] <name>
  387. helpArg0 = command.newHelpLiteral("set", "warp.create");
  388. command.addHelpChild(helpArg0, command.newHelpString("name", false, "warp.create"));
  389. helpArg1 = command.newHelpString("group", false, "warp.create");
  390. command.addHelpChild(helpArg1, command.newHelpString("name", false, "warp.create"));
  391. command.addHelpChild(helpArg0, helpArg1);
  392. command.addHelpChild(help, helpArg0);
  393. //warp delete [group] <name>
  394. helpArg0 = command.newHelpLiteral("delete", "warp.create");
  395. command.addHelpChild(helpArg0, command.newHelpString("name", false, "warp.create"));
  396. helpArg1 = command.newHelpString("group", false, "warp.create");
  397. command.addHelpChild(helpArg1, command.newHelpString("name", false, "warp.create"));
  398. command.addHelpChild(helpArg0, helpArg1);
  399. command.addHelpChild(help, helpArg0);
  400. //warp groups
  401. command.addHelpChild(help, command.newHelpLiteral("groups", "warp.create"));
  402. //warp list [group]
  403. helpArg0 = command.newHelpLiteral("list");
  404. command.addHelpChild(helpArg0, command.newHelpString("group", false, "warp.create"));
  405. command.addHelpChild(help, helpArg0);
  406. //warp [group] <name>
  407. helpArg0 = command.newHelpString("name", false);
  408. command.addHelpChild(help, helpArg0);
  409. helpArg0 = command.newHelpString("group", false, "warp.create");
  410. command.addHelpChild(helpArg0, command.newHelpString("name", false));
  411. command.addHelpChild(help, helpArg0);
  412. command.addHelp(help);
  413. help = command.newHelp("tp", "tp");
  414. helpArg0 = command.newHelpSpecial("Player", "player");
  415. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "to-player", "tp.other"));
  416. command.addHelpChild(help, helpArg0);
  417. command.addHelp(help);
  418. help = command.newHelp("lastseen", "lastseen");
  419. command.addHelpChild(help, command.newHelpInt("amount", 1, 100));
  420. command.addHelp(help);
  421. help = command.newHelp("human", "human");
  422. //human spawn
  423. helpArg0 = command.newHelpLiteral("spawn");
  424. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  425. command.addHelpChild(help, helpArg0);
  426. //human set <name>
  427. helpArg0 = command.newHelpLiteral("set");
  428. command.addHelpChild(helpArg0, command.newHelpString("uuid", false));
  429. command.addHelpChild(help, helpArg0);
  430. //human skin <name>
  431. helpArg0 = command.newHelpLiteral("skin");
  432. command.addHelpChild(helpArg0, command.newHelpString("skinname", false));
  433. command.addHelpChild(help, helpArg0);
  434. //human name
  435. helpArg0 = command.newHelpLiteral("name");
  436. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  437. command.addHelpChild(help, helpArg0);
  438. //human move <true/fals>
  439. helpArg0 = command.newHelpLiteral("move");
  440. command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
  441. command.addHelpChild(help, helpArg0);
  442. //human ai <value>
  443. helpArg0 = command.newHelpLiteral("ai");
  444. command.addHelpChild(helpArg0, command.newHelpInt("value", 0, 20));
  445. command.addHelpChild(help, helpArg0);
  446. //human kill
  447. command.addHelpChild(help, command.newHelpLiteral("remove"));
  448. command.addHelp(help);
  449. help = command.newHelp("mail", "mail");
  450. //mail <player> <message>
  451. helpArg0 = command.newHelpSpecial("Player", "player");
  452. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  453. command.addHelpChild(help, helpArg0);
  454. //mail new
  455. command.addHelpChild(help, command.newHelpLiteral("new"));
  456. //mail inbox
  457. command.addHelpChild(help, command.newHelpLiteral("inbox"));
  458. //mail outbox
  459. command.addHelpChild(help, command.newHelpLiteral("outbox"));
  460. //mail reset
  461. command.addHelpChild(help, command.newHelpLiteral("reset", "mail.reset"));
  462. command.addHelp(help);
  463. help = command.newHelp("entities", "entities");
  464. command.addHelpChild(help, command.newHelpString("world", false));
  465. command.addHelp(help);
  466. help = command.newHelp("playtime", "playtime");
  467. //playtime [player]
  468. command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
  469. //playtime all
  470. command.addHelpChild(help, command.newHelpLiteral("all"));
  471. //playtime month [1-12] [year]
  472. helpArg0 = command.newHelpLiteral("month");
  473. helpArg1 = command.newHelpInt("month", 1, 12);
  474. command.addHelpChild(helpArg1, command.newHelpInt("year", 2019, 2024));
  475. command.addHelpChild(helpArg0, helpArg1);
  476. command.addHelpChild(help, helpArg0);
  477. //playtime year [year]
  478. helpArg0 = command.newHelpLiteral("year");
  479. command.addHelpChild(helpArg0, command.newHelpInt("year", 2019, 2024));
  480. command.addHelpChild(help, helpArg0);
  481. command.addHelp(help);
  482. help = command.newHelp("user", "user");
  483. //user info <player>
  484. helpArg0 = command.newHelpLiteral("info");
  485. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "user.other"));
  486. command.addHelpChild(help, helpArg0);
  487. //user addmoney <player> <money>
  488. helpArg0 = command.newHelpLiteral("addmoney", "user.money");
  489. helpArg1 = command.newHelpSpecial("Player", "player", "user.money");
  490. command.addHelpChild(helpArg1, command.newHelpInt("money", -10000000, 10000000));
  491. command.addHelpChild(helpArg0, helpArg1);
  492. command.addHelpChild(help, helpArg0);
  493. //user setmoney <player> <money>
  494. helpArg0 = command.newHelpLiteral("setmoney", "user.money");
  495. helpArg1 = command.newHelpSpecial("Player", "player", "user.money");
  496. command.addHelpChild(helpArg1, command.newHelpInt("money", -10000000, 10000000));
  497. command.addHelpChild(helpArg0, helpArg1);
  498. command.addHelpChild(help, helpArg0);
  499. command.addHelp(help);
  500. help = command.newHelp("skills", "skills");
  501. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "user.other"));
  502. command.addHelp(help);
  503. help = command.newHelp("grow", "grow");
  504. command.addHelpChild(help, command.newHelpInt("int", 0, 1000));
  505. command.addHelp(help);
  506. help = command.newHelp("news", "news");
  507. command.addHelpChild(help, command.newHelpString("text", true));
  508. command.addHelp(help);
  509. help = command.newHelp("inv", "inv");
  510. //inv ignore
  511. command.addHelpChild(help, command.newHelpLiteral("ignore"));
  512. //inv see <player>
  513. helpArg0 = command.newHelpLiteral("see");
  514. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  515. command.addHelpChild(help, helpArg0);
  516. //inv reload <player>
  517. helpArg0 = command.newHelpLiteral("reload");
  518. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  519. command.addHelpChild(help, helpArg0);
  520. //inv loadFrom <player> <world>
  521. helpArg0 = command.newHelpLiteral("loadFrom");
  522. helpArg1 = command.newHelpSpecial("Player", "player");
  523. command.addHelpChild(helpArg1, command.newHelpString("world", false));
  524. command.addHelpChild(helpArg0, helpArg1);
  525. command.addHelpChild(help, helpArg0);
  526. //inv saveFor <player> <world>
  527. helpArg0 = command.newHelpLiteral("saveFor");
  528. helpArg1 = command.newHelpSpecial("Player", "player");
  529. command.addHelpChild(helpArg1, command.newHelpString("world", false));
  530. command.addHelpChild(helpArg0, helpArg1);
  531. command.addHelpChild(help, helpArg0);
  532. command.addHelp(help);
  533. help = command.newHelp("warn", "warn");
  534. command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
  535. command.addHelp(help);
  536. help = command.newHelp("jail", "jail");
  537. command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
  538. command.addHelp(help);
  539. help = command.newHelp("unjail", "unjail");
  540. command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
  541. command.addHelp(help);
  542. help = command.newHelp("friend", "friend");
  543. //friend add <player>
  544. helpArg0 = command.newHelpLiteral("add");
  545. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  546. command.addHelpChild(help, helpArg0);
  547. //friend remove <player>
  548. helpArg0 = command.newHelpLiteral("remove");
  549. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  550. command.addHelpChild(help, helpArg0);
  551. //friend list
  552. command.addHelpChild(help, command.newHelpLiteral("list"));
  553. command.addHelp(help);
  554. help = command.newHelp("sign", "sign");
  555. helpArg0 = command.newHelpInt("1-4", 1, 4);
  556. command.addHelpChild(helpArg0, command.newHelpString("text", true));
  557. command.addHelpChild(help, helpArg0);
  558. command.addHelp(help);
  559. help = command.newHelp("speed", "speed");
  560. helpArg0 = command.newHelpInt("int", 1, 10);
  561. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "speed.other"));
  562. command.addHelpChild(help, helpArg0);
  563. command.addHelp(help);
  564. help = command.newHelp("errordebug", "errordebug");
  565. command.addHelpChild(help, command.newHelpLiteral("list"));
  566. command.addHelpChild(help, command.newHelpLiteral("clear"));
  567. command.addHelp(help);
  568. help = command.newHelp("error", "error");
  569. command.addHelpChild(help, command.newHelpLiteral("list"));
  570. command.addHelpChild(help, command.newHelpLiteral("clear"));
  571. command.addHelp(help);
  572. help = command.newHelp("mailbox", "mailbox");
  573. //mailbox show <player>
  574. helpArg0 = command.newHelpLiteral("show");
  575. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "mailbox.other"));
  576. command.addHelpChild(help, helpArg0);
  577. //mailbox send <player>
  578. helpArg0 = command.newHelpLiteral("send");
  579. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  580. command.addHelpChild(help, helpArg0);
  581. command.addHelp(help);
  582. help = command.newHelp("world", "world");
  583. //world info
  584. command.addHelpChild(help, command.newHelpLiteral("info"));
  585. //world tp <world> [player]
  586. helpArg0 = command.newHelpLiteral("tp");
  587. helpArg1 = command.newHelpString("world", false);
  588. command.addHelpChild(helpArg1, command.newHelpSpecial("Player", "player"));
  589. command.addHelpChild(helpArg0, helpArg1);
  590. command.addHelpChild(help, helpArg0);
  591. //world list
  592. command.addHelpChild(help, command.newHelpLiteral("list"));
  593. //world diffi <world> <diffi>
  594. helpArg0 = command.newHelpLiteral("diffi");
  595. helpArg1 = command.newHelpString("world", false);
  596. command.addHelpChild(helpArg1, command.newHelpLiteral("PEACEFUL"));
  597. command.addHelpChild(helpArg1, command.newHelpLiteral("EASY"));
  598. command.addHelpChild(helpArg1, command.newHelpLiteral("NORMAL"));
  599. command.addHelpChild(helpArg1, command.newHelpLiteral("HARD"));
  600. command.addHelpChild(helpArg0, helpArg1);
  601. command.addHelpChild(help, helpArg0);
  602. //world setspawn
  603. helpArg0 = command.newHelpLiteral("setspawn");
  604. command.addHelpChild(help, helpArg0);
  605. command.addHelp(help);
  606. help = command.newHelp("quest", "quest");
  607. //quest see
  608. command.addHelpChild(help, command.newHelpLiteral("see"));
  609. //quest term <player>
  610. helpArg0 = command.newHelpLiteral("term");
  611. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  612. command.addHelpChild(help, helpArg0);
  613. command.addHelp(help);
  614. help = command.newHelp("pvp", "pvp");
  615. helpArg0 = command.newHelpLiteral("on");
  616. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "pvp.other"));
  617. command.addHelpChild(help, helpArg0);
  618. helpArg0 = command.newHelpLiteral("off");
  619. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "pvp.other"));
  620. command.addHelpChild(help, helpArg0);
  621. command.addHelp(help);
  622. help = command.newHelp("game", "game");
  623. command.addHelpChild(help, command.newHelpLiteral("open"));
  624. command.addHelpChild(help, command.newHelpLiteral("close"));
  625. command.addHelp(help);
  626. help = command.newHelp("party", "party");
  627. //party invite <player>
  628. helpArg0 = command.newHelpLiteral("invite");
  629. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  630. command.addHelpChild(help, helpArg0);
  631. //party accept <player>
  632. helpArg0 = command.newHelpLiteral("accept");
  633. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  634. command.addHelpChild(help, helpArg0);
  635. //party deny <player>
  636. helpArg0 = command.newHelpLiteral("deny");
  637. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  638. command.addHelpChild(help, helpArg0);
  639. //party kick <player>
  640. helpArg0 = command.newHelpLiteral("kick");
  641. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  642. command.addHelpChild(help, helpArg0);
  643. //party leave
  644. command.addHelpChild(help, command.newHelpLiteral("leave"));
  645. //party promote <player>
  646. helpArg0 = command.newHelpLiteral("promote");
  647. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  648. command.addHelpChild(help, helpArg0);
  649. //party demote <player>
  650. helpArg0 = command.newHelpLiteral("demote");
  651. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  652. command.addHelpChild(help, helpArg0);
  653. //party disband
  654. command.addHelpChild(help, command.newHelpLiteral("disband"));
  655. //party list
  656. command.addHelpChild(help, command.newHelpLiteral("list"));
  657. command.addHelp(help);
  658. help = command.newHelp("var", "var");
  659. helpArg0 = command.newHelpInt("id", 0, 1000000);
  660. command.addHelpChild(helpArg0, command.newHelpString("varname", false));
  661. command.addHelpChild(help, helpArg0);
  662. command.addHelp(help);
  663. help = command.newHelp("msg", "msg");
  664. helpArg0 = command.newHelpSpecial("Player", "player");
  665. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  666. command.addHelpChild(help, helpArg0);
  667. command.addHelp(help);
  668. help = command.newHelp("setservermessage", "setservermessage");
  669. command.addHelpChild(help, command.newHelpString("message", true));
  670. command.addHelp(help);
  671. help = command.newHelp("gamerule", "gamerule");
  672. addGameRuleBoolean(help, "announceAdvancements");
  673. addGameRuleBoolean(help, "commandBlockOutput");
  674. addGameRuleBoolean(help, "disableElytraMovementCheck");
  675. addGameRuleBoolean(help, "disableRaids");
  676. addGameRuleBoolean(help, "doDaylightCycle");
  677. addGameRuleBoolean(help, "doEntityDrops");
  678. addGameRuleBoolean(help, "doFireTick");
  679. addGameRuleBoolean(help, "doInsomnia");
  680. addGameRuleBoolean(help, "doImmediateRespawn");
  681. addGameRuleBoolean(help, "doLimitedCrafting");
  682. addGameRuleBoolean(help, "doMobLoot");
  683. addGameRuleBoolean(help, "doMobSpawning");
  684. addGameRuleBoolean(help, "doPatrolSpawning");
  685. addGameRuleBoolean(help, "doTileDrops");
  686. addGameRuleBoolean(help, "doTraderSpawning");
  687. addGameRuleBoolean(help, "doWeatherCycle");
  688. addGameRuleBoolean(help, "drowningDamage");
  689. addGameRuleBoolean(help, "fallDamage");
  690. addGameRuleBoolean(help, "fireDamage");
  691. addGameRuleBoolean(help, "forgiveDeadPlayers");
  692. addGameRuleBoolean(help, "freezeDamage");
  693. addGameRuleBoolean(help, "keepInventory");
  694. addGameRuleBoolean(help, "logAdminCommands");
  695. addGameRuleInt(help, "maxCommandChainLength", 0, 100000);
  696. addGameRuleInt(help, "maxEntityCramming", 0, 100);
  697. addGameRuleBoolean(help, "mobGriefing");
  698. addGameRuleInt(help, "playersSleepingPercentage", 0, 100);
  699. addGameRuleInt(help, "randomTickSpeed", 0, 4096);
  700. addGameRuleBoolean(help, "reducedDebugInfo");
  701. addGameRuleBoolean(help, "respawnBlocksExplode");
  702. addGameRuleBoolean(help, "sendCommandFeedback");
  703. addGameRuleBoolean(help, "showDeathMessages");
  704. addGameRuleBoolean(help, "spawnRadius");
  705. addGameRuleBoolean(help, "spectatorsGenerateChunks");
  706. addGameRuleBoolean(help, "universalAnger");
  707. command.addHelp(help);
  708. help = command.newHelp("potion", "potion");
  709. helpArg1 = command.newHelpInt("duration", 0, 10000);
  710. command.addHelpChild(helpArg1, command.newHelpInt("power", 0, 50));
  711. list = getPotionTypes();
  712. iter = iterator(list);
  713. while(hasNext(iter)) {
  714. potion_name = next(iter);
  715. addPotionName(help, helpArg1, potion_name);
  716. }
  717. command.addHelp(help);
  718. help = command.newHelp("clan", "clan");
  719. //clan invite <name>
  720. helpArg0 = command.newHelpLiteral("invite");
  721. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  722. command.addHelpChild(help, helpArg0);
  723. //clan accept <id/name/tag>
  724. helpArg0 = command.newHelpLiteral("invite");
  725. command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 500));
  726. command.addHelpChild(helpArg0, command.newHelpString("name", false));
  727. command.addHelpChild(helpArg0, command.newHelpString("tag", false));
  728. command.addHelpChild(help, helpArg0);
  729. //clan info [id/name/tag]
  730. helpArg0 = command.newHelpLiteral("info");
  731. command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 500));
  732. command.addHelpChild(helpArg0, command.newHelpString("name", false));
  733. command.addHelpChild(helpArg0, command.newHelpString("tag", false));
  734. command.addHelpChild(help, helpArg0);
  735. //clan create <name> <tag>
  736. helpArg0 = command.newHelpLiteral("create");
  737. helpArg1 = command.newHelpString("name", false);
  738. command.addHelpChild(helpArg1, command.newHelpString("false", false));
  739. command.addHelpChild(helpArg0, helpArg1);
  740. command.addHelpChild(help, helpArg0);
  741. //clan kick <name>
  742. helpArg0 = command.newHelpLiteral("kick");
  743. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  744. command.addHelpChild(help, helpArg0);
  745. //clan leader <name>
  746. helpArg0 = command.newHelpLiteral("leader");
  747. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  748. command.addHelpChild(help, helpArg0);
  749. //clan mod <name>
  750. helpArg0 = command.newHelpLiteral("mod");
  751. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  752. command.addHelpChild(help, helpArg0);
  753. //clan degrade <name>
  754. helpArg0 = command.newHelpLiteral("degrade");
  755. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  756. command.addHelpChild(help, helpArg0);
  757. //clan leave
  758. command.addHelpChild(help, command.newHelpLiteral("leave"));
  759. //clan rename <name> <tag>
  760. helpArg0 = command.newHelpLiteral("rename");
  761. helpArg1 = command.newHelpString("name", false);
  762. command.addHelpChild(helpArg1, command.newHelpString("false", false));
  763. command.addHelpChild(helpArg0, helpArg1);
  764. command.addHelpChild(help, helpArg0);
  765. //clan disband
  766. command.addHelpChild(help, command.newHelpLiteral("disband"));
  767. //clan msg <message>
  768. helpArg0 = command.newHelpLiteral("msg");
  769. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  770. command.addHelpChild(help, helpArg0);
  771. //clan mail <message>
  772. helpArg0 = command.newHelpLiteral("mail");
  773. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  774. command.addHelpChild(help, helpArg0);
  775. //clan shout <message>
  776. helpArg0 = command.newHelpLiteral("shout");
  777. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  778. command.addHelpChild(help, helpArg0);
  779. //clan deposit <money>
  780. helpArg0 = command.newHelpLiteral("deposit");
  781. command.addHelpChild(helpArg0, command.newHelpInt("money", 0, 1000));
  782. command.addHelpChild(help, helpArg0);
  783. //clan withdraw <money>
  784. helpArg0 = command.newHelpLiteral("withdraw");
  785. command.addHelpChild(helpArg0, command.newHelpInt("money", 0, 1000));
  786. command.addHelpChild(help, helpArg0);
  787. //clan party
  788. command.addHelpChild(help, command.newHelpLiteral("party"));
  789. //clan setspawn
  790. command.addHelpChild(help, command.newHelpLiteral("setspawn"));
  791. //clan spawn
  792. command.addHelpChild(help, command.newHelpLiteral("spawn"));
  793. //clan list
  794. command.addHelpChild(help, command.newHelpLiteral("list"));
  795. command.addHelp(help);
  796. help = command.newHelp("shop", "shop");
  797. //shop create
  798. command.addHelpChild(help, command.newHelpLiteral("create"));
  799. //shop remove
  800. helpArg0 = command.newHelpLiteral("remove");
  801. command.addHelpChild(helpArg0, command.newHelpLiteral("buy"));
  802. command.addHelpChild(helpArg0, command.newHelpLiteral("sell"));
  803. command.addHelpChild(help, helpArg0);
  804. //shop buy <amount> <price>
  805. helpArg0 = command.newHelpLiteral("buy");
  806. helpArg1 = command.newHelpInt("amount", 0, 1000);
  807. command.addHelpChild(helpArg1, command.newHelpInt("price", 0, 10000));
  808. command.addHelpChild(helpArg0, helpArg1);
  809. command.addHelpChild(help, helpArg0);
  810. //shop sell <amount> <price>
  811. helpArg0 = command.newHelpLiteral("sell");
  812. helpArg1 = command.newHelpInt("amount", 0, 1000);
  813. command.addHelpChild(helpArg1, command.newHelpInt("price", 0, 10000));
  814. command.addHelpChild(helpArg0, helpArg1);
  815. command.addHelpChild(help, helpArg0);
  816. command.addHelp(help);
  817. help = command.newHelp("setmessage", "setmessage");
  818. //setmessage info
  819. command.addHelpChild(help, command.newHelpLiteral("info"));
  820. //setmessage join <message>
  821. helpArg0 = command.newHelpLiteral("join");
  822. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  823. command.addHelpChild(help, helpArg0);
  824. //setmessage leave <message>
  825. helpArg0 = command.newHelpLiteral("leave");
  826. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  827. command.addHelpChild(help, helpArg0);
  828. //setmessage delete <player>
  829. helpArg0 = command.newHelpLiteral("delete");
  830. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "setmessage.delete"));
  831. command.addHelpChild(help, helpArg0);
  832. command.addHelp(help);
  833. help = command.newHelp("tip", "tip");
  834. //tipp list
  835. helpArg0 = command.newHelpLiteral("list");
  836. command.addHelpChild(help, helpArg0);
  837. //tipp add <tipp> <text>
  838. helpArg0 = command.newHelpLiteral("add");
  839. helpArg1 = command.newHelpString("tip", false);
  840. command.addHelpChild(helpArg1, command.newHelpString("text", true));
  841. command.addHelpChild(helpArg0, helpArg1);
  842. command.addHelpChild(help, helpArg0);
  843. //tipp remove <tipp>
  844. helpArg0 = command.newHelpLiteral("remove");
  845. command.addHelpChild(helpArg0, command.newHelpString("tip", false));
  846. command.addHelpChild(help, helpArg0);
  847. //tipp <tipp> [player]
  848. helpArg0 = command.newHelpString("tip", false);
  849. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player"));
  850. command.addHelpChild(help, helpArg0);
  851. //tipp loop <tip> <boolean>
  852. helpArg0 = command.newHelpLiteral("loop");
  853. helpArg1 = command.newHelpString("tip", false);
  854. command.addHelpChild(helpArg1, command.newHelpBool("boolean"));
  855. command.addHelpChild(helpArg0, helpArg1);
  856. command.addHelpChild(help, helpArg0);
  857. command.addHelp(help);
  858. help = command.newHelp("support", "support");
  859. command.addHelpChild(help, command.newHelpString("message", true));
  860. command.addHelp(help);
  861. help = command.newHelp("teammsg", "isTeam");
  862. helpArg0 = command.newHelpString("message", true);
  863. command.addHelpChild(help, helpArg0);
  864. command.addHelp(help);
  865. commandhelp.addAlias("t", "teammsg", helpArg0);
  866. help = command.newHelp("mute", "mute");
  867. helpArg0 = command.newHelpSpecial("Player", "player");
  868. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  869. command.addHelpChild(help, helpArg0);
  870. command.addHelp(help);
  871. help = command.newHelp("vote", "vote");
  872. command.addHelpChild(help, command.newHelpSpecial("Player", "player", "user.other"));
  873. command.addHelp(help);
  874. help = command.newHelp("ticket", "ticket");
  875. //ticket list
  876. command.addHelpChild(help, command.newHelpLiteral("list"));
  877. //ticket get [id]
  878. helpArg0 = command.newHelpLiteral("get");
  879. command.addHelpChild(helpArg0, command.newHelpInt("id", 1, 1000));
  880. command.addHelpChild(help, helpArg0);
  881. //ticket finish
  882. command.addHelpChild(help, command.newHelpLiteral("finish"));
  883. //ticket release
  884. command.addHelpChild(help, command.newHelpLiteral("release"));
  885. //ticket note <message>
  886. helpArg0 = command.newHelpLiteral("note");
  887. command.addHelpChild(helpArg0, command.newHelpString("message", true));
  888. command.addHelpChild(help, helpArg0);
  889. command.addHelp(help);
  890. help = command.newHelp("yeet", "yeet");
  891. command.addHelpChild(help, command.newHelpInt("strength", 1, 10000000000000));
  892. command.addHelp(help);
  893. command.sendHelp();
  894. }
  895. function addPotionName(help, helpArg1, potion_name) {
  896. helpArg0 = command.newHelpLiteral(potion_name);
  897. command.addHelpChild(helpArg0, helpArg1);
  898. command.addHelpChild(help, helpArg0);
  899. }
  900. function addGameRuleBoolean(help, gamerule) {
  901. helpArg0 = command.newHelpLiteral(gamerule);
  902. command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
  903. command.addHelpChild(help, helpArg0);
  904. }
  905. function addGameRuleInt(help, gamerule, from, to) {
  906. helpArg0 = command.newHelpLiteral(gamerule);
  907. command.addHelpChild(helpArg0, command.newHelpInt("value", from, to));
  908. command.addHelpChild(help, helpArg0);
  909. }
  910. function commandhelp.add(command) {
  911. help = command.newHelp(command, command);
  912. command.addHelp(help);
  913. return help;
  914. }
  915. function commandhelp.addChildString(command, arg0, bool) {
  916. help = command.newHelp(command, command);
  917. command.addHelpChild(help, command.newHelpString(arg0, bool));
  918. command.addHelp(help);
  919. }
  920. function commandhelp.addChildPlayer(command) {
  921. help = command.newHelp(command, command);
  922. command.addHelpChild(help, command.newHelpSpecial("Player", "player"));
  923. command.addHelp(help);
  924. }
  925. function commandhelp.addChildBool(command, arg0) {
  926. help = command.newHelp(command, command);
  927. command.addHelpChild(help, command.newHelpBool(arg0));
  928. command.addHelp(help);
  929. }
  930. function commandhelp.addAlias(alias, command, helpArg0) {
  931. help = command.newHelp(alias, command);
  932. command.addHelpChild(help, helpArg0);
  933. command.addHelp(help);
  934. }
  935. function addScriptHelp(command) {
  936. help = command.newHelp(command, "script");
  937. //script start <scripts>
  938. helpArg0 = command.newHelpLiteral("start");
  939. command.addHelpChild(helpArg0, command.newHelpString("scrips...", true));
  940. command.addHelpChild(help, helpArg0);
  941. //script s <scripts>
  942. helpArg0 = command.newHelpLiteral("s");
  943. command.addHelpChild(helpArg0, command.newHelpString("scrips...", true));
  944. command.addHelpChild(help, helpArg0);
  945. //script see
  946. command.addHelpChild(help, command.newHelpLiteral("see"));
  947. //script term <id/all>
  948. helpArg0 = command.newHelpLiteral("term");
  949. command.addHelpChild(helpArg0, command.newHelpLiteral("all"));
  950. command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 1000000));
  951. command.addHelpChild(help, helpArg0);
  952. //script t <id/all>
  953. helpArg0 = command.newHelpLiteral("t");
  954. command.addHelpChild(helpArg0, command.newHelpLiteral("all"));
  955. command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 1000000));
  956. command.addHelpChild(help, helpArg0);
  957. command.addHelp(help);
  958. }
  959. function addHomeHelp(command) {
  960. help = command.newHelp(command, "home");
  961. //home set
  962. helpArg0 = command.newHelpLiteral("set");
  963. command.addHelpChild(helpArg0, command.newHelpString("name", false));
  964. command.addHelpChild(help, helpArg0);
  965. //home delete
  966. helpArg0 = command.newHelpLiteral("delete");
  967. command.addHelpChild(helpArg0, command.newHelpString("name", false));
  968. command.addHelpChild(help, helpArg0);
  969. //home list
  970. helpArg0 = command.newHelpLiteral("list");
  971. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "home.other"));
  972. command.addHelpChild(help, helpArg0);
  973. //home <name>
  974. helpArg0 = command.newHelpString("name", false);
  975. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "home.other"));
  976. command.addHelpChild(help, helpArg0);
  977. command.addHelp(help);
  978. }
  979. function addStatsGameHelp(help, game) {
  980. helpArg0 = command.newHelpLiteral(game);
  981. command.addHelpChild(helpArg0, command.newHelpLiteral("top"));
  982. command.addHelpChild(helpArg0, command.newHelpInt("rank", 1, 1000));
  983. helpArg1 = command.newHelpSpecial("Player", "player");
  984. command.addHelpChild(helpArg1, command.newHelpLiteral("remove", "stats.remove"));
  985. command.addHelpChild(helpArg0, helpArg1);
  986. command.addHelpChild(help, helpArg0);
  987. }
  988. function addAsHelp(command) {
  989. help = command.newHelp(command, "armorstand");
  990. //as name <name>
  991. helpArg0 = command.newHelpLiteral("name");
  992. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  993. command.addHelpChild(help, helpArg0);
  994. //as visible <true/false>3
  995. addAsBoolHelp(help, "visible");
  996. //as arms <true/false>
  997. addAsBoolHelp(help, "arms");
  998. //as small <true/false>
  999. addAsBoolHelp(help, "small");
  1000. //as baseplate <true/false>
  1001. addAsBoolHelp(help, "baseplate");
  1002. //as marker <true/false>
  1003. addAsBoolHelp(help, "marker");
  1004. //as move <true/false>
  1005. addAsBoolHelp(help, "move");
  1006. //as tick <true/false>
  1007. addAsBoolHelp(help, "tick");
  1008. //as setpose <bodypart> <x> <y> <z>
  1009. helpArg0 = command.newHelpLiteral("setpose");
  1010. helpArg2 = command.newHelpInt("x", -360, 360);
  1011. helpArg3 = command.newHelpInt("y", -360, 360);
  1012. helpArg4 = command.newHelpInt("z", -360, 360);
  1013. command.addHelpChild(helpArg3, helpArg4);
  1014. command.addHelpChild(helpArg2, helpArg3);
  1015. addAsBodypartHelp(help, helpArg0, helpArg2, "head");
  1016. addAsBodypartHelp(help, helpArg0, helpArg2, "body");
  1017. addAsBodypartHelp(help, helpArg0, helpArg2, "leftarm");
  1018. addAsBodypartHelp(help, helpArg0, helpArg2, "rightarm");
  1019. addAsBodypartHelp(help, helpArg0, helpArg2, "leftleg");
  1020. addAsBodypartHelp(help, helpArg0, helpArg2, "rightleg");
  1021. //as addpose <bodypart> <x> <y> <z>
  1022. helpArg0 = command.newHelpLiteral("addpose");
  1023. helpArg2 = command.newHelpInt("x", -360, 360);
  1024. helpArg3 = command.newHelpInt("y", -360, 360);
  1025. helpArg4 = command.newHelpInt("z", -360, 360);
  1026. command.addHelpChild(helpArg3, helpArg4);
  1027. command.addHelpChild(helpArg2, helpArg3);
  1028. addAsBodypartHelp(help, helpArg0, helpArg2, "head");
  1029. addAsBodypartHelp(help, helpArg0, helpArg2, "body");
  1030. addAsBodypartHelp(help, helpArg0, helpArg2, "leftarm");
  1031. addAsBodypartHelp(help, helpArg0, helpArg2, "rightarm");
  1032. addAsBodypartHelp(help, helpArg0, helpArg2, "leftleg");
  1033. addAsBodypartHelp(help, helpArg0, helpArg2, "rightleg");
  1034. command.addHelp(help);
  1035. }
  1036. function addAsBoolHelp(help, subcommand) {
  1037. helpArg0 = command.newHelpLiteral(subcommand);
  1038. command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
  1039. command.addHelpChild(help, helpArg0);
  1040. }
  1041. function addAsBodypartHelp(help, helpArg0, helpArg2, bodypart) {
  1042. helpArg1 = command.newHelpLiteral(bodypart);
  1043. command.addHelpChild(helpArg1, helpArg2);
  1044. command.addHelpChild(helpArg0, helpArg1);
  1045. command.addHelpChild(help, helpArg0);
  1046. }
  1047. function addPlotHelp(command) {
  1048. help = command.newHelp(command, "plot");
  1049. //plot info
  1050. command.addHelpChild(help, command.newHelpLiteral("info"));
  1051. command.addHelpChild(help, command.newHelpLiteral("i"));
  1052. //plot pos1/pos2
  1053. command.addHelpChild(help, command.newHelpLiteral("pos1"));
  1054. command.addHelpChild(help, command.newHelpLiteral("pos2"));
  1055. //plot create/create3D
  1056. command.addHelpChild(help, command.newHelpLiteral("create"));
  1057. command.addHelpChild(help, command.newHelpLiteral("create3D"));
  1058. //plot remove
  1059. helpArg0 = command.newHelpLiteral("remove");
  1060. command.addHelpChild(helpArg0, command.newHelpInt("id", 0, 10000));
  1061. command.addHelpChild(help, helpArg0);
  1062. //plot name <name>
  1063. helpArg0 = command.newHelpLiteral("name");
  1064. command.addHelpChild(helpArg0, command.newHelpString("name", true));
  1065. helpArg1 = command.newHelpInt("id", 0, 10000);
  1066. command.addHelpChild(helpArg1, command.newHelpString("name", true));
  1067. command.addHelpChild(helpArg0, helpArg1);
  1068. command.addHelpChild(help, helpArg0);
  1069. //plot share <name>
  1070. helpArg0 = command.newHelpLiteral("share");
  1071. helpArg1 = command.newHelpSpecial("Player", "player");
  1072. command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
  1073. command.addHelpChild(helpArg0, helpArg1);
  1074. command.addHelpChild(help, helpArg0);
  1075. //plot kick <name>
  1076. helpArg0 = command.newHelpLiteral("kick");
  1077. helpArg1 = command.newHelpSpecial("Player", "player");
  1078. command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
  1079. command.addHelpChild(helpArg0, helpArg1);
  1080. command.addHelpChild(help, helpArg0);
  1081. //plot raise
  1082. command.addHelpChild(help, command.newHelpLiteral("raise"));
  1083. //plot leader <name>
  1084. helpArg0 = command.newHelpLiteral("leader");
  1085. helpArg1 = command.newHelpSpecial("Player", "player");
  1086. command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
  1087. command.addHelpChild(helpArg0, helpArg1);
  1088. command.addHelpChild(help, helpArg0);
  1089. //plot mod <name>
  1090. helpArg0 = command.newHelpLiteral("mod");
  1091. helpArg1 = command.newHelpSpecial("Player", "player");
  1092. command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
  1093. command.addHelpChild(helpArg0, helpArg1);
  1094. command.addHelpChild(help, helpArg0);
  1095. //plot chest <name>
  1096. helpArg0 = command.newHelpLiteral("chest");
  1097. helpArg1 = command.newHelpSpecial("Player", "player");
  1098. command.addHelpChild(helpArg1, command.newHelpInt("id", 0, 10000));
  1099. command.addHelpChild(helpArg0, helpArg1);
  1100. command.addHelpChild(help, helpArg0);
  1101. //plot sell <price>
  1102. helpArg0 = command.newHelpLiteral("sell");
  1103. command.addHelpChild(helpArg0, command.newHelpInt("price", 1, 10000));
  1104. command.addHelpChild(help, helpArg0);
  1105. //plot moreinfo
  1106. command.addHelpChild(help, command.newHelpLiteral("moreinfo", "plot.moreinfo"));
  1107. //plot list <name>
  1108. helpArg0 = command.newHelpLiteral("list");
  1109. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "plot.moreinfo"));
  1110. command.addHelpChild(help, helpArg0);
  1111. //plot flags <int> <boolean>
  1112. //plot listall
  1113. command.addHelpChild(help, command.newHelpLiteral("listall"));
  1114. //plot flags <int> <boolean>
  1115. helpArg0 = command.newHelpLiteral("flags");
  1116. helpArg1 = command.newHelpInt("int", 1, 1000);
  1117. command.addHelpChild(helpArg1, command.newHelpBool("boolean"));
  1118. command.addHelpChild(helpArg0, helpArg1);
  1119. command.addHelpChild(help, helpArg0);
  1120. //plot expand <anzahl>
  1121. helpArg0 = command.newHelpLiteral("expand");
  1122. helpArg1 = command.newHelpInt("anzahl", 1, 1000);
  1123. helpArg3 = command.newHelpInt("id", 1, 10000);
  1124. helpArg2 = command.newHelpLiteral("north");
  1125. command.addHelpChild(helpArg2, helpArg3);
  1126. command.addHelpChild(helpArg1, helpArg2);
  1127. helpArg2 = command.newHelpLiteral("east");
  1128. command.addHelpChild(helpArg2, helpArg3);
  1129. command.addHelpChild(helpArg1, helpArg2);
  1130. helpArg2 = command.newHelpLiteral("south");
  1131. command.addHelpChild(helpArg2, helpArg3);
  1132. command.addHelpChild(helpArg1, helpArg2);
  1133. helpArg2 = command.newHelpLiteral("west");
  1134. command.addHelpChild(helpArg2, helpArg3);
  1135. command.addHelpChild(helpArg1, helpArg2);
  1136. command.addHelpChild(helpArg0, helpArg1);
  1137. command.addHelpChild(help, helpArg0);
  1138. command.addHelp(help);
  1139. }
  1140. function addGmHelp(command) {
  1141. help = command.newHelp(command, "gamemode");
  1142. helpArg0 = command.newHelpLiteral("adventure");
  1143. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1144. command.addHelpChild(help, helpArg0);
  1145. helpArg0 = command.newHelpLiteral("creative");
  1146. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1147. command.addHelpChild(help, helpArg0);
  1148. helpArg0 = command.newHelpLiteral("spectator");
  1149. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1150. command.addHelpChild(help, helpArg0);
  1151. helpArg0 = command.newHelpLiteral("survival");
  1152. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1153. command.addHelpChild(help, helpArg0);
  1154. helpArg0 = command.newHelpLiteral("a");
  1155. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1156. command.addHelpChild(help, helpArg0);
  1157. helpArg0 = command.newHelpLiteral("c");
  1158. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1159. command.addHelpChild(help, helpArg0);
  1160. helpArg0 = command.newHelpLiteral("w");
  1161. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1162. command.addHelpChild(help, helpArg0);
  1163. helpArg0 = command.newHelpLiteral("s");
  1164. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1165. command.addHelpChild(help, helpArg0);
  1166. helpArg0 = command.newHelpInt("0-3", 0, 3);
  1167. command.addHelpChild(helpArg0, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1168. command.addHelpChild(help, helpArg0);
  1169. command.addHelp(help);
  1170. }
  1171. function addDtHelp(command) {
  1172. help = command.newHelp(command, "datatools");
  1173. //datatools item-flag <name>
  1174. helpArg0 = command.newHelpLiteral("item-flag");
  1175. item_flags = getItemFlags();
  1176. iter = iterator(item_flags);
  1177. while(hasNext(iter)) {
  1178. command.addHelpChild(helpArg0, command.newHelpLiteral(next(iter)));
  1179. }
  1180. command.addHelpChild(help, helpArg0);
  1181. //datatools item-attribute <attribute> <slot> <double> <op>
  1182. helpArg0 = command.newHelpLiteral("item-attribute");
  1183. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ARMOR"));
  1184. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ARMOR_TOUGHNESS"));
  1185. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_DAMAGE"));
  1186. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_KNOCKBACK"));
  1187. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_ATTACK_SPEED"));
  1188. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_FLYING_SPEED"));
  1189. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_FOLLOW_RANGE"));
  1190. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_KNOCKBACK_RESISTANCE"));
  1191. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_LUCK"));
  1192. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_MAX_HEALTH"));
  1193. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("GENERIC_MOVEMENT_SPEED"));
  1194. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("HORSE_JUMP_STRENGTH"));
  1195. command.addHelpChild(helpArg0, addDtAttributeAttributHelp("ZOMBIE_SPAWN_REINFORCEMENTS"));
  1196. command.addHelpChild(help, helpArg0);
  1197. //datatools entity-hide
  1198. command.addHelpChild(help, command.newHelpLiteral("entity-hide"));
  1199. //datatools entity-show
  1200. command.addHelpChild(help, command.newHelpLiteral("entity-show"));
  1201. //datatools frame-hide
  1202. command.addHelpChild(help, command.newHelpLiteral("frame-hide"));
  1203. //datatools frame-show
  1204. command.addHelpChild(help, command.newHelpLiteral("frame-show"));
  1205. //datatools entity-name <name>
  1206. helpArg0 = command.newHelpLiteral("entity-name");
  1207. helpArg1 = command.newHelpString("name", true);
  1208. command.addHelpChild(helpArg0, helpArg1);
  1209. command.addHelpChild(help, helpArg0);
  1210. //datatools name-visibility <name>
  1211. helpArg0 = command.newHelpLiteral("name-visibility");
  1212. command.addHelpChild(helpArg0, command.newHelpBool("boolean"));
  1213. command.addHelpChild(help, helpArg0);
  1214. //datatools item-name <name>
  1215. helpArg0 = command.newHelpLiteral("item-name");
  1216. helpArg1 = command.newHelpString("name", true);
  1217. command.addHelpChild(helpArg0, helpArg1);
  1218. command.addHelpChild(help, helpArg0);
  1219. //datatools entity-print
  1220. command.addHelpChild(help, command.newHelpLiteral("entity-print"));
  1221. //datatools item-lore <line> <lore>
  1222. helpArg0 = command.newHelpLiteral("item-lore");
  1223. command.addHelpChild(helpArg0, command.newHelpString("lore", true));
  1224. command.addHelpChild(help, helpArg0);
  1225. command.addHelp(help);
  1226. }
  1227. function addDtAttributeAttributHelp(attribut) {
  1228. helpArg1 = command.newHelpLiteral(attribut);
  1229. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("HAND"));
  1230. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("OFF_HAND"));
  1231. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("HEAD"));
  1232. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("CHEST"));
  1233. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("LEGS"));
  1234. command.addHelpChild(helpArg1, addDtAttributeSlotHelp("FEET"));
  1235. return helpArg1;
  1236. }
  1237. function addDtAttributeSlotHelp(slot) {
  1238. helpArg2 = command.newHelpLiteral(slot);
  1239. helpArg3 = command.newHelpInt("double", 0, 1000);
  1240. command.addHelpChild(helpArg3, command.newHelpLiteral("ADD_NUMBER"));
  1241. command.addHelpChild(helpArg3, command.newHelpLiteral("ADD_SCALAR"));
  1242. command.addHelpChild(helpArg3, command.newHelpLiteral("MULTIPLY_SCALAR_1"));
  1243. command.addHelpChild(helpArg2, helpArg3);
  1244. return helpArg2;
  1245. }