Version 1.1
This update introduces several new features for pet management, adds a configuration file, and resolves a few issues with damage protection.
Added
- A new command,
/petcall
, is now available to teleport a player's tamed pets to their location. Includes aliases:/callpet
,/pcall
. - A feature to "domesticate" non-tameable animals by right-clicking them with a bone has been added. These animals are protected from all damage.
- The
/petcall
command is now controlled by the permission nodeprotectmypet.command.call
(defaults to OP).
Changes & Improvements
- Protection has been expanded to cover environmental damage sources, such as fire, lava, fall damage, and potions.
- The 'domesticated' status of animals is now saved using Persistent Data Containers, allowing the status to persist through server restarts.
- Removed the previous background task for tracking pet locations to improve server performance.
Fixed
- An issue where damage from projectiles (e.g., arrows) was not correctly attributed to the shooter has been resolved.
Configuration
- A
config.yml
file has been added to allow server administrators to customize plugin features. - Key options include toggling owner damage, enabling/disabling the domestication feature, and setting the cooldown, cost, and range for the
/petcall
command. - All messages shown to players can now be edited in the configuration file.