/[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 1807 by torben, Sun Jun 3 18:05:09 2012 UTC revision 1848 by torben, Sat Sep 22 14:58:13 2012 UTC
# Line 59  public class HoerupUtilsPlugin extends J Line 59  public class HoerupUtilsPlugin extends J
59                  getCommand("platform").setExecutor( generalContractor );                  getCommand("platform").setExecutor( generalContractor );
60                  getCommand("cylinder").setExecutor( generalContractor );                  getCommand("cylinder").setExecutor( generalContractor );
61                  getCommand("createcave").setExecutor( generalContractor );                  getCommand("createcave").setExecutor( generalContractor );
62                    getCommand("spawn").setExecutor( new SpawnCommand() );
63                                    
64                  getCommand("template").setExecutor( new TemplateCommand(this) );                  getCommand("template").setExecutor( new TemplateCommand(this) );
65    
# Line 69  public class HoerupUtilsPlugin extends J Line 69  public class HoerupUtilsPlugin extends J
69                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
70    
71    
72                    MotdHandler motd = new MotdHandler(this);
73                    getCommand("motd").setExecutor( motd );
74                    pm.registerEvents( motd, this);
75    
76    
77                  pm.registerEvents(logintimeHandler, this);                  pm.registerEvents(logintimeHandler, this);
78                  pm.registerEvents(logintimeHandler, this);                  pm.registerEvents(logintimeHandler, this);
79    

Legend:
Removed from v.1807  
changed lines
  Added in v.1848

  ViewVC Help
Powered by ViewVC 1.1.20