Guest User

Untitled

a guest
May 30th, 2016
34
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package scraftpvp.core;
  2.  
  3.  
  4.  
  5.  
  6. import org.bukkit.Bukkit;
  7. import org.bukkit.event.Listener;
  8. import org.bukkit.plugin.java.JavaPlugin;
  9.  
  10. import scraftcore.galaxyset.GalaxyArmor;
  11. import scraftcore.rewardsystem.rewards;
  12. import scraftpvp.commands.Envoy;
  13. import scraftpvp.commands.SpawnGolem;
  14. import scraftpvp.commands.Yell;
  15.  
  16. public class Main extends JavaPlugin implements Listener{
  17.  
  18.  
  19.  
  20. public void onEnable(){
  21. Bukkit.getServer().getPluginManager().registerEvents(new GalaxyArmor(), this);
  22. getCommand("envoy").setExecutor(new Envoy());
  23. getCommand("alert").setExecutor(new Yell());
  24. getCommand("rewards").setExecutor(new rewards());
  25. getCommand("spawngolem").setExecutor(new SpawnGolem());
  26.  
  27.  
  28.  
  29. }
  30.  
  31. public void onDisable(){
  32.  
  33. }
  34.  
  35.  
  36. }
RAW Paste Data Copied