Advertisement
Guest User

AB.java

a guest
Dec 29th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package io.github.Tudedude100;
  2.  
  3. import org.bukkit.plugin.PluginDescriptionFile;
  4. import org.bukkit.plugin.java.JavaPlugin;
  5.  
  6. public class AB extends JavaPlugin{
  7.  
  8. public void onEnable(){
  9. PluginDescriptionFile p = this.getDescription();
  10. getLogger().info("AnnounceBars v" + p.getVersion() + " has been woken up. Goooood morning!");
  11. getConfig().options().copyDefaults(true);
  12. saveConfig();
  13. }
  14. public void onDisable(){
  15. getLogger().info("AnnounceBars v0.0 has gone to sleep. Good night.");
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement