Advertisement
Guest User

Main

a guest
Mar 26th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. package com.gmail.modderitaliano.myfristplugin;
  2.  
  3. import org.bukkit.plugin.java.JavaPlugin;
  4.  
  5. public final class Main extends JavaPlugin {
  6.  
  7. @Override
  8. public void onEnable(){
  9. getLogger().info("---------------------------------");
  10. getLogger().info("");
  11. getLogger().info(" Il Mio Primo Plugin");
  12. getLogger().info("");
  13. getLogger().info("Creato Da : Carmine Cella");
  14. getLogger().info("");
  15. getLogger().info("Stato: §aAttivo");
  16. getLogger().info("---------------------------------");
  17. getCommand("lagg").setExecutor(new Commandi());
  18. getCommand("test").setExecutor(new Commandi2());
  19. getServer().getPluginManager().registerEvents(new Events(), this);
  20. }
  21. @Override
  22. public void onDisable(){
  23. getLogger().info("---------------------------------");
  24. getLogger().info("");
  25. getLogger().info(" Il Mio Primo Plugin");
  26. getLogger().info("");
  27. getLogger().info("Creato Da : Carmine Cella");
  28. getLogger().info("");
  29. getLogger().info("Stato: §cDisattivato");
  30. getLogger().info("---------------------------------");
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement