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