mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Added new ExperienceFormula config and /mcconvert command
This commit is contained in:
@ -294,27 +294,6 @@ Experience:
|
||||
Global: 1.0
|
||||
PVP:
|
||||
Rewards: true
|
||||
Formula:
|
||||
Curve_Modifier: 20
|
||||
|
||||
# Cumulative experience curves will use a players power level instead of their skill level,
|
||||
# players with high power levels will have to gain a lot more experience to reach the next level in every skill.
|
||||
Cumulative_Curve: false
|
||||
|
||||
# Experience gained will get divided by these values. 1.0 by default, 2.0 means two times lower
|
||||
Modifier:
|
||||
Swords: 1.0
|
||||
Taming: 1.0
|
||||
Acrobatics: 1.0
|
||||
Excavation: 1.0
|
||||
Herbalism: 1.0
|
||||
Unarmed: 1.0
|
||||
Woodcutting: 1.0
|
||||
Mining: 1.0
|
||||
Archery: 1.0
|
||||
Axes: 1.0
|
||||
Repair: 1.0
|
||||
Fishing: 1.0
|
||||
Fishing:
|
||||
Base: 800
|
||||
Excavation:
|
||||
|
38
src/main/resources/experienceFormula.yml
Normal file
38
src/main/resources/experienceFormula.yml
Normal file
@ -0,0 +1,38 @@
|
||||
Experience_Formula:
|
||||
# Valid values are: LINEAR and EXPONENTIAL
|
||||
# If an invalid value is entered, this will reset to the default setting, which is LINEAR
|
||||
# LINEAR: base + (level * multiplier)
|
||||
# EXPONENTIAL: multiplier * level ^ exponent + base
|
||||
Curve: LINEAR
|
||||
|
||||
# If invalid values are entered mcMMO will use the default values instead and print an error in the console
|
||||
Linear_Values:
|
||||
base: 1020
|
||||
multiplier: 20
|
||||
Exponential_Values:
|
||||
multiplier: 0.1
|
||||
exponent: 1.80
|
||||
base: 2000
|
||||
|
||||
# Cumulative experience curves will use a players power level instead of their skill level,
|
||||
# players with high power levels will have to gain a lot more experience to reach the next level in every skill.
|
||||
Cumulative_Curve: false
|
||||
|
||||
# Experience gained will get divided by these values. 1.0 by default, 2.0 means two times lower
|
||||
Modifier:
|
||||
Swords: 1.0
|
||||
Taming: 1.0
|
||||
Acrobatics: 1.0
|
||||
Excavation: 1.0
|
||||
Herbalism: 1.0
|
||||
Unarmed: 1.0
|
||||
Woodcutting: 1.0
|
||||
Mining: 1.0
|
||||
Archery: 1.0
|
||||
Axes: 1.0
|
||||
Repair: 1.0
|
||||
Fishing: 1.0
|
||||
|
||||
Conversion:
|
||||
# Old experience will get divided by this modifier
|
||||
Exp_Modifier: 1
|
@ -447,6 +447,9 @@ Commands.mmoupdate.InvalidType=[[RED]]{0} is not a valid database type.
|
||||
Commands.mmoupdate.Start=[[GRAY]]Starting conversion from {0} to {1}...
|
||||
Commands.mmoupdate.Finish=[[GRAY]]Database migration complete; the {1} database now has all data from the {0} database.
|
||||
Commands.mmoshowdb=[[YELLOW]]The currently used database is [[GREEN]]{0}
|
||||
Commands.mcconvert.Same=[[RED]]Already using formula type {0}
|
||||
Commands.mcconvert.Start=[[GRAY]]Starting conversion from {0} to {1} curve
|
||||
Commands.mcconvert.Finish=[[GRAY]]Formula conversion complete; now using an {0} XP curve.
|
||||
Commands.ModDescription=[[RED]]- Read brief mod description
|
||||
Commands.NoConsole=This command does not support console usage.
|
||||
Commands.Notifications.Off=Ability notifications toggled [[RED]]off
|
||||
@ -755,6 +758,7 @@ Commands.Description.mcstats=Show your mcMMO levels and XP
|
||||
Commands.Description.mctop=Show mcMMO leader boards
|
||||
Commands.Description.mmoedit=Edit mcMMO levels for a user
|
||||
Commands.Description.mmoupdate=Migrate mcMMO database from an old database into the current one
|
||||
Commands.Description.mcconvert=Converts formula types
|
||||
Commands.Description.mmoshowdb=Show the name of the current database type (for later use with /mmoupdate)
|
||||
Commands.Description.party=Control various mcMMO party settings
|
||||
Commands.Description.partychat=Toggle mcMMO party chat on/off or send party chat messages
|
||||
|
@ -61,6 +61,8 @@ commands:
|
||||
description: Migrate mcMMO database from an old database type to the current
|
||||
mmoshowdb:
|
||||
description: Show the name of the current database type (for later use with /mmoupdate)
|
||||
mcconvert:
|
||||
description: Convert from linear to exponential formula
|
||||
partychat:
|
||||
aliases: [pc, p]
|
||||
description: Toggle Party chat or send party chat messages
|
||||
|
Reference in New Issue
Block a user