diff --git a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigExperienceFormula.java b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigExperienceFormula.java index eea151bac..4ccec1ba3 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigExperienceFormula.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigExperienceFormula.java @@ -10,7 +10,7 @@ import java.util.HashMap; @ConfigSerializable public class ConfigExperienceFormula { - public static final boolean CUMULATIVE_CURVE_DEFAULT = false; + private static final boolean CUMULATIVE_CURVE_DEFAULT = false; private static final HashMap SKILL_FORMULA_MODIFIER_DEFAULT; static { diff --git a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelEarlyGameBoost.java b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelEarlyGameBoost.java index 3158e9833..d35e9b7c3 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelEarlyGameBoost.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelEarlyGameBoost.java @@ -6,8 +6,8 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @ConfigSerializable public class ConfigLevelEarlyGameBoost { - public static final boolean EARLY_GAME_BOOST_DEFAULT = true; - public static final double BOOST_MULTIPLIER_DEFAULT = 0.05D; + private static final boolean EARLY_GAME_BOOST_DEFAULT = true; + private static final double BOOST_MULTIPLIER_DEFAULT = 0.05D; @Setting(value = "Enabled", comment = "If set to true, the early game XP boost will be applied." + "\nDefault value: " + EARLY_GAME_BOOST_DEFAULT) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelingDiminishedReturns.java b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelingDiminishedReturns.java index bf44d61e1..f17345a6c 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelingDiminishedReturns.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigLevelingDiminishedReturns.java @@ -11,17 +11,8 @@ import static com.gmail.nossr50.datatypes.skills.PrimarySkillType.*; @ConfigSerializable public class ConfigLevelingDiminishedReturns { - /* - Diminished_Returns: - #This is the minimum amount of XP a player will earn after reaching the timed threshold (this is to prevent punishing a player too hard for earning XP) - ## A value of 1 would mean that a player gets FULL XP, which defeats the purpose of diminished returns, the default value is 0.05 (5% minimum XP) - ### Set this value to 0 to turn it off - Guaranteed_Minimum_Percentage: 0.05 - Enabled: false - */ - private static final HashMap SKILL_THRESHOLDS_DEFAULT; - public static final float GURANTEED_MIN_DEFAULT = 0.05f; + private static final float GUARANTEED_MIN_DEFAULT = 0.05f; static { SKILL_THRESHOLDS_DEFAULT = new HashMap<>(); @@ -59,7 +50,7 @@ public class ConfigLevelingDiminishedReturns { @Setting(value = "Guaranteed-Minimum", comment = "The multiplier applied to an XP gain when a player has reached diminishing returns to guarantee that some XP is still gained." + "\nPlayers will gain (raw XP * guaranteedMinimum) if they are under sever enough diminishing return penalty (ie their XP would normally fall below this value)" + "\nDefault value: ") - private float guaranteedMinimums = GURANTEED_MIN_DEFAULT; + private float guaranteedMinimums = GUARANTEED_MIN_DEFAULT; public int getSkillThreshold(PrimarySkillType primarySkillType) { if (skillThresholds.get(primarySkillType) == null) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigSectionLevelCaps.java b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigSectionLevelCaps.java index dd50b03c3..5fa7e1199 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigSectionLevelCaps.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/playerleveling/ConfigSectionLevelCaps.java @@ -6,7 +6,7 @@ import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @ConfigSerializable public class ConfigSectionLevelCaps { /* DEFAULT VALUES */ - public static final boolean TRUNCATE_SKILLS_ABOVE_CAP_DEFAULT = true; + private static final boolean TRUNCATE_SKILLS_ABOVE_CAP_DEFAULT = true; /* * CONFIG NODES diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8fd6cbd67..3f85560a1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -159,10 +159,6 @@ commands: aliases: [mcsb] description: Manage your mcMMO scoreboard permission: mcmmo.commands.mcscoreboard - mcfools: - aliases: [macho, jumping, throwing, wrecking, crafting, walking, swimming, falling, climbing, flying, diving, piggy] - description: Deploy jokes - permission: mcmmo.commands.mcfools mcmmoreloadlocale: aliases: [mcreloadlocale] description: Reloads locale