cmdhelp.txt 66 KB

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