You can now change MMOLib stats when you reach a certain bounty. Added a new section to the config.yml file
Code (YAML):
# Config to use with the MMOLib plugin
MMOLib
:
# whether this feature is enabled
enabled
: false
# A stat modifier, 'attack-modifier' can be named whatever you want
attack-modifier
:
# The bounty value where this modifier takes place
# '0-100' will apply this modifier when the player has a bounty in the range 0 (inclusive) to 100 (exclusive)
# '100' will apply this modifier when the player has a bounty greater than or equal to 100
bounty
: '0-100'
# the stat to change
stat
: ATTACK_DAMAGE
# the value to change
value
: 10
# whether the value will multiply onto the base value or add to it
multiplicative
: false
health-modifier:
bounty
: '100'
stat
: MAX_HEALTH
value
: 10
multiplicative
: true
You can add or remove the modifier sections. Because the configuration sections are modifiable, they will not automatically appear in your config. If you want to use this feature, copy the whole code above, and paste it at the bottom of the config.yml file. If you are generating a new config, this will be present.
Thanks to WaterArchery for submitting a pull request to fix an error when a player didn't have an island.