Added '/hardcore' and '/vampirism' commands for toggling these modes on

or off, along with the necessary permissions nodes.
This commit is contained in:
GJ
2013-02-13 08:15:38 -05:00
parent 7350fdb99c
commit 0319e2cbff
12 changed files with 309 additions and 19 deletions

View File

@@ -260,10 +260,7 @@ public class mcMMO extends JavaPlugin {
pluginManager.registerEvents(entityListener, this);
pluginManager.registerEvents(inventoryListener, this);
pluginManager.registerEvents(worldListener, this);
if (Config.getInstance().getHardcoreEnabled()) {
pluginManager.registerEvents(hardcoreListener, this);
}
pluginManager.registerEvents(hardcoreListener, this);
}
/**
@@ -297,6 +294,8 @@ public class mcMMO extends JavaPlugin {
CommandRegistrationHelper.registerXprateCommand();
CommandRegistrationHelper.registerMmoupdateCommand();
CommandRegistrationHelper.registerSkillresetCommand();
CommandRegistrationHelper.registerHardcoreCommand();
CommandRegistrationHelper.registerVampirismCommand();
// Spout commands
CommandRegistrationHelper.registerXplockCommand();