--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/08/16 07:44:12 1589 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/09/19 15:19:07 1597 @@ -33,10 +33,19 @@ getCommand("boom").setExecutor( new BoomCommand(this) ); getCommand("spawn").setExecutor( new SpawnCommand() ); getCommand("tp").setExecutor( new TeleportCommand() ); + + getCommand("wall").setExecutor( new WallCommand() ); + getCommand("weather").setExecutor( new WeatherCommand() ); + + + HomeCommand home = new HomeCommand(this); + getCommand("home").setExecutor( home ); + getCommand("sethome").setExecutor( home ); + PluginManager pm = getServer().getPluginManager(); - pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this); - pm.registerEvent(Event.Type.ENTITY_DEATH, new RespawnHandler.PlayerDeathListener(this.getDataFolder()), Priority.Normal, this); + //pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this); + //pm.registerEvent(Event.Type.ENTITY_DEATH, new RespawnHandler.PlayerDeathListener(this.getDataFolder()), Priority.Normal, this); //register web plugins pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer()), Priority.Normal, this); @@ -54,7 +63,8 @@ pm.registerEvent(Event.Type.PLAYER_QUIT, superMiner.getPlayerQuitListener(), Priority.Normal, this); getCommand("superminer").setExecutor(superMiner); - pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this); + + //pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this); DoorBlockListener secretDoor = new DoorBlockListener(this);