Guest User

Untitled

a guest
Apr 19th, 2019
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void registerLv2Commands(){
  2. levelCommandsCursor = new Pair<>((List<String>) new ArrayList<String>(), (List<String>) new ArrayList<String>());
  3.  
  4. addCommand("recharge", 2, RechargeCommand.class);
  5. addCommand("whereami", 2, WhereaMiCommand.class);
  6. addCommand("hide", 2, HideCommand.class);
  7. addCommand("unhide", 2, UnHideCommand.class);
  8. addCommand("sp", 2, SpCommand.class);
  9. addCommand("ap", 2, ApCommand.class);
  10. addCommand("empowerme", 2, EmpowerMeCommand.class);
  11. addCommand("buffmap", 2, BuffMapCommand.class);
  12. addCommand("buff", 2, BuffCommand.class);
  13. addCommand("bomb", 2, BombCommand.class);
  14. addCommand("dc", 2, DcCommand.class);
  15. addCommand("cleardrops", 2, ClearDropsCommand.class);
  16. addCommand("clearslot", 2, ClearSlotCommand.class);
  17. addCommand("clearsavelocs", 2, ClearSavedLocationsCommand.class);
  18. addCommand("warp", 2, WarpCommand.class);
  19. addCommand(new String[]{"warphere", "summon"}, 2, SummonCommand.class);
  20. addCommand(new String[]{"warpto", "reach", "follow"}, 2, ReachCommand.class);
  21. addCommand("gmshop", 2, GmShopCommand.class);
  22. addCommand("heal", 2, HealCommand.class);
  23. addCommand("item", 2, ItemCommand.class);
  24. addCommand("drop", 2, ItemDropCommand.class);
  25. addCommand("level", 2, LevelCommand.class);
  26. addCommand("levelpro", 2, LevelProCommand.class);
  27. addCommand("setstat", 2, SetStatCommand.class);
  28. addCommand("maxstat", 2, MaxStatCommand.class);
  29. addCommand("maxskill", 2, MaxSkillCommand.class);
  30. addCommand("resetskill", 2, ResetSkillCommand.class);
  31. addCommand("search", 2, SearchCommand.class);
  32. addCommand("jail", 2, JailCommand.class);
  33. addCommand("unjail", 2, UnJailCommand.class);
  34. addCommand("job", 2, JobCommand.class);
  35. addCommand("unbug", 2, UnBugCommand.class);
  36.  
  37. commandsNameDesc.add(levelCommandsCursor);
  38. }
  39.  
  40. private void registerLv3Commands() {
  41. levelCommandsCursor = new Pair<>((List<String>) new ArrayList<String>(), (List<String>) new ArrayList<String>());
  42.  
  43. addCommand("debuff", 3, DebuffCommand.class);
  44. addCommand("fly", 3, FlyCommand.class);
  45. addCommand("spawn", 3, SpawnCommand.class);
  46. addCommand("mutemap", 3, MuteMapCommand.class);
  47. addCommand("checkdmg", 3, CheckDmgCommand.class);
  48. addCommand("inmap", 3, InMapCommand.class);
  49. addCommand("reloadevents", 3, ReloadEventsCommand.class);
  50. addCommand("reloaddrops", 3, ReloadDropsCommand.class);
  51. addCommand("reloadportals", 3, ReloadPortalsCommand.class);
  52. addCommand("reloadmap", 3, ReloadMapCommand.class);
  53. addCommand("reloadshops", 3, ReloadShopsCommand.class);
  54. addCommand("hpmp", 3, HpMpCommand.class);
  55. addCommand("maxhpmp", 3, MaxHpMpCommand.class);
  56. addCommand("music", 3, MusicCommand.class);
  57. addCommand("monitor", 3, MonitorCommand.class);
  58. addCommand("monitors", 3, MonitorsCommand.class);
  59. addCommand("ignore", 3, IgnoreCommand.class);
  60. addCommand("ignored", 3, IgnoredCommand.class);
  61. addCommand("pos", 3, PosCommand.class);
  62. addCommand("togglecoupon", 3, ToggleCouponCommand.class);
  63. addCommand("togglewhitechat", 3, ChatCommand.class);
  64. addCommand("fame", 3, FameCommand.class);
  65. addCommand("givenx", 3, GiveNxCommand.class);
  66. addCommand("givevp", 3, GiveVpCommand.class);
  67. addCommand("givems", 3, GiveMesosCommand.class);
  68. addCommand("giverp", 3, GiveRpCommand.class);
  69. addCommand("id", 3, IdCommand.class);
  70. addCommand("expeds", 3, ExpedsCommand.class);
  71. addCommand("kill", 3, KillCommand.class);
  72. addCommand("seed", 3, SeedCommand.class);
  73. addCommand("maxenergy", 3, MaxEnergyCommand.class);
  74. addCommand("killall", 3, KillAllCommand.class);
  75. addCommand("notice", 3, NoticeCommand.class);
  76. addCommand("rip", 3, RipCommand.class);
  77. addCommand("openportal", 3, OpenPortalCommand.class);
  78. addCommand("closeportal", 3, ClosePortalCommand.class);
  79. addCommand("pe", 3, PeCommand.class);
  80. addCommand("startevent", 3, StartEventCommand.class);
  81. addCommand("endevent", 3, EndEventCommand.class);
  82. addCommand("startmapevent", 3, StartMapEventCommand.class);
  83. addCommand("stopmapevent", 3, StopMapEventCommand.class);
  84. addCommand("online2", 3, OnlineTwoCommand.class);
  85. addCommand("warpsnowball", 3, WarpSnowBallCommand.class);
  86. addCommand("ban", 3, BanCommand.class);
  87. addCommand("unban", 3, UnBanCommand.class);
  88. addCommand("healmap", 3, HealMapCommand.class);
  89. addCommand("healperson", 3, HealPersonCommand.class);
  90. addCommand("hurt", 3, HurtCommand.class);
  91. addCommand("killmap", 3, KillMapCommand.class);
  92. addCommand("night", 3, NightCommand.class);
  93. addCommand("npc", 3, NpcCommand.class);
  94. addCommand("face", 3, FaceCommand.class);
  95. addCommand("hair", 3, HairCommand.class);
  96. addCommand("startquest", 3, QuestStartCommand.class);
  97. addCommand("completequest", 3, QuestCompleteCommand.class);
  98. addCommand("resetquest", 3, QuestResetCommand.class);
  99. addCommand("timer", 3, TimerCommand.class);
  100. addCommand("timermap", 3, TimerMapCommand.class);
  101. addCommand("timerall", 3, TimerAllCommand.class);
  102. addCommand("warpmap", 3, WarpMapCommand.class);
  103. addCommand("warparea", 3, WarpAreaCommand.class);
  104.  
  105. commandsNameDesc.add(levelCommandsCursor);
  106. }
  107.  
  108. private void registerLv4Commands(){
  109. levelCommandsCursor = new Pair<>((List<String>) new ArrayList<String>(), (List<String>) new ArrayList<String>());
  110.  
  111. addCommand("servermessage", 4, ServerMessageCommand.class);
  112. addCommand("proitem", 4, ProItemCommand.class);
  113. addCommand("seteqstat", 4, SetEqStatCommand.class);
  114. addCommand("exprate", 4, ExpRateCommand.class);
  115. addCommand("mesorate", 4, MesoRateCommand.class);
  116. addCommand("droprate", 4, DropRateCommand.class);
  117. addCommand("questrate", 4, QuestRateCommand.class);
  118. addCommand("travelrate", 4, TravelRateCommand.class);
  119. addCommand("fishrate", 4, FishingRateCommand.class);
  120. addCommand("itemvac", 4, ItemVacCommand.class);
  121. addCommand("forcevac", 4, ForceVacCommand.class);
  122. addCommand("zakum", 4, ZakumCommand.class);
  123. addCommand("horntail", 4, HorntailCommand.class);
  124. addCommand("pinkbean", 4, PinkbeanCommand.class);
  125. addCommand("pap", 4, PapCommand.class);
  126. addCommand("pianus", 4, PianusCommand.class);
  127. addCommand("cake", 4, CakeCommand.class);
  128. addCommand("playernpc", 4, PlayerNpcCommand.class);
  129. addCommand("playernpcremove", 4, PlayerNpcRemoveCommand.class);
  130. addCommand("pnpc", 4, PnpcCommand.class);
  131. addCommand("pnpcremove", 4, PnpcRemoveCommand.class);
  132. addCommand("pmob", 4, PmobCommand.class);
  133. addCommand("pmobremove", 4, PmobRemoveCommand.class);
  134.  
  135. commandsNameDesc.add(levelCommandsCursor);
  136. }
RAW Paste Data