Перейти к содержимому
Mineforgian

ProtectMyPet

A plugin that allows you to disable damage to your pet.

Загрузки
235
Подписчики
1
Обновлён
17 июня 2025 г.
Лицензия
All-Rights-Reserved

Опубликован 9 мая 2025 г.

ProtectMyPet - Complete Pet Protection & Management

ProtectMyPet is a lightweight and powerful plugin designed to solve one main problem: keeping your loyal companions safe. It not only protects them from all types of damage but also gives you convenient tools to manage them, ensuring your pets are never lost again.


Core Features

  • Total Damage Protection: Pets are fully protected from all threats: attacks from other players and mobs, fire, lava, fall damage, potions, and other environmental hazards.

  • "Domestication" System: Make any passive animal (cow, sheep, chicken) your personal pet simply by right-clicking it with a bone. These animals also receive full protection, and their status persists across server restarts.

  • Summon Command /petcall: Never lose your pets again! Use the command to instantly teleport all of your animals to your location.


For Server Admins

  • Flexible Configuration: The plugin comes with a detailed config.yml file that allows you to customize every feature:

    • Enable or disable damage from the pet's owner.
    • Activate or deactivate the domestication feature.
    • Configure the cooldown, cost (in XP), and range for the /petcall command.
  • Permissions Support: Access to the summon command is controlled via the protectmypet.command.call permission node (defaults to OP only).

  • Lightweight Design: The plugin is designed to have a minimal impact on server performance.


Commands & Permissions

  • /petcall (aliases: /callpet, /pcall) - Summons your pets.
    • Permission: protectmypet.command.call

Ченджлог

1.2Релиз1.21.8, 1.21.9, 1.21.10 · 17 июня 2025 г.
  • Updated to support Minecraft versions from 1.16.5 to 1.21.x.
  • Improved code stability and removed unused components.
1.1Релиз1.20.4, 1.20.5, 1.20.6 · 16 июня 2025 г.

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 node protectmypet.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.
1.0Релиз1.20.4, 1.20.5, 1.20.6 · 9 мая 2025 г.

Release version.

Комментарии

Загружаем…