--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/14 20:25:27 1733 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/19 09:52:18 1754 @@ -49,7 +49,10 @@ 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() ); @@ -71,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"); - } + }*/