Advertisement
ZP4RKER

Untitled

Sep 19th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.jay.dopekits;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.event.Listener;
  5. import org.bukkit.plugin.PluginManager;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. public class Main extends JavaPlugin implements Listener {
  9.  
  10.  
  11. public void onEnable() {
  12.  
  13. @SuppressWarnings("unused")
  14. PluginManager pm = Bukkit.getServer().getPluginManager();
  15. pm.registerEvents(new Mod(this), this);
  16.  
  17. //EVENTS
  18.  
  19. getCommand("cc").setExecutor(new ChatClear());
  20. getCommand("help").setExecutor(new Help());
  21. getCommand("heal").setExecutor(new Heal());
  22. getCommand("creative").setExecutor(new Creative());
  23. getCommand("survival").setExecutor(new Survival());
  24. getCommand("kill").setExecutor(new Kill());
  25. getCommand("suicide").setExecutor(new Kill());
  26. getCommand("kick").setExecutor(new Kick());
  27. getCommand("ban").setExecutor(new Ban());
  28. getCommand("unban").setExecutor(new UnBan());
  29. getCommand("tp").setExecutor(new Utils());
  30. getCommand("tphere").setExecutor(new Utils());
  31. getCommand("myip").setExecutor(new Utils());
  32. getCommand("lag").setExecutor(new Lag());
  33. getCommand("dopereload").setExecutor(new Reload());
  34. getCommand("gm").setExecutor(new Gm());
  35. getCommand("fly").setExecutor(new Fly());
  36. getCommand("investigate").setExecutor(new Admin());
  37. getCommand("mod").setExecutor(new Mod(this));
  38. getCommand("admin").setExecutor(new AdminSwag());
  39. getCommand("default").setExecutor(new Default());
  40. }
  41.  
  42.  
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement