Advertisement
foldagerdk

Notif

Jan 11th, 2013
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.01 KB | None | 0 0
  1. package foldager;
  2.  
  3. import java.util.logging.Logger;
  4. import org.bukkit.plugin.PluginDescriptionFile;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class Notif extends JavaPlugin
  8. {
  9.   public static Notif plugin;
  10.   public final Logger logger = Logger.getLogger("Minecraft");
  11.   public final Orelis OreLis = new Orelis();
  12.  
  13.   public void onEnable()
  14.   {
  15.     getServer().getPluginManager().registerEvents(this.OreLis, this);
  16.     PluginDescriptionFile pdfile = getDescription();
  17.     this.logger.info("[" + pdfile.getName() + "] v" + pdfile.getVersion() + " by Foldager has been enabled!");
  18.     this.logger.info("[" + pdfile.getName() + "] Please subscribe to YouTube.com/FoldagerGaming");
  19.     this.logger.info("[" + pdfile.getName() + "] BukkitDev: http://dev.bukkit.org/server-mods/foldagers-orenotifier");
  20.   }
  21.  
  22.   public void onDisable()
  23.   {
  24.     PluginDescriptionFile pdfile = getDescription();
  25.     this.logger.info("[" + pdfile.getName() + "] v" + pdfile.getVersion() + " by Foldager has been disabled!");
  26.   }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement