Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.TheLazeboy.superpowers;
- import java.util.logging.Logger;
- import org.bukkit.plugin.PluginDescriptionFile;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Superpowers extends JavaPlugin{
- public final Logger logger = Logger.getLogger("Minecraft");
- public static Superpowers plugin;
- @Override
- public void onDisable() {
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info(pdfFile.getName() + " Has Been Disabled!");
- }
- @Override
- public void onEnable() {
- PluginDescriptionFile pdfFile = this.getDescription();
- this.logger.info(pdfFile.getName() + " Version " + pdfFile.getVersion() + " Has Been Enabled!");
- getCommand("heal").setExecutor(new SuperpowersCommandExecutor(this));
- getCommand("spheal").setExecutor(new SuperpowersCommandExecutor(this));
- getCommand("tp").setExecutor(new SuperpowersCommandExecutor(this));
- getCommand("sptp").setExecutor(new SuperpowersCommandExecutor(this));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement