30 |
getCommand("msg").setExecutor( new MsgCommand( getServer() ) ); |
getCommand("msg").setExecutor( new MsgCommand( getServer() ) ); |
31 |
getCommand("stoner").setExecutor( new StonerCommand() ); |
getCommand("stoner").setExecutor( new StonerCommand() ); |
32 |
getCommand("boom").setExecutor( new BoomCommand(this) ); |
getCommand("boom").setExecutor( new BoomCommand(this) ); |
33 |
|
getCommand("spawn").setExecutor( new SpawnCommand() ); |
34 |
|
|
35 |
PluginManager pm = getServer().getPluginManager(); |
PluginManager pm = getServer().getPluginManager(); |
36 |
pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this); |
pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this); |