A powerful and feature-rich pet management plugin for Paper Minecraft servers. This plugin allows players to bind mobs as pets with custom names, colors, behaviors, potion effects, attributes, team sharing, and advanced features.
A powerful and feature-rich pet management plugin for Paper Minecraft servers. This plugin allows players to bind mobs as pets with custom names, colors, behaviors, potion effects, attributes, team sharing, and advanced features like TRUCK collision damage mode and RIDEABLE mode.
DrweiPetManager-<version>.jar file in your server's plugins folderplugins/DrweiPetManager/config.yml| Command | Description | Permission |
|---|---|---|
/pet |
Show help message | petbinder.use |
/pet bind <type> <distance> <name> [public] [color] |
Bind a mob as pet | petbinder.bind |
/pet list |
List your pets | petbinder.list |
/pet portal [index] |
Teleport pet to you | petbinder.portal |
/pet rename <index> <name> [color] |
Rename pet | petbinder.rename |
| `/pet team <create | join | leave |
| `/pet behavior <follow | stay | attack |
/pet effect <index> <effect|invincible> [duration] [amplifier] |
Apply potion effects | petbinder.effect |
/pet attribute <index> [attribute] [value] |
Modify pet attributes | petbinder.attribute |
/pet unbind [index] |
Release pet | petbinder.unbind |
/pet respawn |
Respawn dead pet | petbinder.respawn |
/pet version |
Show plugin version | petbinder.use |
| Command | Description | Permission |
|---|---|---|
/pet op list |
List all pets on server | petbinder.op |
/pet op remove <player> |
Remove all pets from player | petbinder.op |
/pet op config <action> [args] |
Dynamic configuration | petbinder.op |
/pet op reload |
Reload configuration | petbinder.op |
/pet op save |
Save pet data manually | petbinder.op |
/pet op load |
Load pet data manually | petbinder.op |
language: zh # Language: en or zh
max-bind-distance: 10 # Maximum binding distance in blocks
teleport-with-owner: true # Pets teleport with owner
protect-from-all-damage: false # Protect pets from all damage
remove-on-quit: false # Remove pets when owner quits
permissions:
max-pets-per-player: 0 # 0 = unlimited
allowed-commands:
bind: true
list: true
portal: true
rename: true
team: true
behavior: true
effect: true
attribute: true
unbind: true
respawn: true
allowed-features:
truck: true
rideable: true
invincible: true
seckill: true
public-pets: true
team-system: true
blocked-entity-types: [] # Entities that cannot be bound
max-truck-damage: 0 # 0 = unlimited
/pet bind nearest 10 MyPet public &a
This binds the nearest mob within 10 blocks as a pet named "MyPet" with green color.
/pet behavior 1 follow
This sets pet #1 to follow mode.
/pet effect 1 invincible
This applies all positive potion effects to pet #1.
/pet attribute 1 truck 0.5 false
This enables TRUCK mode for pet #1 with minimum speed 0.5 blocks/sec.
/pet attribute 1 truck 0.5 true
This enables SECKILL mode (always 255 damage) for pet #1.
/pet attribute 1 rideable
This enables rideable mode for pet #1.
/pet team create MyTeam
This creates a new team named "MyTeam".
/pet team addpet MyTeam 1
This adds pet #1 to the team "MyTeam".
The plugin uses dual storage mechanism:
plugins/DrweiPetManager/pets.ymlAuto-save runs every 5 minutes. You can also manually save/load using admin commands.
# Clone the repository
git clone https://github.com/herbrine8403/DrweiPetManager.git
cd DrweiPetManager
# Build the plugin
mvn clean package
# The JAR file will be in target/DrweiPetManager-Beta0.1.0.jar
All permissions use the prefix petbinder.:
petbinder.use - Basic usage permissionpetbinder.bind - Bind petspetbinder.list - List petspetbinder.portal - Teleport petspetbinder.rename - Rename petspetbinder.team - Manage teamspetbinder.respawn - Respawn petspetbinder.behavior - Set pet behaviorpetbinder.effect - Add potion effectspetbinder.attribute - Modify attributespetbinder.unbind - Release petspetbinder.op - Admin commands (default: OP only)This project is licensed under the MIT License - see the LICENSE file for details.