What's New - RPGRegen now runs on Spigot servers
up to version 1.21.5 - The project is now public and licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
Fixes - General code cleanup
- Modularized the project for better API version management
Notes - ✅ Compatible with Minecraft 1.21.5 and prior versions of the game
- ⚠️ Older versions than 1.18.2 have not been re-tested
- ⚠️ Some features remain untested, but are expected to behave as before
- ❓ Not tested with Paper Spigot
- ☕
Requires Java 17+
---
I will try to keep this repository updated but there is no guarantee of continued updates.
I've re written the entire plugin and made sure it works on Minecraft 1.19.4. It should work with versions 1.17 to 1.20 as I'm not using version dependent classes in the code. As for older versions (prior to 1.17) I don't intend to test it. If there's a high enough demand I'll see what I can do to allow RPGRegen to work on old Minecraft versions.
Also, I changed the url of the source code to a new one containing the entirety of the code. I'll include a README.md file soon enough.
Regarding configurations most of the old options exist but with some minor changes (I'll add particle animations back later).
If you encounter issues prioritize the Github issue section by opening a ticket.
I've re-written the entire plugin-in and greatly improved its functionalities (not in term of content but in term of performance and code reusability/readability). The reload command should be way more efficient and cause much less strange behaviors or issues
Please if you notice any bug, let me know in the discussion section, especially after such code modification.
I changed the version of the plugin for it to work for Spigot 1.14.3 but it is still working for previous versions as nothing else changed. Sorry no new features for today (but it is coming )
Please if you notice any bug, let me know in the discussion section.
Added the possibility to prevent players from being put in combat depending on the damage cause (set in the config) (such as FALL damage)
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!
Copy/paste the following in the Advanced Options section of your config file to update it if needed :
Code (YAML):
#List of all the excluded damage cause. If a damage cause is in this list, it won't put players in combat. The list can be empty #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html for a list of all the damage cause excluded-cause: - FALL
Please if you notice any bug, let me know in the discussion section.
Attempt to fix a weird bug (that might be client side and not related to my plugin, or caused by incompatibilities) that prevent dead players from re-spawning in some occasions. As it was impossible to reproduce the bug to check if the fix is working, I can't promise this update will have any effect. And again, I'm not even sure that this bug comes from my plugin
Please if you notice any bug, let me know in the discussion section.
Added the possibility to choose what type of potions would put the players in combat
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!
Copy/paste the following in the Potions Options section of your config file to update it if needed :
Code (YAML):
#If set to true, drinking any potion will put the player in combat any-potion: false
#List of all the potion effects that would put a player in combat if any-potion is set to false #You can find a list of all the potion types here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html potion-list: - STRENGTH
Please if you notice any bug, let me know in the discussion section.
Fixed a very important bug making the regeneration stacking multiple times, which could cause insane regeneration amount. Please update the plugin!
Added an option to put players in combat state if they consume any potion. I will add more customization about it in later updates (like deciding on what potions put the player in combat state or not)
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!
Copy/paste the following in your config file to update it if needed :
Fixed a bug crashing the plugin and spamming the console with errors if the 'use-SkillAPI-experience-level' option is activated without SkillAPI being present
Please if you notice any bug, let me know in the discussion section.
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.
Added the possibility to modify the player regen amount based on his level
Fixed a bug with float regen amount values
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!
Copy/paste the following in your config file to update it if needed :
Code (YAML):
#If set to true, players will have a regen bonus based on their experience level use-experience-level: false
#The bonus is applied every 'experience'. For exemple, per-experience: 3 will give a bonus every 3 levels per-experience: 3
#The amount of bonus health regen received every 'per-experience' regen-bonus: 0.5
I will add compatibilities with the SkillAPI level system on a future update.
Please if you notice any bug, let me know in the discussion section.
Added the possibility to activate the RPG Regen system only in the desired worlds
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 !
Copy/paste the following in your config file to update it if needed :
Code (YAML):
#If set to true, the plugin will only work in the world listed below per-world-system: false
#If per-world-system is true, RPG Regen will only work in these worlds (even if replace-minecraft-system is true) #The world's name must be exactly the same as the world's folder name worlds: - world
- world_the_end
- world_nether
Please if you notice any bug, let me know in the discussion section.
Made the plugin compatible with Minecraft 1.12.0+ version, using a deprecated Spigot method to check the player's current world natural regeneration gamerule
Please if you notice any bug, let me know in the discussion section.