cmdhelp.txt 67 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499
  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", "pumpkin");
  88. commandhelp.addChildLiteral("start", "recipes");
  89. commandhelp.addChildLiteral("start", "scheduler");
  90. commandhelp.addChildLiteral("start", "shop");
  91. commandhelp.addChildLiteral("start", "sitting");
  92. commandhelp.addChildLiteral("start", "skills");
  93. commandhelp.addChildLiteral("start", "stats");
  94. commandhelp.addChildLiteral("start", "story");
  95. commandhelp.addChildLiteral("start", "survival");
  96. commandhelp.addChildLiteral("start", "teleporter");
  97. commandhelp.addChildLiteral("start", "ticket");
  98. commandhelp.addChildLiteral("start", "timber");
  99. commandhelp.addChildLiteral("start", "tiploop");
  100. commandhelp.addChildLiteral("start", "trader");
  101. commandhelp.addChildLiteral("setspawn", "server");
  102. commandhelp.addChildLiteral("setspawn", "games");
  103. commandhelp.addChildLiteral("setspawn", "creative");
  104. commandhelp.addChildLiteral("block", "info");
  105. commandhelp.addChildLiteral("block", "public");
  106. commandhelp.addChildLiteral("block", "remove");
  107. commandhelp.addChildLiteral("block", "fix");
  108. addGmHelp("gamemode");
  109. addGmHelp("gm");
  110. addScriptHelp("script");
  111. addScriptHelp("s");
  112. addAsHelp("armorstand");
  113. addAsHelp("as");
  114. addDtHelp("datatools");
  115. addDtHelp("dt");
  116. addHomeHelp("home");
  117. addHomeHelp("h");
  118. addPlotHelp("plot");
  119. addPlotHelp("p");
  120. help = command.newHelp("fly", "fly");
  121. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "fly.other"));
  122. command.addHelpArgument(help, command.newHelpLiteral("on"));
  123. command.registerHelp(help);
  124. help = command.newHelp("fly", "fly");
  125. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "fly.other"));
  126. command.addHelpArgument(help, command.newHelpLiteral("off"));
  127. command.registerHelp(help);
  128. help = command.newHelp("vanish", "vanish");
  129. command.addHelpArgument(help, command.newHelpLiteral("on"));
  130. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  131. command.registerHelp(help);
  132. help = command.newHelp("vanish", "vanish");
  133. command.addHelpArgument(help, command.newHelpLiteral("off"));
  134. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  135. command.registerHelp(help);
  136. help = command.newHelp("v", "vanish");
  137. command.addHelpArgument(help, command.newHelpLiteral("on"));
  138. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  139. command.registerHelp(help);
  140. help = command.newHelp("v", "vanish");
  141. command.addHelpArgument(help, command.newHelpLiteral("off"));
  142. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  143. command.registerHelp(help);
  144. help = command.newHelp("databank", "databank");
  145. command.addHelpArgument(help, command.newHelpLiteral("showtables"));
  146. command.registerHelp(help);
  147. help = command.newHelp("databank", "databank");
  148. command.addHelpArgument(help, command.newHelpLiteral("showfields"));
  149. command.addHelpArgument(help, command.newHelpString("table", false));
  150. command.registerHelp(help);
  151. help = command.newHelp("databank", "databank");
  152. command.addHelpArgument(help, command.newHelpLiteral("showdatatypes"));
  153. command.addHelpArgument(help, command.newHelpString("table", false));
  154. command.registerHelp(help);
  155. help = command.newHelp("copyisland", "copyisland");
  156. command.addHelpArgument(help, command.newHelpLiteral("copy"));
  157. command.registerHelp(help);
  158. help = command.newHelp("copyisland", "copyisland");
  159. command.addHelpArgument(help, command.newHelpLiteral("paste"));
  160. command.registerHelp(help);
  161. help = command.newHelp("copyisland", "copyisland");
  162. command.addHelpArgument(help, command.newHelpLiteral("pos1"));
  163. command.registerHelp(help);
  164. help = command.newHelp("copyisland", "copyisland");
  165. command.addHelpArgument(help, command.newHelpLiteral("pos2"));
  166. command.registerHelp(help);
  167. help = command.newHelp("enchant", "enchant");
  168. command.addHelpArgument(help, command.newHelpSpecial("Enchantment", "enchantment"));
  169. command.addHelpArgument(help, command.newHelpInt("level", 0, 100));
  170. command.registerHelp(help);
  171. help = command.newHelp("allsounds", "allsounds");
  172. command.addHelpArgument(help, command.newHelpLiteral("start"));
  173. command.registerHelp(help);
  174. help = command.newHelp("allsounds", "allsounds");
  175. command.addHelpArgument(help, command.newHelpLiteral("stop"));
  176. command.registerHelp(help);
  177. help = command.newHelp("allsounds", "allsounds");
  178. command.addHelpArgument(help, command.newHelpLiteral("play"));
  179. command.addHelpArgument(help, command.newHelpSpecial("Sound", "sound"));
  180. command.registerHelp(help);
  181. help = command.newHelp("allsounds", "allsounds");
  182. command.addHelpArgument(help, command.newHelpLiteral("show"));
  183. command.addHelpArgument(help, command.newHelpInt("page", 1, 200));
  184. command.registerHelp(help);
  185. help = command.newHelp("spawn", "spawn");
  186. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "tp.other"));
  187. command.registerHelp(help);
  188. help = command.newHelp("games", "games");
  189. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "tp.other"));
  190. command.registerHelp(help);
  191. help = command.newHelp("minigames", "minigames");
  192. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "tp.other"));
  193. command.registerHelp(help);
  194. help = command.newHelp("creative", "creative");
  195. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "tp.other"));
  196. command.registerHelp(help);
  197. help = command.newHelp("ass", "ass");
  198. command.addHelpArgument(help, command.newHelpLiteral("set"));
  199. command.addHelpArgument(help, command.newHelpString("name", true));
  200. command.registerHelp(help);
  201. help = command.newHelp("ass", "ass");
  202. command.addHelpArgument(help, command.newHelpLiteral("name"));
  203. command.addHelpArgument(help, command.newHelpString("name", true));
  204. command.registerHelp(help);
  205. help = command.newHelp("ass", "ass");
  206. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  207. command.addHelpArgument(help, command.newHelpInt("radius", 0, 10));
  208. command.registerHelp(help);
  209. help = command.newHelp("tppos", "tppos");
  210. command.addHelpArgument(help, command.newHelpInt("x", -32000, 32000));
  211. command.addHelpArgument(help, command.newHelpInt("y", 0, 1000));
  212. command.addHelpArgument(help, command.newHelpInt("z", -32000, 32000));
  213. command.addHelpArgument(help, command.newHelpString("world", false));
  214. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  215. command.registerHelp(help);
  216. addStatsGameHelp("AmongUs");
  217. addStatsGameHelp("BedWars");
  218. addStatsGameHelp("RageMode");
  219. addStatsGameHelp("JR-Endless");
  220. addStatsGameHelp("Rebuild");
  221. addStatsGameHelp("FastBridge");
  222. addStatsGameHelp("Snowfight");
  223. addStatsGameHelp("JR-Death");
  224. addStatsGameHelp("JR-Ice");
  225. addStatsGameHelp("JR-Rooms");
  226. addStatsGameHelp("Letters");
  227. addStatsGameHelp("ItemHunt");
  228. addStatsGameHelp("Sammelfieber");
  229. addStatsGameHelp("Buttons");
  230. addStatsGameHelp("HideAndSeek");
  231. addStatsGameHelp("Inverting");
  232. addStatsGameHelp("Spleef");
  233. addStatsGameHelp("Knockfight");
  234. addStatsGameHelp("Leapfrog");
  235. addStatsGameHelp("Parcour");
  236. addStatsGameHelp("ChineseCheckers");
  237. addStatsGameHelp("Checkers");
  238. addStatsGameHelp("ShoppingChaos");
  239. addStatsGameHelp("MengerRun");
  240. addStatsGameHelp("Snake");
  241. addStatsGameHelp("DontGetAngry");
  242. addStatsGameHelp("CaptureTheFlag");
  243. addStatsGameHelp("Cores");
  244. help = command.newHelp("help", "help");
  245. command.addHelpArgument(help, command.newHelpInt("page", 1, 100));
  246. command.registerHelp(help);
  247. help = command.newHelp("suicide", "suicide");
  248. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "suicide.other"));
  249. command.registerHelp(help);
  250. help = command.newHelp("tempfly", "tempfly");
  251. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  252. command.addHelpArgument(help, command.newHelpInt("seconds", 1, 10000));
  253. command.registerHelp(help);
  254. help = command.newHelp("tempban", "tempban");
  255. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  256. command.addHelpArgument(help, command.newHelpInt("days", 0, 365));
  257. command.addHelpArgument(help, command.newHelpInt("hours", 0, 100));
  258. command.addHelpArgument(help, command.newHelpInt("minutes", 0, 100));
  259. command.addHelpArgument(help, command.newHelpString("reason", true));
  260. command.registerHelp(help);
  261. help = command.newHelp("unban", "unban");
  262. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  263. command.registerHelp(help);
  264. help = command.newHelp("pardon", "unban");
  265. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  266. command.registerHelp(help);
  267. help = command.newHelp("ban", "ban");
  268. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  269. command.addHelpArgument(help, command.newHelpString("reason", true));
  270. command.registerHelp(help);
  271. help = command.newHelp("kick", "kick");
  272. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  273. command.addHelpArgument(help, command.newHelpString("reason", true));
  274. command.registerHelp(help);
  275. help = command.newHelp("answer", "answer");
  276. command.addHelpArgument(help, command.newHelpString("message", true));
  277. command.registerHelp(help);
  278. help = command.newHelp("r", "answer");
  279. command.addHelpArgument(help, command.newHelpString("message", true));
  280. command.registerHelp(help);
  281. help = command.newHelp("time", "time");
  282. command.addHelpArgument(help, command.newHelpLiteral("set"));
  283. command.addHelpArgument(help, command.newHelpInt("time", 0, 100000));
  284. command.registerHelp(help);
  285. help = command.newHelp("time", "time");
  286. command.addHelpArgument(help, command.newHelpLiteral("add"));
  287. command.addHelpArgument(help, command.newHelpInt("time", 0, 100000));
  288. command.registerHelp(help);
  289. help = command.newHelp("time", "time");
  290. command.addHelpArgument(help, command.newHelpLiteral("day"));
  291. command.registerHelp(help);
  292. help = command.newHelp("time", "time");
  293. command.addHelpArgument(help, command.newHelpLiteral("noon"));
  294. command.registerHelp(help);
  295. help = command.newHelp("time", "time");
  296. command.addHelpArgument(help, command.newHelpLiteral("night"));
  297. command.registerHelp(help);
  298. help = command.newHelp("time", "time");
  299. command.addHelpArgument(help, command.newHelpLiteral("midnight"));
  300. command.registerHelp(help);
  301. help = command.newHelp("enderchest", "enderchest");
  302. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  303. command.addHelpArgument(help, command.newHelpString("from-player", false));
  304. command.registerHelp(help);
  305. help = command.newHelp("nickname", "nickname");
  306. command.addHelpArgument(help, command.newHelpString("name", true));
  307. command.registerHelp(help);
  308. help = command.newHelp("nickname", "nickname");
  309. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  310. command.registerHelp(help);
  311. help = command.newHelp("perm", "perm");
  312. command.addHelpArgument(help, command.newHelpLiteral("give", "perm.give"));
  313. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  314. command.addHelpArgument(help, command.newHelpLiteral("owner", "isOwner"));
  315. command.registerHelp(help);
  316. help = command.newHelp("perm", "perm");
  317. command.addHelpArgument(help, command.newHelpLiteral("give", "perm.give"));
  318. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  319. command.addHelpArgument(help, command.newHelpLiteral("admin", "isAdmin"));
  320. command.registerHelp(help);
  321. help = command.newHelp("perm", "perm");
  322. command.addHelpArgument(help, command.newHelpLiteral("give", "perm.give"));
  323. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  324. command.addHelpArgument(help, command.newHelpLiteral("moderator", "isAdmin"));
  325. command.registerHelp(help);
  326. addPermHelp("perm", "give", "supporter");
  327. addPermHelp("perm", "give", "builder");
  328. addPermHelp("perm", "give", "worldedit");
  329. addPermHelp("perm", "give", "vip");
  330. addPermHelp("perm", "give", "developer");
  331. addPermHelp("perm", "give", "devmaster");
  332. addPermHelp("perm", "give", "yt");
  333. addPermHelp("perm", "give", "streamer");
  334. addPermHelp("perm", "give", "sponsor");
  335. addPermHelp("perm", "give", "creative");
  336. addPermHelp("perm", "give", "notickets");
  337. addPermHelp("perm", "give", "bypass");
  338. addPermHelp("perm", "give", "altruist");
  339. addPermHelp("perm", "give", "legend");
  340. addPermHelp("perm", "give", "creativeWE");
  341. help = command.newHelp("perm", "perm");
  342. command.addHelpArgument(help, command.newHelpLiteral("remove", "perm.remove"));
  343. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  344. command.addHelpArgument(help, command.newHelpLiteral("owner", "isOwner"));
  345. command.registerHelp(help);
  346. help = command.newHelp("perm", "perm");
  347. command.addHelpArgument(help, command.newHelpLiteral("remove", "perm.remove"));
  348. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  349. command.addHelpArgument(help, command.newHelpLiteral("admin", "isAdmin"));
  350. command.registerHelp(help);
  351. help = command.newHelp("perm", "perm");
  352. command.addHelpArgument(help, command.newHelpLiteral("remove", "perm.remove"));
  353. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  354. command.addHelpArgument(help, command.newHelpLiteral("moderator", "isAdmin"));
  355. command.registerHelp(help);
  356. addPermHelp("perm", "remove", "supporter");
  357. addPermHelp("perm", "remove", "builder");
  358. addPermHelp("perm", "remove", "worldedit");
  359. addPermHelp("perm", "remove", "vip");
  360. addPermHelp("perm", "remove", "developer");
  361. addPermHelp("perm", "remove", "devmaster");
  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. potion_name = next(iter);
  713. addPotionHelp(next(iter));
  714. }
  715. help = command.newHelp("support", "support");
  716. command.addHelpArgument(help, command.newHelpString("message", true));
  717. command.registerHelp(help);
  718. help = command.newHelp("mute", "mute");
  719. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  720. command.addHelpArgument(help, command.newHelpString("message", true));
  721. command.registerHelp(help);
  722. help = command.newHelp("vote", "vote");
  723. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "user.other"));
  724. command.registerHelp(help);
  725. help = command.newHelp("ticket", "ticket");
  726. command.addHelpArgument(help, command.newHelpLiteral("list"));
  727. command.registerHelp(help);
  728. help = command.newHelp("ticket", "ticket");
  729. command.addHelpArgument(help, command.newHelpLiteral("release"));
  730. command.registerHelp(help);
  731. help = command.newHelp("ticket", "ticket");
  732. command.addHelpArgument(help, command.newHelpLiteral("finish"));
  733. command.registerHelp(help);
  734. help = command.newHelp("ticket", "ticket");
  735. command.addHelpArgument(help, command.newHelpLiteral("get"));
  736. command.addHelpArgument(help, command.newHelpInt("id", 1, 1000));
  737. command.registerHelp(help);
  738. help = command.newHelp("ticket", "ticket");
  739. command.addHelpArgument(help, command.newHelpLiteral("note"));
  740. command.addHelpArgument(help, command.newHelpString("message", true));
  741. command.registerHelp(help);
  742. help = command.newHelp("tip", "tip");
  743. command.addHelpArgument(help, command.newHelpLiteral("list"));
  744. command.registerHelp(help);
  745. help = command.newHelp("tip", "tip");
  746. command.addHelpArgument(help, command.newHelpLiteral("add"));
  747. command.addHelpArgument(help, command.newHelpString("tip", false));
  748. command.addHelpArgument(help, command.newHelpString("text", true));
  749. command.registerHelp(help);
  750. help = command.newHelp("tip", "tip");
  751. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  752. command.addHelpArgument(help, command.newHelpString("tip", false));
  753. command.addHelpArgument(help, command.newHelpString("text", true));
  754. command.registerHelp(help);
  755. help = command.newHelp("tip", "tip");
  756. command.addHelpArgument(help, command.newHelpString("tip", false));
  757. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  758. command.registerHelp(help);
  759. help = command.newHelp("tip", "tip");
  760. command.addHelpArgument(help, command.newHelpLiteral("loop"));
  761. command.addHelpArgument(help, command.newHelpString("tip", false));
  762. command.addHelpArgument(help, command.newHelpBool("boolean"));
  763. command.registerHelp(help);
  764. help = command.newHelp("shop", "shop");
  765. command.addHelpArgument(help, command.newHelpLiteral("create"));
  766. command.registerHelp(help);
  767. help = command.newHelp("shop", "shop");
  768. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  769. command.addHelpArgument(help, command.newHelpLiteral("buy"));
  770. help = command.newHelp("shop", "shop");
  771. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  772. command.addHelpArgument(help, command.newHelpLiteral("sell"));
  773. command.registerHelp(help);
  774. help = command.newHelp("shop", "shop");
  775. command.addHelpArgument(help, command.newHelpLiteral("buy"));
  776. command.addHelpArgument(help, command.newHelpInt("amount", 0, 1000));
  777. command.addHelpArgument(help, command.newHelpInt("price", 0, 10000));
  778. command.registerHelp(help);
  779. help = command.newHelp("shop", "shop");
  780. command.addHelpArgument(help, command.newHelpLiteral("sell"));
  781. command.addHelpArgument(help, command.newHelpInt("amount", 0, 1000));
  782. command.addHelpArgument(help, command.newHelpInt("price", 0, 10000));
  783. command.registerHelp(help);
  784. help = command.newHelp("setmessage", "setmessage");
  785. command.addHelpArgument(help, command.newHelpLiteral("info"));
  786. command.registerHelp(help);
  787. help = command.newHelp("setmessage", "setmessage");
  788. command.addHelpArgument(help, command.newHelpLiteral("join"));
  789. command.addHelpArgument(help, command.newHelpString("message", true));
  790. command.registerHelp(help);
  791. help = command.newHelp("setmessage", "setmessage");
  792. command.addHelpArgument(help, command.newHelpLiteral("leave"));
  793. command.addHelpArgument(help, command.newHelpString("message", true));
  794. command.registerHelp(help);
  795. help = command.newHelp("setmessage", "setmessage");
  796. command.addHelpArgument(help, command.newHelpLiteral("death"));
  797. command.addHelpArgument(help, command.newHelpString("message", true));
  798. command.registerHelp(help);
  799. help = command.newHelp("setmessage", "setmessage");
  800. command.addHelpArgument(help, command.newHelpLiteral("delete"));
  801. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "setmessage.delete"));
  802. command.registerHelp(help);
  803. help = command.newHelp("clan", "clan");
  804. command.addHelpArgument(help, command.newHelpLiteral("invite"));
  805. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  806. command.registerHelp(help);
  807. help = command.newHelp("clan", "clan");
  808. command.addHelpArgument(help, command.newHelpLiteral("info"));
  809. command.addHelpArgument(help, command.newHelpInt("id", 1, 500));
  810. command.registerHelp(help);
  811. help = command.newHelp("clan", "clan");
  812. command.addHelpArgument(help, command.newHelpLiteral("info"));
  813. command.addHelpArgument(help, command.newHelpString("name", false));
  814. command.registerHelp(help);
  815. help = command.newHelp("clan", "clan");
  816. command.addHelpArgument(help, command.newHelpLiteral("info"));
  817. command.addHelpArgument(help, command.newHelpString("tag", false));
  818. command.registerHelp(help);
  819. help = command.newHelp("clan", "clan");
  820. command.addHelpArgument(help, command.newHelpLiteral("accept"));
  821. command.addHelpArgument(help, command.newHelpInt("id", 1, 500));
  822. command.registerHelp(help);
  823. help = command.newHelp("clan", "clan");
  824. command.addHelpArgument(help, command.newHelpLiteral("accept"));
  825. command.addHelpArgument(help, command.newHelpString("name", false));
  826. command.registerHelp(help);
  827. help = command.newHelp("clan", "clan");
  828. command.addHelpArgument(help, command.newHelpLiteral("accept"));
  829. command.addHelpArgument(help, command.newHelpString("tag", false));
  830. command.registerHelp(help);
  831. help = command.newHelp("clan", "clan");
  832. command.addHelpArgument(help, command.newHelpLiteral("create"));
  833. command.addHelpArgument(help, command.newHelpString("name", false));
  834. command.addHelpArgument(help, command.newHelpString("tag", false));
  835. command.registerHelp(help);
  836. help = command.newHelp("clan", "clan");
  837. command.addHelpArgument(help, command.newHelpLiteral("kick"));
  838. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  839. command.registerHelp(help);
  840. help = command.newHelp("clan", "clan");
  841. command.addHelpArgument(help, command.newHelpLiteral("leader"));
  842. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  843. command.registerHelp(help);
  844. help = command.newHelp("clan", "clan");
  845. command.addHelpArgument(help, command.newHelpLiteral("mod"));
  846. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  847. command.registerHelp(help);
  848. help = command.newHelp("clan", "clan");
  849. command.addHelpArgument(help, command.newHelpLiteral("degrade"));
  850. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  851. command.registerHelp(help);
  852. help = command.newHelp("clan", "clan");
  853. command.addHelpArgument(help, command.newHelpLiteral("leave"));
  854. command.registerHelp(help);
  855. help = command.newHelp("clan", "clan");
  856. command.addHelpArgument(help, command.newHelpLiteral("rename"));
  857. command.addHelpArgument(help, command.newHelpString("name", false));
  858. command.addHelpArgument(help, command.newHelpString("tag", false));
  859. command.registerHelp(help);
  860. help = command.newHelp("clan", "clan");
  861. command.addHelpArgument(help, command.newHelpLiteral("disband"));
  862. command.registerHelp(help);
  863. help = command.newHelp("clan", "clan");
  864. command.addHelpArgument(help, command.newHelpLiteral("msg"));
  865. command.addHelpArgument(help, command.newHelpString("message", true));
  866. command.registerHelp(help);
  867. help = command.newHelp("clan", "clan");
  868. command.addHelpArgument(help, command.newHelpLiteral("mail"));
  869. command.addHelpArgument(help, command.newHelpString("message", true));
  870. command.registerHelp(help);
  871. help = command.newHelp("clan", "clan");
  872. command.addHelpArgument(help, command.newHelpLiteral("shout"));
  873. command.addHelpArgument(help, command.newHelpString("message", true));
  874. command.registerHelp(help);
  875. help = command.newHelp("clan", "clan");
  876. command.addHelpArgument(help, command.newHelpLiteral("deposit"));
  877. command.addHelpArgument(help, command.newHelpInt("money", 0, 1000));
  878. command.registerHelp(help);
  879. help = command.newHelp("clan", "clan");
  880. command.addHelpArgument(help, command.newHelpLiteral("withdraw"));
  881. command.addHelpArgument(help, command.newHelpInt("money", 0, 1000));
  882. command.registerHelp(help);
  883. help = command.newHelp("clan", "clan");
  884. command.addHelpArgument(help, command.newHelpLiteral("party"));
  885. command.registerHelp(help);
  886. help = command.newHelp("clan", "clan");
  887. command.addHelpArgument(help, command.newHelpLiteral("setspawn"));
  888. command.registerHelp(help);
  889. help = command.newHelp("clan", "clan");
  890. command.addHelpArgument(help, command.newHelpLiteral("spawn"));
  891. command.registerHelp(help);
  892. help = command.newHelp("clan", "clan");
  893. command.addHelpArgument(help, command.newHelpLiteral("list"));
  894. command.registerHelp(help);
  895. addGameRuleBoolean("announceAdvancements");
  896. addGameRuleBoolean("commandBlockOutput");
  897. addGameRuleBoolean("disableElytraMovementCheck");
  898. addGameRuleBoolean("disableRaids");
  899. addGameRuleBoolean("doDaylightCycle");
  900. addGameRuleBoolean("doEntityDrops");
  901. addGameRuleBoolean("doFireTick");
  902. addGameRuleBoolean("doInsomnia");
  903. addGameRuleBoolean("doImmediateRespawn");
  904. addGameRuleBoolean("doLimitedCrafting");
  905. addGameRuleBoolean("doMobLoot");
  906. addGameRuleBoolean("doMobSpawning");
  907. addGameRuleBoolean("doPatrolSpawning");
  908. addGameRuleBoolean("doTileDrops");
  909. addGameRuleBoolean("doTraderSpawning");
  910. addGameRuleBoolean("doWeatherCycle");
  911. addGameRuleBoolean("drowningDamage");
  912. addGameRuleBoolean("fallDamage");
  913. addGameRuleBoolean("fireDamage");
  914. addGameRuleBoolean("forgiveDeadPlayers");
  915. addGameRuleBoolean("freezeDamage");
  916. addGameRuleBoolean("keepInventory");
  917. addGameRuleBoolean("logAdminCommands");
  918. addGameRuleBoolean("mobGriefing");
  919. addGameRuleBoolean("reducedDebugInfo");
  920. addGameRuleBoolean("respawnBlocksExplode");
  921. addGameRuleBoolean("sendCommandFeedback");
  922. addGameRuleBoolean("showDeathMessages");
  923. addGameRuleBoolean("spawnRadius");
  924. addGameRuleBoolean("spectatorsGenerateChunks");
  925. addGameRuleBoolean("universalAnger");
  926. addGameRuleInt("maxCommandChainLength", 0, 100000);
  927. addGameRuleInt("maxEntityCramming", 0, 100);
  928. addGameRuleInt("playersSleepingPercentage", 0, 100);
  929. addGameRuleInt("randomTickSpeed", 0, 4096);
  930. command.sendHelpWorkaround();
  931. function addPotionHelp(potion_name) {
  932. help = command.newHelp("potion", "potion");
  933. command.addHelpArgument(help, command.newHelpLiteral(potion_name));
  934. command.addHelpArgument(help, command.newHelpInt("duration", 0, 10000));
  935. command.addHelpArgument(help, command.newHelpInt("power", 0, 50));
  936. command.registerHelp(help);
  937. }
  938. function addGameRuleBoolean(gamerule) {
  939. help = command.newHelp("gamerule", "gamerule");
  940. command.addHelpArgument(help, command.newHelpLiteral(gamerule));
  941. command.addHelpArgument(help, command.newHelpBool("boolean"));
  942. command.registerHelp(help);
  943. }
  944. function addGameRuleInt(gamerule, from, to) {
  945. help = command.newHelp("gamerule", "gamerule");
  946. command.addHelpArgument(help, command.newHelpLiteral(gamerule));
  947. command.addHelpArgument(help, command.newHelpInt("value", from, to));
  948. command.registerHelp(help);
  949. }
  950. function commandhelp.add(command) {
  951. help = command.newHelp(command, command);
  952. command.registerHelp(help);
  953. }
  954. function commandhelp.addChildString(command, arg0, bool) {
  955. help = command.newHelp(command, command);
  956. command.addHelpArgument(help, command.newHelpString(arg0, bool));
  957. command.registerHelp(help);
  958. }
  959. function commandhelp.addChildPlayer(command) {
  960. help = command.newHelp(command, command);
  961. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  962. command.registerHelp(help);
  963. }
  964. function commandhelp.addChildLiteral(command, literal) {
  965. help = command.newHelp(command, command);
  966. command.addHelpArgument(help, command.newHelpLiteral(literal));
  967. command.registerHelp(help);
  968. }
  969. function commandhelp.addChildBool(command, arg0) {
  970. help = command.newHelp(command, command);
  971. command.addHelpArgument(help, command.newHelpBool(arg0));
  972. command.registerHelp(help);
  973. }
  974. function addScriptHelp(command) {
  975. help = command.newHelp(command, "script");
  976. command.addHelpArgument(help, command.newHelpLiteral("start"));
  977. command.addHelpArgument(help, command.newHelpString("scrips...", true));
  978. command.registerHelp(help);
  979. help = command.newHelp(command, "script");
  980. command.addHelpArgument(help, command.newHelpLiteral("s"));
  981. command.addHelpArgument(help, command.newHelpString("scrips...", true));
  982. command.registerHelp(help);
  983. help = command.newHelp(command, "script");
  984. command.addHelpArgument(help, command.newHelpLiteral("see"));
  985. command.registerHelp(help);
  986. help = command.newHelp(command, "script");
  987. command.addHelpArgument(help, command.newHelpLiteral("term"));
  988. command.addHelpArgument(help, command.newHelpLiteral("all"));
  989. command.registerHelp(help);
  990. help = command.newHelp(command, "script");
  991. command.addHelpArgument(help, command.newHelpLiteral("term"));
  992. command.addHelpArgument(help, command.newHelpInt("id", 0, 1000000));
  993. command.registerHelp(help);
  994. help = command.newHelp(command, "script");
  995. command.addHelpArgument(help, command.newHelpLiteral("t"));
  996. command.addHelpArgument(help, command.newHelpLiteral("all"));
  997. command.registerHelp(help);
  998. help = command.newHelp(command, "script");
  999. command.addHelpArgument(help, command.newHelpLiteral("t"));
  1000. command.addHelpArgument(help, command.newHelpInt("id", 0, 1000000));
  1001. command.registerHelp(help);
  1002. }
  1003. function addHomeHelp(command) {
  1004. help = command.newHelp(command, "home");
  1005. command.addHelpArgument(help, command.newHelpLiteral("set"));
  1006. command.addHelpArgument(help, command.newHelpString("name", false));
  1007. command.registerHelp(help);
  1008. help = command.newHelp(command, "home");
  1009. command.addHelpArgument(help, command.newHelpLiteral("delete"));
  1010. command.addHelpArgument(help, command.newHelpString("name", false));
  1011. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "home.other"));
  1012. command.registerHelp(help);
  1013. help = command.newHelp(command, "home");
  1014. command.addHelpArgument(help, command.newHelpLiteral("list"));
  1015. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "home.other"));
  1016. command.registerHelp(help);
  1017. help = command.newHelp(command, "home");
  1018. command.addHelpArgument(help, command.newHelpLiteral("name"));
  1019. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "home.other"));
  1020. command.registerHelp(help);
  1021. }
  1022. function addStatsGameHelp(game) {
  1023. help = command.newHelp("stats", "stats");
  1024. command.addHelpArgument(help, command.newHelpLiteral(game));
  1025. command.addHelpArgument(help, command.newHelpLiteral("top"));
  1026. command.registerHelp(help);
  1027. help = command.newHelp("stats", "stats");
  1028. command.addHelpArgument(help, command.newHelpLiteral(game));
  1029. command.addHelpArgument(help, command.newHelpInt("rank", 1, 1000));
  1030. command.registerHelp(help);
  1031. help = command.newHelp("stats", "stats");
  1032. command.addHelpArgument(help, command.newHelpLiteral(game));
  1033. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1034. command.addHelpArgument(help, command.newHelpLiteral("remove", "stats.remove"));
  1035. command.registerHelp(help);
  1036. }
  1037. function addAsHelp(command) {
  1038. help = command.newHelp(command, "armorstand");
  1039. command.addHelpArgument(help, command.newHelpLiteral("name"));
  1040. command.addHelpArgument(help, command.newHelpString("name", true));
  1041. command.registerHelp(help);
  1042. help = command.newHelp(command, "armorstand");
  1043. command.addHelpArgument(help, command.newHelpLiteral("visible"));
  1044. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1045. command.registerHelp(help);
  1046. help = command.newHelp(command, "armorstand");
  1047. command.addHelpArgument(help, command.newHelpLiteral("arms"));
  1048. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1049. command.registerHelp(help);
  1050. help = command.newHelp(command, "armorstand");
  1051. command.addHelpArgument(help, command.newHelpLiteral("small"));
  1052. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1053. command.registerHelp(help);
  1054. help = command.newHelp(command, "armorstand");
  1055. command.addHelpArgument(help, command.newHelpLiteral("baseplate"));
  1056. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1057. command.registerHelp(help);
  1058. help = command.newHelp(command, "armorstand");
  1059. command.addHelpArgument(help, command.newHelpLiteral("move"));
  1060. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1061. command.registerHelp(help);
  1062. help = command.newHelp(command, "armorstand");
  1063. command.addHelpArgument(help, command.newHelpLiteral("tick"));
  1064. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1065. command.registerHelp(help);
  1066. help = command.newHelp(command, "armorstand");
  1067. command.addHelpArgument(help, command.newHelpLiteral("setpose"));
  1068. command.addHelpArgument(help, command.newHelpLiteral("head"));
  1069. command.addHelpArgument(help, command.newHelpInt("x", -360, 360));
  1070. command.addHelpArgument(help, command.newHelpInt("y", -360, 360));
  1071. command.addHelpArgument(help, command.newHelpInt("z", -360, 360));
  1072. command.registerHelp(help);
  1073. addAsBodypartHelp(command, "setpose", "head");
  1074. addAsBodypartHelp(command, "setpose", "body");
  1075. addAsBodypartHelp(command, "setpose", "leftarm");
  1076. addAsBodypartHelp(command, "setpose", "rightarm");
  1077. addAsBodypartHelp(command, "setpose", "leftleg");
  1078. addAsBodypartHelp(command, "setpose", "rightleg");
  1079. addAsBodypartHelp(command, "addpose", "head");
  1080. addAsBodypartHelp(command, "addpose", "body");
  1081. addAsBodypartHelp(command, "addpose", "leftarm");
  1082. addAsBodypartHelp(command, "addpose", "rightarm");
  1083. addAsBodypartHelp(command, "addpose", "leftleg");
  1084. addAsBodypartHelp(command, "addpose", "rightleg");
  1085. }
  1086. function addAsBodypartHelp(command, subcommand, bodypart) {
  1087. help = command.newHelp(command, "armorstand");
  1088. command.addHelpArgument(help, command.newHelpLiteral(subcommand));
  1089. command.addHelpArgument(help, command.newHelpLiteral(bodypart));
  1090. command.addHelpArgument(help, command.newHelpInt("x", -360, 360));
  1091. command.addHelpArgument(help, command.newHelpInt("y", -360, 360));
  1092. command.addHelpArgument(help, command.newHelpInt("z", -360, 360));
  1093. command.registerHelp(help);
  1094. }
  1095. function addPlotHelp(command) {
  1096. help = command.newHelp(command, "plot");
  1097. command.addHelpArgument(help, command.newHelpLiteral("info"));
  1098. command.registerHelp(help);
  1099. help = command.newHelp(command, "plot");
  1100. command.addHelpArgument(help, command.newHelpLiteral("i"));
  1101. command.registerHelp(help);
  1102. help = command.newHelp(command, "plot");
  1103. command.addHelpArgument(help, command.newHelpLiteral("pos1"));
  1104. command.registerHelp(help);
  1105. help = command.newHelp(command, "plot");
  1106. command.addHelpArgument(help, command.newHelpLiteral("pos2"));
  1107. command.registerHelp(help);
  1108. help = command.newHelp(command, "plot");
  1109. command.addHelpArgument(help, command.newHelpLiteral("pos2"));
  1110. command.registerHelp(help);
  1111. help = command.newHelp(command, "plot");
  1112. command.addHelpArgument(help, command.newHelpLiteral("create"));
  1113. command.registerHelp(help);
  1114. help = command.newHelp(command, "plot");
  1115. command.addHelpArgument(help, command.newHelpLiteral("create3D"));
  1116. command.registerHelp(help);
  1117. help = command.newHelp(command, "plot");
  1118. command.addHelpArgument(help, command.newHelpLiteral("remove"));
  1119. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1120. command.registerHelp(help);
  1121. help = command.newHelp(command, "plot");
  1122. command.addHelpArgument(help, command.newHelpLiteral("name"));
  1123. command.addHelpArgument(help, command.newHelpString("name", true));
  1124. command.registerHelp(help);
  1125. help = command.newHelp(command, "plot");
  1126. command.addHelpArgument(help, command.newHelpLiteral("name"));
  1127. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1128. command.addHelpArgument(help, command.newHelpString("name", true));
  1129. command.registerHelp(help);
  1130. help = command.newHelp(command, "plot");
  1131. command.addHelpArgument(help, command.newHelpLiteral("share"));
  1132. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1133. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1134. command.registerHelp(help);
  1135. help = command.newHelp(command, "plot");
  1136. command.addHelpArgument(help, command.newHelpLiteral("kick"));
  1137. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1138. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1139. command.registerHelp(help);
  1140. help = command.newHelp(command, "plot");
  1141. command.addHelpArgument(help, command.newHelpLiteral("raise"));
  1142. command.registerHelp(help);
  1143. help = command.newHelp(command, "plot");
  1144. command.addHelpArgument(help, command.newHelpLiteral("leader"));
  1145. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1146. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1147. command.registerHelp(help);
  1148. help = command.newHelp(command, "plot");
  1149. command.addHelpArgument(help, command.newHelpLiteral("mod"));
  1150. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1151. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1152. command.registerHelp(help);
  1153. help = command.newHelp(command, "plot");
  1154. command.addHelpArgument(help, command.newHelpLiteral("chest"));
  1155. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1156. command.addHelpArgument(help, command.newHelpInt("id", 0, 10000));
  1157. command.registerHelp(help);
  1158. help = command.newHelp(command, "plot");
  1159. command.addHelpArgument(help, command.newHelpLiteral("sell"));
  1160. command.addHelpArgument(help, command.newHelpInt("price", 1, 10000));
  1161. command.registerHelp(help);
  1162. help = command.newHelp(command, "plot");
  1163. command.addHelpArgument(help, command.newHelpLiteral("moreinfo", "plot.moreinfo"));
  1164. command.registerHelp(help);
  1165. help = command.newHelp(command, "plot");
  1166. command.addHelpArgument(help, command.newHelpLiteral("list"));
  1167. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "plot.moreinfo"));
  1168. command.registerHelp(help);
  1169. help = command.newHelp(command, "plot");
  1170. command.addHelpArgument(help, command.newHelpLiteral("listall"));
  1171. command.registerHelp(help);
  1172. help = command.newHelp(command, "plot");
  1173. command.addHelpArgument(help, command.newHelpLiteral("plot"));
  1174. command.addHelpArgument(help, command.newHelpInt("int", 1, 1000));
  1175. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1176. command.registerHelp(help);
  1177. help = command.newHelp(command, "plot");
  1178. command.addHelpArgument(help, command.newHelpLiteral("expand"));
  1179. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1180. command.addHelpArgument(help, command.newHelpLiteral("north"));
  1181. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1182. command.registerHelp(help);
  1183. help = command.newHelp(command, "plot");
  1184. command.addHelpArgument(help, command.newHelpLiteral("expand"));
  1185. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1186. command.addHelpArgument(help, command.newHelpLiteral("east"));
  1187. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1188. command.registerHelp(help);
  1189. help = command.newHelp(command, "plot");
  1190. command.addHelpArgument(help, command.newHelpLiteral("expand"));
  1191. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1192. command.addHelpArgument(help, command.newHelpLiteral("south"));
  1193. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1194. command.registerHelp(help);
  1195. help = command.newHelp(command, "plot");
  1196. command.addHelpArgument(help, command.newHelpLiteral("expand"));
  1197. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1198. command.addHelpArgument(help, command.newHelpLiteral("west"));
  1199. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1200. command.registerHelp(help);
  1201. help = command.newHelp(command, "plot");
  1202. command.addHelpArgument(help, command.newHelpLiteral("move"));
  1203. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1204. command.addHelpArgument(help, command.newHelpLiteral("north"));
  1205. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1206. command.registerHelp(help);
  1207. help = command.newHelp(command, "plot");
  1208. command.addHelpArgument(help, command.newHelpLiteral("move"));
  1209. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1210. command.addHelpArgument(help, command.newHelpLiteral("east"));
  1211. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1212. command.registerHelp(help);
  1213. help = command.newHelp(command, "plot");
  1214. command.addHelpArgument(help, command.newHelpLiteral("move"));
  1215. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1216. command.addHelpArgument(help, command.newHelpLiteral("south"));
  1217. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1218. command.registerHelp(help);
  1219. help = command.newHelp(command, "plot");
  1220. command.addHelpArgument(help, command.newHelpLiteral("move"));
  1221. command.addHelpArgument(help, command.newHelpInt("value", 1, 1000));
  1222. command.addHelpArgument(help, command.newHelpLiteral("west"));
  1223. command.addHelpArgument(help, command.newHelpInt("id", 1, 10000));
  1224. command.registerHelp(help);
  1225. }
  1226. function addGmHelp(command) {
  1227. help = command.newHelp(command, "gamemode");
  1228. command.addHelpArgument(help, command.newHelpLiteral("adventure"));
  1229. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1230. command.registerHelp(help);
  1231. help = command.newHelp(command, "gamemode");
  1232. command.addHelpArgument(help, command.newHelpLiteral("creative"));
  1233. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1234. command.registerHelp(help);
  1235. help = command.newHelp(command, "gamemode");
  1236. command.addHelpArgument(help, command.newHelpLiteral("spectator"));
  1237. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1238. command.registerHelp(help);
  1239. help = command.newHelp(command, "gamemode");
  1240. command.addHelpArgument(help, command.newHelpLiteral("survival"));
  1241. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1242. command.registerHelp(help);
  1243. help = command.newHelp(command, "gamemode");
  1244. command.addHelpArgument(help, command.newHelpLiteral("a"));
  1245. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1246. command.registerHelp(help);
  1247. help = command.newHelp(command, "gamemode");
  1248. command.addHelpArgument(help, command.newHelpLiteral("c"));
  1249. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1250. command.registerHelp(help);
  1251. help = command.newHelp(command, "gamemode");
  1252. command.addHelpArgument(help, command.newHelpLiteral("w"));
  1253. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1254. command.registerHelp(help);
  1255. help = command.newHelp(command, "gamemode");
  1256. command.addHelpArgument(help, command.newHelpLiteral("s"));
  1257. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1258. command.registerHelp(help);
  1259. help = command.newHelp(command, "gamemode");
  1260. command.addHelpArgument(help, command.newHelpInt("0-3", 0, 3));
  1261. command.addHelpArgument(help, command.newHelpSpecial("Player", "player", "gamemode.other"));
  1262. command.registerHelp(help);
  1263. }
  1264. function addDtHelp(command) {
  1265. //datatools item-flag <name>
  1266. item_flags = getItemFlags();
  1267. iter = iterator(item_flags);
  1268. while(hasNext(iter)) {
  1269. addDtFlagHelp(command, next(iter));
  1270. }
  1271. //datatools item-attribute <attribute> <slot> <double> <op>
  1272. addDtAttributeHelp(command, "GENERIC_ARMOR");
  1273. addDtAttributeHelp(command, "GENERIC_ARMOR_TOUGHNESS");
  1274. addDtAttributeHelp(command, "GENERIC_ATTACK_DAMAGE");
  1275. addDtAttributeHelp(command, "GENERIC_ATTACK_KNOCKBACK");
  1276. addDtAttributeHelp(command, "GENERIC_ATTACK_SPEED");
  1277. addDtAttributeHelp(command, "GENERIC_FLYING_SPEED");
  1278. addDtAttributeHelp(command, "GENERIC_FOLLOW_RANGE");
  1279. addDtAttributeHelp(command, "GENERIC_KNOCKBACK_RESISTANCE");
  1280. addDtAttributeHelp(command, "GENERIC_LUCK");
  1281. addDtAttributeHelp(command, "GENERIC_MAX_HEALTH");
  1282. addDtAttributeHelp(command, "GENERIC_MOVEMENT_SPEED");
  1283. addDtAttributeHelp(command, "HORSE_JUMP_STRENGTH");
  1284. addDtAttributeHelp(command, "ZOMBIE_SPAWN_REINFORCEMENTS");
  1285. //datatools entity-hide
  1286. commandhelp.addChildLiteral(command, "entity-hide");
  1287. //datatools entity-show
  1288. commandhelp.addChildLiteral(command, "entity-show");
  1289. //datatools frame-hide
  1290. commandhelp.addChildLiteral(command, "frame-hide");
  1291. //datatools frame-show
  1292. commandhelp.addChildLiteral(command, "frame-show");
  1293. //datatools entity-name <name>
  1294. help = command.newHelp(command, "datatools");
  1295. command.addHelpArgument(help, command.newHelpLiteral("entity-name"));
  1296. command.addHelpArgument(help, command.newHelpString("name", true));
  1297. command.registerHelp(help);
  1298. //datatools name-visibility <name>
  1299. help = command.newHelp(command, "datatools");
  1300. command.addHelpArgument(help, command.newHelpLiteral("name-visibility"));
  1301. command.addHelpArgument(help, command.newHelpBool("boolean"));
  1302. command.registerHelp(help);
  1303. //datatools item-name <name>
  1304. help = command.newHelp(command, "datatools");
  1305. command.addHelpArgument(help, command.newHelpLiteral("item-name"));
  1306. command.addHelpArgument(help, command.newHelpString("name", true));
  1307. command.registerHelp(help);
  1308. //datatools entity-print
  1309. commandhelp.addChildLiteral(command, "entity-print");
  1310. //datatools item-lore <line> <lore>
  1311. help = command.newHelp(command, "datatools");
  1312. command.addHelpArgument(help, command.newHelpLiteral("item-lore"));
  1313. command.addHelpArgument(help, command.newHelpString("lore", true));
  1314. command.registerHelp(help);
  1315. }
  1316. function addDtFlagHelp(command, flag) {
  1317. help = command.newHelp(command, "datatools");
  1318. command.addHelpArgument(help, command.newHelpLiteral("item-flag"));
  1319. command.addHelpArgument(help, command.newHelpLiteral(flag));
  1320. command.registerHelp(help);
  1321. }
  1322. function addDtAttributeHelp(command, attribute) {
  1323. addDtAttributeAttributHelp(command, "HAND", attribute, "ADD_NUMBER");
  1324. addDtAttributeAttributHelp(command, "HAND", attribute, "ADD_SCALAR");
  1325. addDtAttributeAttributHelp(command, "HAND", attribute, "MULTIPLY_SCALAR_1");
  1326. addDtAttributeAttributHelp(command, "OFF_HAND", attribute, "ADD_NUMBER");
  1327. addDtAttributeAttributHelp(command, "OFF_HAND", attribute, "ADD_SCALAR");
  1328. addDtAttributeAttributHelp(command, "OFF_HAND", attribute, "MULTIPLY_SCALAR_1");
  1329. addDtAttributeAttributHelp(command, "HEAD", attribute, "ADD_NUMBER");
  1330. addDtAttributeAttributHelp(command, "HEAD", attribute, "ADD_SCALAR");
  1331. addDtAttributeAttributHelp(command, "HEAD", attribute, "MULTIPLY_SCALAR_1");
  1332. addDtAttributeAttributHelp(command, "CHEST", attribute, "ADD_NUMBER");
  1333. addDtAttributeAttributHelp(command, "CHEST", attribute, "ADD_SCALAR");
  1334. addDtAttributeAttributHelp(command, "CHEST", attribute, "MULTIPLY_SCALAR_1");
  1335. addDtAttributeAttributHelp(command, "LEGS", attribute, "ADD_NUMBER");
  1336. addDtAttributeAttributHelp(command, "LEGS", attribute, "ADD_SCALAR");
  1337. addDtAttributeAttributHelp(command, "LEGS", attribute, "MULTIPLY_SCALAR_1");
  1338. addDtAttributeAttributHelp(command, "FEET", attribute, "ADD_NUMBER");
  1339. addDtAttributeAttributHelp(command, "FEET", attribute, "ADD_SCALAR");
  1340. addDtAttributeAttributHelp(command, "FEET", attribute, "MULTIPLY_SCALAR_1");
  1341. }
  1342. function addDtAttributeAttributHelp(command, attribute, slot, op) {
  1343. help = command.newHelp(command, "datatools");
  1344. command.addHelpArgument(help, command.newHelpLiteral("item-attribute"));
  1345. command.addHelpArgument(help, command.newHelpLiteral(attribute));
  1346. command.addHelpArgument(help, command.newHelpLiteral(slot));
  1347. command.addHelpArgument(help, command.newHelpInt("double", 0, 1000));
  1348. command.addHelpArgument(help, command.newHelpLiteral(op));
  1349. command.registerHelp(help);
  1350. }
  1351. function addPermHelp(command, subcommand, perm) {
  1352. help = command.newHelp(command, "perm");
  1353. command.addHelpArgument(help, command.newHelpLiteral(subcommand));
  1354. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1355. command.addHelpArgument(help, command.newHelpLiteral(perm));
  1356. command.registerHelp(help);
  1357. }
  1358. function addLoginrequestsHelp(command, reason) {
  1359. help = command.newHelp(command, "loginrequests");
  1360. command.addHelpArgument(help, command.newHelpLiteral("all"));
  1361. command.addHelpArgument(help, command.newHelpInt("amount", 1, 100));
  1362. command.addHelpArgument(help, command.newHelpLiteral(reason));
  1363. command.registerHelp(help);
  1364. help = command.newHelp(command, "loginrequests");
  1365. command.addHelpArgument(help, command.newHelpSpecial("Player", "player"));
  1366. command.addHelpArgument(help, command.newHelpInt("amount", 1, 100));
  1367. command.addHelpArgument(help, command.newHelpLiteral(reason));
  1368. command.registerHelp(help);
  1369. }
  1370. function addHumanSkinHelp(name) {
  1371. help = command.newHelp("human", "human");
  1372. command.addHelpArgument(help, command.newHelpLiteral("skin"));
  1373. command.addHelpArgument(help, command.newHelpLiteral(name));
  1374. command.registerHelp(help);
  1375. }
  1376. function addHumanEquipHelp(name) {
  1377. help = command.newHelp("human", "human");
  1378. command.addHelpArgument(help, command.newHelpLiteral("equip"));
  1379. command.addHelpArgument(help, command.newHelpLiteral(name));
  1380. command.addHelpArgument(help, command.newHelpSpecial("Item", "item"));
  1381. command.registerHelp(help);
  1382. }