Added more listeners, changed name #2

Merged
alisolarflare merged 1 commit from Ali into master 2016-10-22 23:27:20 +00:00
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,6 @@
main: iie.HelloWorldPlugin
version: 1.0.0
name: HelloWorldPlugin
name: ButtonHardcorePlugin
commands:
hardcore:
description: Command that teleports you to hardcore world

View file

@ -11,6 +11,8 @@ import org.bukkit.scoreboard.Objective;
import org.bukkit.scoreboard.Scoreboard;
import alisolarflare.RandomTP;
import alisolarflare.listeners.ConflictCompassCraftingListener;
import alisolarflare.listeners.DiamondArmorBlocker;
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 DeathListener(this), this);
getServer().getPluginManager().registerEvents(new BoundaryListener(this), this);
getServer().getPluginManager().registerEvents(new DiamondArmorBlocker(), this);
getServer().getPluginManager().registerEvents(new ConflictCompassCraftingListener(), this);
}