Merge pull request #2 from TBMCPlugins/Ali

Added more listeners, changed name
This commit is contained in:
alisolarflare 2016-10-22 19:27:20 -04:00 committed by GitHub
commit 1897c1361b
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);
}