|
@@ -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); }
|