/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1942 by torben, Wed Mar 20 21:08:46 2013 UTC revision 3063 by torben, Tue Jul 12 14:23:02 2016 UTC
# Line 43  public class HoerupUtilsPlugin extends J Line 43  public class HoerupUtilsPlugin extends J
43                  getCommand("eternalday").setExecutor(new EternalDayCommand(this));                  getCommand("eternalday").setExecutor(new EternalDayCommand(this));
44                  getCommand("getpos").setExecutor( new GetposCommand() );                  getCommand("getpos").setExecutor( new GetposCommand() );
45                  getCommand("msg").setExecutor( new MsgCommand( this ) );                  getCommand("msg").setExecutor( new MsgCommand( this ) );
46                  getCommand("tp").setExecutor( new TeleportCommand() );  //              getCommand("tp").setExecutor( new TeleportCommand() );
47    
48                  getCommand("wall").setExecutor( new WallCommand() );                  getCommand("wall").setExecutor( new WallCommand() );
49                  getCommand("weather").setExecutor( new WeatherCommand() );                  getCommand("weather").setExecutor( new WeatherCommand() );
# Line 73  public class HoerupUtilsPlugin extends J Line 73  public class HoerupUtilsPlugin extends J
73                  getCommand("spawn").setExecutor( new SpawnCommand() );                  getCommand("spawn").setExecutor( new SpawnCommand() );
74                                    
75                  getCommand("template").setExecutor( new TemplateCommand(this) );                  getCommand("template").setExecutor( new TemplateCommand(this) );
76                    getCommand("regenerate").setExecutor( new RegenerateCommand() );
77    
78    
79                  LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() );                  LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() );
80                                    
# Line 83  public class HoerupUtilsPlugin extends J Line 85  public class HoerupUtilsPlugin extends J
85                  MotdHandler motd = new MotdHandler(this);                  MotdHandler motd = new MotdHandler(this);
86                  getCommand("motd").setExecutor( motd );                  getCommand("motd").setExecutor( motd );
87                  pm.registerEvents( motd, this);                  pm.registerEvents( motd, this);
88                    
89                    WayPoint wp = new WayPoint(this);
90                    getCommand("waypoint").setExecutor( wp );
91                    getCommand("setwaypoint").setExecutor( wp );
92                    pm.registerEvents( wp, this);
93    
94    
95                  pm.registerEvents(logintimeHandler, this);                  pm.registerEvents(logintimeHandler, this);
# Line 101  public class HoerupUtilsPlugin extends J Line 108  public class HoerupUtilsPlugin extends J
108                  pm.registerEvents(chunks, this);                  pm.registerEvents(chunks, this);
109                  getCommand("stickychunk").setExecutor(chunks);                            getCommand("stickychunk").setExecutor(chunks);          
110                                    
111                    Mute mute = new Mute(this);
112                    pm.registerEvents(mute, this);
113                    getCommand("mute").setExecutor(mute);
114                    getCommand("unmute").setExecutor(mute);
115                                    
116                    
117                  Runnable ddlInstaller = new Runnable() {                  Runnable ddlInstaller = new Runnable() {

Legend:
Removed from v.1942  
changed lines
  Added in v.3063

  ViewVC Help
Powered by ViewVC 1.1.20