Added more listeners, changed name
This commit is contained in:
parent
034391d0c8
commit
6dab69e2c9
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
main: iie.HelloWorldPlugin
|
main: iie.HelloWorldPlugin
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
name: HelloWorldPlugin
|
name: ButtonHardcorePlugin
|
||||||
commands:
|
commands:
|
||||||
hardcore:
|
hardcore:
|
||||||
description: Command that teleports you to hardcore world
|
description: Command that teleports you to hardcore world
|
||||||
|
|
|
@ -11,6 +11,8 @@ import org.bukkit.scoreboard.Objective;
|
||||||
import org.bukkit.scoreboard.Scoreboard;
|
import org.bukkit.scoreboard.Scoreboard;
|
||||||
|
|
||||||
import alisolarflare.RandomTP;
|
import alisolarflare.RandomTP;
|
||||||
|
import alisolarflare.listeners.ConflictCompassCraftingListener;
|
||||||
|
import alisolarflare.listeners.DiamondArmorBlocker;
|
||||||
|
|
||||||
|
|
||||||
public class HelloWorldPlugin extends JavaPlugin {
|
public class HelloWorldPlugin extends JavaPlugin {
|
||||||
|
@ -48,6 +50,8 @@ public class HelloWorldPlugin extends JavaPlugin {
|
||||||
getServer().getPluginManager().registerEvents(new JoinListener(this), this);
|
getServer().getPluginManager().registerEvents(new JoinListener(this), this);
|
||||||
getServer().getPluginManager().registerEvents(new DeathListener(this), this);
|
getServer().getPluginManager().registerEvents(new DeathListener(this), this);
|
||||||
getServer().getPluginManager().registerEvents(new BoundaryListener(this), this);
|
getServer().getPluginManager().registerEvents(new BoundaryListener(this), this);
|
||||||
|
getServer().getPluginManager().registerEvents(new DiamondArmorBlocker(), this);
|
||||||
|
getServer().getPluginManager().registerEvents(new ConflictCompassCraftingListener(), this);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue