Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.fishchunks.AntiPlanetMC;
- import java.util.logging.Logger;
- import org.bukkit.plugin.PluginDescriptionFile;
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- public class AntiPlanetMC extends JavaPlugin{
- public final Logger logger = Logger.getLogger("Minecraft");
- public static AntiPlanetMC plugin;
- public static PluginManager pm;
- public final AntiPlanetMCPlayerListener pl = new AntiPlanetMCPlayerListener();
- public void onEnable(){
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info(pdfFile.getName() + " Has Been Enabled." + pdfFile.getVersion());
- pm.registerEvents(this.pl, this);
- }
- public void onDisable(){
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info(pdfFile.getName() + " Has Been Disabled.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement