--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/06/03 18:05:09 1807 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/09/22 14:58:13 1848 @@ -59,7 +59,7 @@ getCommand("platform").setExecutor( generalContractor ); getCommand("cylinder").setExecutor( generalContractor ); getCommand("createcave").setExecutor( generalContractor ); - + getCommand("spawn").setExecutor( new SpawnCommand() ); getCommand("template").setExecutor( new TemplateCommand(this) ); @@ -69,6 +69,11 @@ PluginManager pm = getServer().getPluginManager(); + MotdHandler motd = new MotdHandler(this); + getCommand("motd").setExecutor( motd ); + pm.registerEvents( motd, this); + + pm.registerEvents(logintimeHandler, this); pm.registerEvents(logintimeHandler, this);