Guest User

Untitled

a guest
May 3rd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. package me.kappaborr.glowy;
  2.  
  3. import java.util.logging.Logger;
  4.  
  5. import me.kappaborr.glowy.komenda.Komenda;
  6.  
  7. import org.bukkit.plugin.PluginDescriptionFile;
  8. import org.bukkit.plugin.java.JavaPlugin;
  9.  
  10. public class Main extends JavaPlugin{
  11.  
  12. public final Logger logger = Logger.getLogger("Minecraft");
  13. public static Main plugin;
  14.  
  15. @Override
  16. public void onDisable() {
  17. PluginDescriptionFile pdf = getDescription();
  18. this.logger.info(pdf.getName() + " Zostal wylaczony !");
  19. }
  20.  
  21. @Override
  22. public void onEnable() {
  23. PluginDescriptionFile pdf = getDescription();
  24. this.logger.info(pdf.getName() + " Zostal wlaczony !");
  25.  
  26. getCommand("glowa").setExecutor(new Komenda(this));
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment