Advertisement
ZP4RKER

Untitled

Aug 26th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.jay.factionessentials;
  2.  
  3. import java.util.HashMap;
  4.  
  5. import org.bukkit.command.Command;
  6. import org.bukkit.command.CommandSender;
  7. import org.bukkit.event.Listener;
  8. import org.bukkit.plugin.java.JavaPlugin;
  9.  
  10. import commands.Mute;
  11.  
  12. public class Main extends JavaPlugin implements Listener, MyInterface
  13. {
  14.  
  15. public HashMap<String, String> staffchat = new HashMap<String, String>();
  16.  
  17. @Override
  18. public void onEnable()
  19. {
  20. getCommand("help").setExecutor(new Help(this));
  21. getCommand("gm").setExecutor(new Gamemode(this));
  22. getCommand("kick").setExecutor(new Kick(this));
  23. getCommand("heal").setExecutor(new Heal(this));
  24. getCommand("kill").setExecutor(new Heal(this));
  25. getCommand("broadcast").setExecutor(new Broadcast(this));
  26. getCommand("clearinventory").setExecutor(new ClearInventory(this));
  27. getCommand("admin").setExecutor(new AdminMode(this));
  28. getCommand("cc").setExecutor(new ClearChat(this));
  29. getCommand("pcc").setExecutor(new ClearChat(this));
  30. getCommand("fly").setExecutor(new AdminMode(this));
  31. getCommand("leave").setExecutor(new Kick(this));
  32. getCommand("ban").setExecutor(new Ban(this));
  33. getCommand("unban").setExecutor(new Ban(this));
  34. getCommand("mutechat").setExecutor(new Globalmute(this));
  35. getCommand("kit").setExecutor(new OpKits(this));
  36. getCommand("fakeban").setExecutor(new Ban(this));
  37. }
  38. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
  39. return false;
  40. }
  41. @Override
  42. public void onEnable1() {
  43. // TODO Auto-generated method stub
  44.  
  45. }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement