mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Adding in config nodes for Hardcore Mode (WIP)
This commit is contained in:
parent
3d2b881b0e
commit
323b41fd58
@ -44,6 +44,11 @@ public class Config extends ConfigLoader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 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 */
|
/* Commands */
|
||||||
public boolean getCommandXPLockEnabled() { return config.getBoolean("Commands.xplock.Enabled", true); }
|
public boolean getCommandXPLockEnabled() { return config.getBoolean("Commands.xplock.Enabled", true); }
|
||||||
public boolean getCommandXPRateEnabled() { return config.getBoolean("Commands.xprate.Enabled", true); }
|
public boolean getCommandXPRateEnabled() { return config.getBoolean("Commands.xprate.Enabled", true); }
|
||||||
|
@ -31,6 +31,13 @@ MySQL:
|
|||||||
Server:
|
Server:
|
||||||
Port: 3306
|
Port: 3306
|
||||||
Address: localhost
|
Address: localhost
|
||||||
|
#
|
||||||
|
# Settings for Hardcore mode
|
||||||
|
###
|
||||||
|
Hardcore:
|
||||||
|
Enabled: false
|
||||||
|
Death_Stat_Loss_Penalty_Percentage: 75
|
||||||
|
Vampirism: false
|
||||||
|
|
||||||
#
|
#
|
||||||
# Settings for mcMMO items
|
# Settings for mcMMO items
|
||||||
|
Loading…
Reference in New Issue
Block a user