- Native Minecraft Version:
- Tested Minecraft Versions:
- Source Code:
A simple lightweight plugin to allow players to pet their animals! The config is very customizable and you can add sound effects for any mob in the game.
Code (YAML):configVersion: 1
shift: true # Does the player need to hold shift.
tamed: true # If the entity can be tamed, does it have to be for the player to pet it.
owner: false # If only the owner can pet an entity.
hand: true # Does the player need to use his hand to pet.
volume: 0.3 # Volume of sound effects.
pitch: 1.3 # Pitch of sound effects.
cancelEvent: true # If the player is petting an entity should other actions be canceled.
healAmount: 1 # 0.5 is half a heart, 1 is 1 heart.
petDelay: 0.5 # Delay in seconds for how often someone can pet something.
entities: # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
Shift right-click your pet with an empty hand, you will pet it! Petting entities will heal them slowly. You can configure this to work on any entity in the game!
/petting - Plugin info
/petting reload - Reload plugin
You are welcome to request features in the discussion!