Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. package de.nxtmaster.main;
  2.  
  3. import de.nxtmaster.commands.*;
  4. import de.nxtmaster.listeners.PlayerListener;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. import java.util.ArrayList;
  8. import java.util.UUID;
  9.  
  10. public class Main extends JavaPlugin {
  11.  
  12. public static String prefix = "§7[§bNxt§aMaster§7] §3";
  13.  
  14. public ArrayList<UUID> gods = new ArrayList<UUID>();
  15.  
  16. public ArrayList<UUID> muted = new ArrayList<UUID>();
  17.  
  18.  
  19.  
  20.  
  21. @Override
  22. public void onDisable() {
  23.  
  24. }
  25.  
  26. @Override
  27. public void onEnable() {
  28. getCommand("heal").setExecutor(new Heal());
  29. getCommand("Kill").setExecutor(new Kill());
  30. getCommand("fly").setExecutor(new Fly());
  31. getCommand("God").setExecutor(new God(this));
  32. getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
  33. getCommand("vanish").setExecutor(new Vanish());
  34. getCommand("Gm").setExecutor(new Gm());
  35. getCommand("i").setExecutor(new Mute(this));
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement