Support's for 1.21.5
Installation:
- Download the Plugin:
- Once you've built your plugin (killMobGainHp.jar), download it to your local machine.
- Install on Your Server:
- Drag and drop the .jar file into the plugins/ folder of your PaperMC server.
- Restart or reload the server to load the plugin.
- Verify the Installation:
- Check your console for a message like:
[INFO] [killMobGainHp] KillMobGainHp enabled
Plugin Features:
- Health Restoration:
- Every time a player kills a mob, they will receive a health boost if their health is not full.
- Small Health Boost: If their health is low, they will receive a larger health gain (around 3 points).
- Normal Health Boost: If their health is less than full but not extremely low, they receive a smaller boost (around 1 point).
- Hunger Restoration:
- When players kill mobs, their hunger bar will automatically restore.
- Low Hunger: If a player’s hunger bar is critically low, they will receive a significant hunger boost (around 10-20%).
- Normal Hunger Boost: For a hunger bar that is not low, they will gain a small increase (around 1%).
- Commands:
Currently, there are no specific commands for this plugin. The plugin runs automatically based on mob kills, so no command input is required.
Warning - Under Development:
Please note that this plugin is
still under development. While it works as intended, some features or configurations might change in future updates. Use it on your server with caution, and feel free to report any bugs or suggest improvements.