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

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

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

revision 1590 by torben, Tue Aug 16 16:04:01 2011 UTC revision 1597 by torben, Mon Sep 19 15:19:07 2011 UTC
# Line 35  public class HoerupUtilsPlugin extends J Line 35  public class HoerupUtilsPlugin extends J
35                  getCommand("tp").setExecutor( new TeleportCommand() );                  getCommand("tp").setExecutor( new TeleportCommand() );
36    
37                  getCommand("wall").setExecutor( new WallCommand() );                  getCommand("wall").setExecutor( new WallCommand() );
38                    getCommand("weather").setExecutor( new WeatherCommand() );
39    
40    
41                    HomeCommand home = new HomeCommand(this);
42                    getCommand("home").setExecutor( home );
43                    getCommand("sethome").setExecutor( home );
44                    
45                                    
46                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
47                  pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);                  //pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);
48                  pm.registerEvent(Event.Type.ENTITY_DEATH, new RespawnHandler.PlayerDeathListener(this.getDataFolder()), Priority.Normal, this);                          //pm.registerEvent(Event.Type.ENTITY_DEATH, new RespawnHandler.PlayerDeathListener(this.getDataFolder()), Priority.Normal, this);              
49                                    
50                  //register web plugins                  //register web plugins
51                  pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer()), Priority.Normal, this);                  pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer()), Priority.Normal, this);
# Line 56  public class HoerupUtilsPlugin extends J Line 63  public class HoerupUtilsPlugin extends J
63                  pm.registerEvent(Event.Type.PLAYER_QUIT, superMiner.getPlayerQuitListener(), Priority.Normal, this);                  pm.registerEvent(Event.Type.PLAYER_QUIT, superMiner.getPlayerQuitListener(), Priority.Normal, this);
64                  getCommand("superminer").setExecutor(superMiner);                  getCommand("superminer").setExecutor(superMiner);
65    
66                  pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this);  
67                    //pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this);
68    
69                                    
70                  DoorBlockListener secretDoor = new DoorBlockListener(this);                  DoorBlockListener secretDoor = new DoorBlockListener(this);

Legend:
Removed from v.1590  
changed lines
  Added in v.1597

  ViewVC Help
Powered by ViewVC 1.1.20