--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/06/04 10:41:21 1499 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/06/24 11:13:59 1522 @@ -26,7 +26,11 @@ getCommand("grass").setExecutor(new GrassCommand()); getCommand("getpos").setExecutor( new GetposCommand() ); getCommand("zapme").setExecutor( new ZapmeCommand() ); + getCommand("zap").setExecutor( new ZapCommand() ); getCommand("msg").setExecutor( new MsgCommand( getServer() ) ); + getCommand("stoner").setExecutor( new StonerCommand() ); + getCommand("boom").setExecutor( new BoomCommand(this) ); + getCommand("spawn").setExecutor( new SpawnCommand() ); PluginManager pm = getServer().getPluginManager(); pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this); @@ -41,6 +45,13 @@ pm.registerEvent(Event.Type.BLOCK_DAMAGE, powerMiner, Priority.Normal, this); pm.registerEvent(Event.Type.PLAYER_QUIT, powerMiner.getPlayerQuitListener(), Priority.Normal, this); getCommand("powerminer").setExecutor(powerMiner); + + + SuperMiner superMiner = new SuperMiner(); + pm.registerEvent(Event.Type.BLOCK_DAMAGE, superMiner, Priority.Normal, this); + pm.registerEvent(Event.Type.PLAYER_QUIT, superMiner.getPlayerQuitListener(), Priority.Normal, this); + getCommand("superminer").setExecutor(superMiner); + } }