Added the possibility to modify the regen amount depending on the player's SkillAPI main class level
Fixed a bug where players with more than 20 hp (default max value) couldn't regenerate all their health
I've made the config file a bit more clear (and nice). Check the ressource Overview if you want to copy it
Modified an option name in the config file
Important note:
If you have downloaded a previous version and wish to update, you have to update your config file. If you don't, the plugin will throw errors!
Be sure to check the modified 'per-experience' -> 'per-level'
Copy/paste the following in your config file to update it if needed :
Code (YAML):
# !Enable ONLY ONE of the experience-level system! #If set to true, players will have a regen bonus based on their experience level use-experience-level: false
#If set to true, players will have a regen bonus based on their main class experience use-SkillAPI-experience-level: true
#The bonus is applied every 'experience'. For exemple, per-experience: 3 will give a bonus every 3 levels per-level: 3
#The amount of bonus health regen received every 'per-experience' regen-bonus: 0.5
Please if you notice any bug, let me know in the discussion section.