24 |
getCommand("mapgen").setExecutor(new MapgenCommand(this)); |
getCommand("mapgen").setExecutor(new MapgenCommand(this)); |
25 |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
getCommand("eternalday").setExecutor(new EternalDayCommand(this)); |
26 |
getCommand("grass").setExecutor(new GrassCommand()); |
getCommand("grass").setExecutor(new GrassCommand()); |
27 |
|
getCommand("getpos").setExecutor( new GetposCommand() ); |
28 |
|
getCommand("zapme").setExecutor( new ZapmeCommand() ); |
29 |
|
getCommand("zap").setExecutor( new ZapCommand() ); |
30 |
|
getCommand("msg").setExecutor( new MsgCommand( getServer() ) ); |
31 |
|
getCommand("stoner").setExecutor( new StonerCommand() ); |
32 |
|
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); |