HomeJavaModsDeadPetRevive
DeadPetRevive
Description
DeadPetRevive is a simple and lightweight plugin for Spigot/Paper 1.21 that prevents players from permanently losing their tamed pets. Whenever a tamed mob dies, its essential data (type, custom name) is stored so players can bring their pet back to life later using a special item.

Features
Installation
  1. Download
    • Download the precompiled DeadPetRevive-1.0.jar.
  2. Place in Plugins Folder
    • Copy DeadPetRevive-1.0.jar into your server’s plugins/ directory.
  3. Start the Server
    • Launch or restart your Spigot/Paper 1.21.x server.

    • On first run, the plugin will generate:
      • plugins/DeadPetRevive/config.yml

      • plugins/DeadPetRevive/deadpets.yml
  4. Customize Configuration
    • Open config.yml to adjust item settings, messages, and permission nodes.
Commands
Command Permission Description
/giverevivebone deadpetrevive.use Gives the player one “Revive Pet Bone.”
/deadpetrevive reload deadpetrevive.reload Reloads config.yml and deadpets.yml on-the-fly.
Permissions
Configuration (config.yml)
#############################################
# DeadPetRevive – Configuration Reference #
#############################################

# Revive Item Settings ---------------------------------
revive-item:
material: BONE
display-name: "&aRevive Pet Bone"
amount: 1

# Messages (supports '&' color codes and %type%) -------
messages:
death-stored: "&eYour pet (%type%) has been stored for revival."
no-dead-pets: "&cYou have no stored pets to revive."
revive-success: "&aYou have revived your pet (%type%)!"
invalid-entity: "&cStored entity is not revivable and has been removed."
reload-success: "&aConfiguration reloaded successfully."
no-permission: "&cYou do not have permission to do that."

# Permission Nodes --------------------------------------
permissions:
givebone: deadpetrevive.use
reload: deadpetrevive.reload

# Additional Settings -----------------------------------
settings:
debug: false
data-file: "deadpets.yml"

Example Usage
  1. Acquire the Bone

    /giverevivebone
    • Receives a “Revive Pet Bone” in your hotbar.
  2. Lose a Pet
    • Tame a wolf or cat, let it die (e.g., from fall damage or a hostile mob).

    • You’ll see a chat message:

      Your pet (wolf) has been stored for revival.
  3. Revive the Pet
    • Right-click with the “Revive Pet Bone” in your main hand.

    • The next stored pet (FIFO order) appears at your feet, with its original name (if any), and the bone is consumed.

    • You’ll see:

      You have revived your pet (wolf)!
  4. Reload Configuration

    /deadpetrevive reload
    • Reloads both config.yml and deadpets.yml.

    • Requires deadpetrevive.reload permission.

    • Confirmation message:

      Configuration reloaded successfully.
Changelog
1.0
Support & Feedback

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DeadPetRevive is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 105 times (via Spigot). Download it and open it directly in the game.

Explore more