Classic mode setting is now UseOldLevelScaling to lessen confusion

This commit is contained in:
nossr50 2019-01-11 01:52:16 -08:00
parent f828084246
commit 7c024314b7
5 changed files with 7 additions and 5 deletions

View File

@ -10,7 +10,7 @@ Key:
Version 2.1.0 Version 2.1.0
+ Prevented exploits involving blocks made from entities (snowmen, etc..) + Prevented exploits involving blocks made from entities (snowmen, etc..)
+ Added JSON integration to all Skill Commands + Added JSON integration to all Skill Commands
+ Added config setting to enable or disable classic mcMMO skill scaling + Added config setting to enable or disable old mcMMO skill scaling (General.UseOldLevelScaling) this is on by default for existing installs
+ You can now disable specific skills in coreskills.yml without the need for permissions + You can now disable specific skills in coreskills.yml without the need for permissions
+ Added links to mcMMO related websites to various commands + Added links to mcMMO related websites to various commands
+ Certain elements of mcMMO's UI have been restyled + Certain elements of mcMMO's UI have been restyled

View File

@ -246,7 +246,7 @@ public class Config extends AutoUpdateConfigLoader {
/* General Settings */ /* General Settings */
//Classic mode will default the value to true if the config file doesn't contain the entry (server is from a previous mcMMO install) //Classic mode will default the value to true if the config file doesn't contain the entry (server is from a previous mcMMO install)
public boolean getClassicMode() { return config.getBoolean("General.Classic_Mode", true); } public boolean getUseOldLevelScaling() { return config.getBoolean("General.UseOldLevelScaling", true); }
//XP needed to level is multiplied by this when using classic mode //XP needed to level is multiplied by this when using classic mode
public int getClassicModeXPFormulaFactor() { return config.getInt("General.Skill_Scaling.Classic_XP_Formula_Factor", 1); } public int getClassicModeXPFormulaFactor() { return config.getInt("General.Skill_Scaling.Classic_XP_Formula_Factor", 1); }

View File

@ -92,7 +92,7 @@ public class mcMMO extends JavaPlugin {
// XP Event Check // XP Event Check
private boolean xpEventEnabled; private boolean xpEventEnabled;
private boolean classicModeEnabled; private boolean UseOldLevelScalingEnabled;
/* Metadata Values */ /* Metadata Values */
public final static String entityMetadataKey = "mcMMO: Spawned Entity"; public final static String entityMetadataKey = "mcMMO: Spawned Entity";

View File

@ -27,7 +27,7 @@ public class FormulaManager {
public FormulaManager() { public FormulaManager() {
/* Setting for Classic Mode (Scales a lot of stuff up by * 10) */ /* Setting for Classic Mode (Scales a lot of stuff up by * 10) */
classicModeEnabled = Config.getInstance().getClassicMode(); classicModeEnabled = Config.getInstance().getUseOldLevelScaling();
classicModeXPFormulaFactor = Config.getInstance().getClassicModeXPFormulaFactor(); classicModeXPFormulaFactor = Config.getInstance().getClassicModeXPFormulaFactor();
loadFormula(); loadFormula();
} }

View File

@ -10,7 +10,9 @@
General: General:
Skill_Scaling: Skill_Scaling:
# Turning this on will scale mcMMO around 1-1000 with default scaling factor # Turning this on will scale mcMMO around 1-1000 with default scaling factor
Classic_Mode: false # Everything in your config related to skill level requirements, skill level bonuses, etc will be multiplied by 10 when this mode is on
# This change is purely cosmetic, it retains the old feel of mcMMO where you could level up thousands of times
UseOldLevelScaling: true
Skill_Scaling: Skill_Scaling:
# This is the value that is skill level requirements are multiplied by in Classic Mode (Default is 10) # This is the value that is skill level requirements are multiplied by in Classic Mode (Default is 10)
Classic_LevelReq_Factor: 10 Classic_LevelReq_Factor: 10