--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/12 20:04:12 1723 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/19 09:52:18 1754 @@ -42,11 +42,17 @@ getCommand("diver").setExecutor( diver ); GeneralContractorCommands generalContractor = new GeneralContractorCommands(); + getCommand("replay").setExecutor( generalContractor ); getCommand("levelarea").setExecutor( generalContractor ); getCommand("fillarea").setExecutor( generalContractor ); getCommand("slopearea").setExecutor( generalContractor ); getCommand("setsurface").setExecutor( generalContractor ); + getCommand("platform").setExecutor( generalContractor ); + getCommand("cylinder").setExecutor( generalContractor ); + getCommand("createcave").setExecutor( generalContractor ); + + getCommand("template").setExecutor( new TemplateCommand(this) ); LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); @@ -68,14 +74,14 @@ //pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer(), logintimeHandler.getConfig(), home.getConfig() ), Priority.Normal, this); //pm.registerEvent(Event.Type.CUSTOM_EVENT, new MessageListener(getServer()), Priority.Normal, this); - ApiBukkit api = (ApiBukkit) pm.getPlugin("ApiBukkit") ; + /*ApiBukkit api = (ApiBukkit) pm.getPlugin("ApiBukkit") ; if ( api != null) { StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() ); //api.setRequestController("webstatus", status ); ApiManager.getInstance().registerController( status ); } else { System.out.println("Could not find ApiBukkit"); - } + }*/