/[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 1851 by torben, Sun Sep 23 18:56:24 2012 UTC
# Line 46  public class HoerupUtilsPlugin extends J Line 46  public class HoerupUtilsPlugin extends J
46                  HomeCommand home = new HomeCommand(this);                  HomeCommand home = new HomeCommand(this);
47                  getCommand("home").setExecutor( home );                  getCommand("home").setExecutor( home );
48                  getCommand("sethome").setExecutor( home );                  getCommand("sethome").setExecutor( home );
49                    getCommand("ophome").setExecutor( home );
50    
51                  DiverCommand diver = new DiverCommand(this );                  DiverCommand diver = new DiverCommand(this );
52                  getCommand("diver").setExecutor( diver );                  getCommand("diver").setExecutor( diver );
# Line 59  public class HoerupUtilsPlugin extends J Line 60  public class HoerupUtilsPlugin extends J
60                  getCommand("platform").setExecutor( generalContractor );                  getCommand("platform").setExecutor( generalContractor );
61                  getCommand("cylinder").setExecutor( generalContractor );                  getCommand("cylinder").setExecutor( generalContractor );
62                  getCommand("createcave").setExecutor( generalContractor );                  getCommand("createcave").setExecutor( generalContractor );
63                    getCommand("spawn").setExecutor( new SpawnCommand() );
64                                    
65                  getCommand("template").setExecutor( new TemplateCommand(this) );                  getCommand("template").setExecutor( new TemplateCommand(this) );
66    
# Line 69  public class HoerupUtilsPlugin extends J Line 70  public class HoerupUtilsPlugin extends J
70                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
71    
72    
73                    MotdHandler motd = new MotdHandler(this);
74                    getCommand("motd").setExecutor( motd );
75                    pm.registerEvents( motd, this);
76    
77    
78                  pm.registerEvents(logintimeHandler, this);                  pm.registerEvents(logintimeHandler, this);
79                  pm.registerEvents(logintimeHandler, this);                  pm.registerEvents(logintimeHandler, this);
80    

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

  ViewVC Help
Powered by ViewVC 1.1.20