--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2013/03/20 21:08:46 1942 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2016/07/12 14:23:02 3063 @@ -43,7 +43,7 @@ getCommand("eternalday").setExecutor(new EternalDayCommand(this)); getCommand("getpos").setExecutor( new GetposCommand() ); getCommand("msg").setExecutor( new MsgCommand( this ) ); - getCommand("tp").setExecutor( new TeleportCommand() ); +// getCommand("tp").setExecutor( new TeleportCommand() ); getCommand("wall").setExecutor( new WallCommand() ); getCommand("weather").setExecutor( new WeatherCommand() ); @@ -73,6 +73,8 @@ getCommand("spawn").setExecutor( new SpawnCommand() ); getCommand("template").setExecutor( new TemplateCommand(this) ); + getCommand("regenerate").setExecutor( new RegenerateCommand() ); + LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() ); @@ -83,6 +85,11 @@ MotdHandler motd = new MotdHandler(this); getCommand("motd").setExecutor( motd ); pm.registerEvents( motd, this); + + WayPoint wp = new WayPoint(this); + getCommand("waypoint").setExecutor( wp ); + getCommand("setwaypoint").setExecutor( wp ); + pm.registerEvents( wp, this); pm.registerEvents(logintimeHandler, this); @@ -101,6 +108,10 @@ pm.registerEvents(chunks, this); getCommand("stickychunk").setExecutor(chunks); + Mute mute = new Mute(this); + pm.registerEvents(mute, this); + getCommand("mute").setExecutor(mute); + getCommand("unmute").setExecutor(mute); Runnable ddlInstaller = new Runnable() {