Adding in config nodes for Hardcore Mode (WIP)

This commit is contained in:
nossr50
2012-04-30 06:21:14 -07:00
parent 3d2b881b0e
commit 323b41fd58
2 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,11 @@ public class Config extends ConfigLoader {
return "";
}
}
/* Hardcore Mode */
public boolean getHardcoreEnabled() { return config.getBoolean("Hardcore.Enabled", false); }
public double getHardcoreDeathStatPenaltyPercentage() { return config.getDouble("Hardcore.Death_Stat_Loss_Penalty_Percentage", 75); }
public boolean getHardcoreVampirismEnabled() { return config.getBoolean("Hardcore.Vampirism", false); }
/* Commands */
public boolean getCommandXPLockEnabled() { return config.getBoolean("Commands.xplock.Enabled", true); }