From dcf31b638b52811905a49749657144c5c3a42c0c Mon Sep 17 00:00:00 2001 From: cerevisiae Date: Tue, 30 Nov 2010 22:42:41 -0600 Subject: [PATCH] Renaming the plugin from vminecraftPlugin to vMinecraft --- vminecraftPlugin.java | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 vminecraftPlugin.java diff --git a/vminecraftPlugin.java b/vminecraftPlugin.java deleted file mode 100644 index 160418483..000000000 --- a/vminecraftPlugin.java +++ /dev/null @@ -1,32 +0,0 @@ -import java.util.logging.Logger; - -//===================================================================== -//Class: vMinecraftPlugin -//Use: Starts the plugin -//Author: nossr50, TrapAlice, cerevisiae -//===================================================================== -public class vminecraftPlugin extends Plugin { - static final vminecraftListener listener = new vminecraftListener(); - protected static final Logger log = Logger.getLogger("Minecraft"); - - public void enable() { - vminecraftSettings.getInstance().loadSettings(); - vminecraftCommands.loadCommands(); - } - - public void disable() { - //And remove the commands here. - } - - public void initialize() { - //Here we add the hook we're going to use. In this case it's the arm swing event. - etc.getLoader().addListener(PluginLoader.Hook.CHAT, listener, this, PluginListener.Priority.MEDIUM); - etc.getLoader().addListener(PluginLoader.Hook.COMMAND, listener, this, PluginListener.Priority.HIGH); - etc.getLoader().addListener(PluginLoader.Hook.IGNITE, listener, this, PluginListener.Priority.HIGH); - etc.getLoader().addListener(PluginLoader.Hook.DAMAGE, listener, this, PluginListener.Priority.MEDIUM); - etc.getLoader().addListener(PluginLoader.Hook.EXPLODE, listener, this, PluginListener.Priority.HIGH); - if(etc.getInstance().isHealthEnabled()){ - etc.getLoader().addListener(PluginLoader.Hook.HEALTH_CHANGE, listener, this, PluginListener.Priority.MEDIUM); - } - } -}