Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.jkjames7.firework;
- import java.util.logging.Logger;
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- public class firework extends JavaPlugin {
- public final Logger logger = Logger.getLogger("Minecraft");
- public static firework plugin;
- public final MyPlayerListener pl = new MyPlayerListener();
- public void onDisable() {
- this.logger.info("FIREWORKS has been Disabled!");
- }
- public void onEnable() {
- this.logger.info("Firework is back has been Enabled!");
- PluginManager pm = getServer().getPluginManager();
- pm.registerEvents(this.pl, this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement