Voxel Shop beta is live. Expect occasional bugs. Learn more  
MyPet 4 icon

MyPet 4 4.1.3

The classic pet plugin with over 250,000 downloads - revamped.

Page 1
4.1.3 2 days ago
MyPet 4.1.3

MyPet 4.1.3 brings Lands support, a configurable melee attack rate for the Damage skill, PlaceholderAPI placeholders in pet name tags and a volume option for menu sounds. Wither pets stopped breaking blocks, and Snowman and PigZombie pets that went missing after an upgrade from MyPet 3 come back. Menus now show the colours their menu files ask for.


MyPet 4.1.3 supports Paper 1.20.5 through 26.3, unchanged from 4.1.2. Upgrading is a drop-in jar swap.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


Lands support


MyPet now works with Lands 7.25 and newer. You don't need to configure anything; the hook turns on when Lands is installed.


Pets follow each land's rules. PvP uses the land's PvP setting, including wars. Attacking mobs needs the owner's attack_monster or attack_animal role flag. Mounting a pet and riding it across a land border need land_enter. A pet triggers a pressure plate only where its owner is allowed to interact with it.


Land owners get six new flags, all on by default and always on in the wilderness. There is also a new Lands leash flag, backed by mypet_leash. Lands flags are on/off only, so WorldGuard's beacon range, duration and amplifier flags have no Lands version.

  • mypet_fly
  • mypet_allow
  • mypet_leash (a role flag, so it is set per role)
  • mypet_beacon
  • mypet_beacon_share
  • mypet_beacon_self

Damage skill attack rate


The Damage skill has a new rate upgrade key in skilltrees. It sets the cooldown between a pet's melee hits in ticks, and it is cumulative like other upgrades. The default is 20 ticks, one hit per second, so your existing skilltrees behave as before. A level-up that changes the rate applies immediately.


Players can see the rate as attacks per second. /petinfo shows it next to the damage value, for example Damage: 50.00 (2.00 attacks per second), and the skill list shows it too. The level-up message mentions it only when the skilltree sets a positive rate.


Menus


A new MyPet.GUI.Sound-Volume option in config.yml scales every menu sound at once. It defaults to 1.0, which leaves the sounds unchanged, and 0 mutes them. The default is written to the file for you, and a change applies after /mypet reload config.


Menu items lost the colors set in their menu files, such as the yellow "Click to apply" hint in /pcst and the gold pet names in /petswitch. They now keep them. Minecraft's default purple and italic styling was also removed from menu items: text with no colour set shows white, and nothing turns italic unless the menu file asks for it. One thing to check: each line of a skilltree's Description is now parsed on its own, so a colour tag left open on one line no longer carries into the next. If you relied on that, repeat the tag on each line.


Editor lists match your server


The Editor's custom creature host list now includes Ender Dragon, Wither and every other vanilla mob your server accepts. The Eligible Pets list now offers exactly the pet types your server supports, including custom creatures, instead of every mob from the latest Minecraft release.


Wither pets no longer break blocks


A hurt Wither pet broke the blocks around it whenever mobGriefing was on, even inside WorldGuard regions. A new per-pet option Wither.AllowBlockDamage controls this and defaults to false, so Wither pets no longer break blocks. It works the same way as EnderDragon.AllowBlockDamage. Set it to true only if you want the old behaviour back.


Wither skulls fired by pets also left small craters. This affected every pet type using Projectile: WitherSkull, not just Withers. The skulls no longer break blocks or start fires. The explosion sound and particles still play, and the hit still deals its damage.


Bugfixes


On-hit skills such as Fire, Poison and Lightning now trigger when a pet hits with its Ranged attack. Zombie Horse pets no longer catch fire in daylight on 1.21.11+ while PreventDaylightBurn is true. Opening the pet distance menu on Folia no longer throws "Thread failed main thread check". The pet menu now rechecks the /petname, /petrelease and pickup permissions when a player confirms the action, and /petname strips colour tags for players without the colour permission. Typos and unreadable values in skilltree upgrades now warn in the console instead of being ignored, and the ShearLuck skilltree's Beacon grants Luck. Further fixes cover skilltree display names in /pet and /petswitch, skilltrees for custom pet types added by a config reload, leash flags of disabled hooks, the /petstore help entry and the cleanup after a pet is released; see the full changelog below.


Full changelog:


Added

  • Added Ender Dragon, Wither and every other vanilla mob the server accepts to the Editor's custom creature host list
  • Added a rate key to the Damage skill that sets how often a pet melee attacks, as a cooldown in ticks (default 20, one hit per second)
  • Added the Damage skill's attack rate to /petinfo, the skill list and the level-up message, shown as attacks per second
  • Added the MyPet.GUI.Sound-Volume option in config.yml to turn every menu sound up or down at once, from 1.0 (unchanged) down to 0 (muted)
  • Added Lands support for Lands 7.25 and newer: pets follow each land's PvP, attack and land_enter rules, and land owners get the mypet_fly, mypet_allow, mypet_leash and mypet_beacon flags
  • Added PlaceholderAPI support to pet name tags: MyPet.Name.Tag.Prefix and MyPet.Name.Tag.Suffix now resolve any %placeholder% for the owner

Changed

  • Improved the Editor's Eligible Pets list to offer exactly the pet types your server supports, including custom creatures, instead of every mob from the latest Minecraft release

Fixed

  • Fixed converting pets between SQLite and MySQL writing to the database being converted from
  • Fixed pets attacking one tick slower than their Damage rate, so the default is now exactly one hit per second as documented
  • Fixed opening the pet distance menu on Folia throwing "Thread failed main thread check" when the pet is in another region or its chunk has unloaded
  • Fixed the WorldGuard, MythicMobs, mcMMO and PermissionGroup leash flags staying registered after their hook was disabled
  • Fixed Snowman and PigZombie pets disappearing and their pet shop entries being skipped after upgrading from MyPet 3
  • Fixed the pet menu not rechecking the /petname, /petrelease and pickup permissions when a player confirmed the action
  • Fixed menu items losing the colours set in their menu files, such as the yellow "Click to apply" hint in /pcst and the gold pet names in /petswitch
  • Fixed /petname keeping colour tags for players without the colour permission while the pet menu stripped them, and storing a pet from the pet menu checking the wrong pet with several pets out
  • Fixed released pets leaving stale no-push and work-focus state behind, by running one shared despawn cleanup on every path
  • Fixed choosing a skilltree from the /pet menu not charging the SwitchFee exp cost or checking the skilltree's level limits
  • Fixed /petstore showing in the help list based on the /petswitch permission instead of its own
  • Fixed on-hit skills such as Fire, Poison and Lightning never triggering when a pet hits with its Ranged attack
  • Fixed a colour tag left open on one line of a skilltree's Description carrying into the next line in the /pcst menu
  • Fixed MiniMessage formatting in a skilltree's display name showing as raw tags in the /pet menu and the /petswitch roster
  • Fixed skilltrees that apply to every pet type not applying to custom pet types added by a config reload
  • Fixed <r> showing as text in skilltree names and descriptions upgraded from MyPet 3: the upgrade now changes it to <reset>, along with short names such as <darkblue>
  • Fixed typos and unreadable values in skilltree upgrades being silently ignored (they now warn in the console), and the ShearLuck skilltree's Beacon never granting Luck
  • Fixed the /pet menu still showing the previous pet after switching pets with its Switch button
  • Fixed Wither pets breaking the blocks around them when hurt, even inside WorldGuard regions, and wither skulls fired by pets blowing holes in the ground
  • Fixed Zombie Horse pets catching fire in daylight even though PreventDaylightBurn is true (1.21.11+)

Removed

  • Removed Minecraft's default purple and italic styling from MyPet menu items, so names and lore no longer turn italic and text with no colour set, such as the /petswitch labels, shows white
4.1.2 20 days ago
MyPet 4.1.2

Full changelog:


Added

  • Added the Host's pet-type options to a custom pet's own pet-config section, so a custom pet with Host: EnderDragon reads its own AllowBlockDamage, AllowPlayerContactDamage and GrantEndAdvancementOnKill

Fixed

  • Fixed allay pets losing held items: every item now equips into the allay's hand, shears take it back, and a pet allay no longer takes, hands back or throws away items on its own
  • Fixed custom pets with an Ender Dragon Host not following their owner and breaking blocks even with AllowBlockDamage set to false
  • Fixed modeled custom pets with an Ender Dragon Host breaking blocks during their despawn animation after /petsendaway or /petstore, even with AllowBlockDamage set to false
  • Fixed Ender Dragon pets flinging nearby mobs and players into the air with their wings while AllowEntityContactDamage and AllowPlayerContactDamage are off
  • Fixed pets permanently losing EXP after switching MyPet.LevelSystem.CalculationMode or lowering MyPet.Exp.LevelCap
  • Fixed pets taking minutes to start wandering around again after their owner stopped moving
  • Fixed ridden Phantom pets climbing forever when the rider lets go of the movement keys
  • Fixed the Pickup skill putting items into another Pet's backpack while that Pet's backpack menu was open
  • Fixed an error when a pet fought a tamed animal whose owner was offline
  • Fixed ridden pets not walking up 1-block steps and getting stuck on the top edge when climbing, as most pet types could in MyPet 3
  • Fixed pets not returning on their own after the owner switches from Spectator back to another gamemode
  • Fixed the %mypet_health% and %mypet_health_long% placeholders only updating after /petcall when shown by TAB, scoreboards and other plugins that read placeholders off the main thread
  • Fixed the Taunt skill spamming its growl sound and sonic-boom particles when many mobs target the owner
  • Fixed an error when a pet loses a skill upgrade it never received, such as after a skilltree reset followed by a level-down
4.1.1 26 days ago
MyPet 4.1.1

MyPet 4.1.1 is a bugfix release for MyPet 4.1. It fixes several Folia errors in skills, pet trades and config reloads, and makes the plugin jar about 25% smaller. Region protection plugins now stop Pets from being ridden where riding is forbidden. A typo in a skilltree file no longer stops the whole skilltree from loading.


MyPet 4.1.1 supports Paper 1.20.5 through 26.3, unchanged from 4.1.0. Upgrading is a drop-in jar swap.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


A smaller jar


The plugin jar shrank from 3.5 MB to 2.6 MB. MyPet no longer bundles the Sentry error-reporting library. Paper now downloads it when the server starts, so there is no new network requirement. You do not need to do anything.


No more ghost Pets when taming with a lead


Hitting a mob several times in quick succession with a lead could leave behind an unkillable ghost copy of the new Pet next to the real one. Multi-hit skills, such as those from MMOCore, and Thorns could both cause it.


A mob that is being captured now takes no damage until the capture finishes. If the mob disappears before then, for example through /kill or a chunk unload, the Pet is spawned fresh instead.


Folia fixes


The Beacon skill no longer errors when a nearby player stands in a neighboring region. That player now gets the effects once they are inside the Pet's region. The Bleed skill no longer errors on its first hit, and its damage over time now behaves the same when the target stands in a different region than the Pet. Damage, range and duration are unchanged.


Pet trade offers no longer get lost or mixed up when several players trade at the same time. Registering or reloading custom pet types while Pets are spawning no longer throws an error.


During a /mypet reload, Pets no longer briefly lose their world group.


Most of the region-based issues weren't possible in normal gameplay, but they're now protected against anyways.


Plugin hooks and protected regions


Pets can no longer be ridden inside regions that forbid it. MyPet now checks WorldGuard's ride flag, GriefPrevention claims, Residence's riding flag and PlotSquared plots before /petride mounts a Pet. This applies to owners and to other players.


On a fresh install, the WorldGuard and Residence hooks stayed inactive until the second server start. They now activate on the first start.


The Kingdoms hook never activated because MyPet looked for the plugin under the wrong name. It now activates. Its section in hooks-config.yml is still called KingdomsX, so your existing settings are kept.


The PermissionGroup leash requirement now works when Vault has no permission provider or when Vault.Economy is turned off.


Skilltrees load despite typos


Before this release, one mistyped value in a skilltree's upgrades or settings, such as its icon or notifications, dropped the whole skilltree. Now MyPet skips only the bad entry, logs a warning that names the skilltree and the problem, and loads the rest. Permission and Requirements still reject the whole skilltree, so that an unreadable requirement never makes a skilltree available to everyone.


Level keys with typos, such as "1,x,3", now show a warning instead of being silently misread.


A skilltree file with a missing, empty or duplicate ID is now skipped with a warning. Before, an empty or non-text ID also stopped every skilltree after it from loading. Files are now loaded in name order, so with duplicate IDs the first file by name wins. After upgrading, check your console for skilltree warnings.


Bugfixes


The Stomp skill's shockwave now pushes mobs away as originally intended, and its level-up message shows the damage instead of the chance. Pet trade offers are now cleared when the owner or receiver leaves the server, so they no longer block new offers. Pets saved in a world group that was removed from worldgroups.yml, or saved with different capital letters, now fall back to the default group. On SQLite servers, the last-updated timestamp of Pets and players now updates properly. /mypet editor now opens behind proxies that do not understand the HTTP/2 upgrade probe (affecting very few servers.) For everything else, see the full changelog below.


Full changelog:


Changed

  • Reduced the plugin jar size by about 25%

Fixed

  • Fixed the Beacon skill erroring on Folia when a nearby player stood in a neighbouring region
  • Fixed the Bleed skill's first hit erroring on Folia when the target stood in a different region than the pet
  • Fixed the Bleed skill's damage-over-time behaving unpredictably on Folia when the target stood in a different region than the pet
  • Fixed the WorldGuard and Residence hooks staying inactive until the second server start on a fresh install
  • Fixed the API Javadoc upload to javadocs.mypet-plugin.com timing out on every alpha and release
  • Fixed the Kingdoms hook never activating because MyPet looked for the plugin under the wrong name
  • Fixed hitting a mob several times in quick succession with a lead (multi-hit skills, Thorns) leaving behind an unkillable ghost copy of the new pet
  • Fixed pets briefly earning no experience from configured mobs while the config was being reloaded
  • Fixed an error on Folia when custom pet types were registered or reloaded while pets were spawning
  • Fixed pets being rideable inside regions that forbid it (WorldGuard's ride flag, GriefPrevention claims, Residence's riding flag, PlotSquared plots)
  • Fixed skilltree level keys with typos, such as "1,x,3" or "%0", being silently misread; they now show a warning
  • Fixed one malformed value in a skilltree upgrade dropping the whole skilltree, and made missing or duplicate skilltree IDs and unreadable files show a warning
  • Fixed a bad value in a skilltree's settings, such as its icon or notifications, dropping the whole skilltree
  • Fixed a skilltree file with an empty or non-text ID stopping all remaining skilltrees from loading
  • Fixed the last-updated timestamp of pets and players never changing on SQLite servers
  • Fixed the Stomp skill's shockwave not pushing mobs away, and its level-up message showing the chance instead of the damage
  • Fixed pet trade offers staying open after the owner or receiver left the server, which blocked new offers
  • Fixed pet trade offers getting lost or mixed up on Folia when several players trade at the same time
  • Fixed the PermissionGroup leash requirement failing when Vault has no permission provider or its economy support is turned off
  • Fixed /mypet editor failing to open a session behind proxies that do not understand the HTTP/2 upgrade probe
  • Fixed pets saved in a world group that no longer exists, or whose group name has different capital letters, staying in that group instead of falling back to the default group
  • Fixed pets briefly losing their world group, or erroring on Folia, while the config was being reloaded
4.1.0 Oct 13, 2026
MyPet 4.1.0

MyPet 4.1.0 is the first minor update since 4.0.0 and brings a multitude of community-requested features and bugfixes. Have multiple active Pets out at once, control each Pet's volume and distance, resize your Pets with the Scale skill, or import your Pets from other Pets plugins (Like MCPets and SimplePets.)


MyPet 4.1.0 supports Paper 1.20.5 through 26.3, unchanged from 4.0.4. It will automatically support Paper 26.4 upon release. Upgrading is a drop-in jar swap.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


Thanks as always for choosing MyPet!


Several Pets out at once


Players can now have more than one Pet out at the same time. Two settings both have to allow it: the MyPet.Max-Active-Pet-Count ceiling, and the mypet.petlimit.active.<n> permission ladder. Nothing changes until you raise the ceiling and grant the node. mypet.player defaults to 2 active Pets.


/pet and the other pet commands act on the player's selected Pet. That is the Pet they most recently brought out, or the one they picked with the egg at the top of the /pet menu. /pet <pet> also selects that Pet. The selection is kept across relogs and world changes.


Passive experience from the owner's kills is now one award shared between their Pets. It is no longer paid in full to each Pet.


The Pet roster


/pets, /petswitch and the Switch button in the /pet menu now open one roster menu. Left-click summons a stored Pet, right-click stores a Pet that is out, and left-click on a Pet that is out opens its menu. The roster can be sorted and filtered, and each player's choice is remembered. Pets bound to another world group are listed with the group's name but cannot be summoned there.


/pets no longer stops your Pet. Use /petstop, which now also answers to /pstop and /ps.


The new MyPet.Store-Oldest-When-Full option is on by default. When a player tames, buys, trades for or captures a Pet with a full roster, their oldest Pet is stored to make room. While it is on, the MyPet.shop.storage permission has no effect.


Importing from other pet plugins


If your server is switching to MyPet, /mypet import brings your players' Pets over. MCPets and SimplePets are the first two sources. The command needs MyPet.admin.import, which is part of the MyPet.admin bundle.

  • /mypet import lists the sources found on your server.
  • /mypet import <source> is a dry run. It shows a report and writes nothing.
  • /mypet import <source> confirm backs up MyPet's config files and pet database to plugins/MyPet/backups/, then imports.

MCPets pet types are added to pet-config.yml as model Pets. SimplePets Pets keep their names and health and start at level 1. Their looks, such as colours and variants, are not carried over. All imported Pets land in the default world's group.


Per-pet volume and distance


The Volume button in the /pet menu now sets that Pet's own volume. /petsettings volume still sets the default that every Pet without its own volume follows. A Pet's own volume only changes what its owner hears. The new %mypet_pet_volume% placeholder shows the volume a Pet plays at for its owner.


Each Pet also has two 5-step scales, personal space and follow distance, set from the /pet menu or /petsettings distance. Both default to step 3. Pets now stop following a little further away and idle anywhere up to their follow distance. The global FollowStartDistance option was removed. You do not need to do anything; it is dropped from your config on first start.


A Pet now falls up to 32 blocks behind before teleporting to its owner, up from 12. The new per-pet TeleportDistance option in pet-config.yml changes this.


Scale skill and updated Pet creation options


The new Scale skill grows or shrinks a Pet as it levels up, through the skilltree scale field. The new scale: creation option sets a Pet's size in /petadmin create and pet shops, from 0.0625 to 16 on every pet type. ModelEngine models now follow both.


New Baby Wither Pets now properly show at half size, and the baby option works for the Wither in /petadmin create and pet shops. Old Baby Wither Pets must be shrunk using the vanilla /attribute command.


The Villager, Zombie Villager, Fox and Mooshroom skin option changed from type: to variant:. Existing pet-shops.yml entries are migrated automatically. Unknown creation options are now reported instead of silently dropped.


Admin commands and permissions moved


Acting on another player's Pets moved out of /petinfo, /petinv, /petlist, /petsendaway and /petskill. It is now done with /petadmin info, inventory, list, sendaway and skill. /petadmin list <player> now also works for offline players.


The permission nodes moved with the commands, for example MyPet.command.info.other is now MyPet.admin.info.player. If you grant the MyPet.admin bundle, you do not need to do anything. If you listed the old nodes individually, grant the new ones.


Bugfixes


A database conversion with MyPet.Repository.ConvertFrom could report success after failing to copy the Pets. It now stops, says what failed and retries on the next start. Elder Guardian Pets no longer curse nearby players with Mining Fatigue; set CurseNearbyPlayers to bring it back. Monster Pets such as the Warden no longer stop their owner from sleeping, and MythicMobs Pets no longer spawn duplicate creatures. Pets with custom models can be ridden again, and wild mobs no longer attack Pets unprovoked. Several Folia errors, permission wildcards for non-OP players and many raw translation keys were also fixed; see the full changelog below.


Full changelog:


Added

  • Added the ElderGuardian Pet option CurseNearbyPlayers, off by default, to re-enable the vanilla mining-fatigue curse
  • Added full API documentation at javadocs.mypet-plugin.com, covering every package, event, config option and menu type
  • Added offline player support to /petadmin list <player>, so you can check a player's pets while they are away
  • Added the per-pet Skill.Backpack.OpenInWater option, letting swimming pets open their backpacks in water
  • Added offline player support to /petadmin list <player>, so you can check a player's pets without waiting for them to log in
  • Added the Sulfur Cube pet type, with the CanExplode and AllowShearing pet-config options both off by default
  • Added the per-pet TeleportDistance option to pet-config.yml, and raised how far a pet can fall behind before teleporting to its owner from 12 to 32 blocks
  • Added the /mypet import command for moving pet types and player pets over from other pet plugins, starting with MCPets (dry run first, backup before writing, permission MyPet.admin.import)
  • Players can now have several pets out at once, with a config ceiling and a permission ladder that both have to allow it
  • Added the skilltree your pet is currently on to the top of the /pcst menu, and marked its entry in the list below as active
  • Added the %mypet_pet_volume% placeholder, the volume a pet actually plays at for its owner
  • Added a Use Default Volume button on a pet's volume screen that drops its own volume, and a line showing which default it is inheriting
  • Added a per-pet sound volume, so you can quiet one noisy pet without silencing the rest
  • Added a per-pet distance setting with 5-step personal space and follow distance scales in the /pet menu and /petsettings distance; pets now idle anywhere up to their follow distance, and the global FollowStartDistance config option was removed
  • Added an explanation in the roster when you own no pets or your filter hides all of them, instead of an empty grid
  • Added a tooltip line on each stored pet saying which pet a summon would store when your roster is full
  • Added per-player memory of the roster's sort and filter, kept across relogs; the Citizens NPC's list and the "which pet?" prompt keep their own
  • Added MyPet.Store-Oldest-When-Full, on by default, which stores your oldest pet to make room when you tame, buy, trade for or capture one with a full roster
  • Added the pet roster, one sortable and filterable menu behind /pets, /petswitch and the pet menu's Switch button, where a click summons or stores any of your pets
  • Added the scale: pet creation option for /petadmin create and pet shops, from 0.0625 to 16 on every pet type
  • Added the Scale skill, which grows or shrinks a pet as it levels up through the skilltree scale field
  • Added a Click to pick another pet hint on the /pet menu's egg, shown only while more than one pet is out
  • Added memory of your selected pet across relogs and world changes, so a restore never silently switches which pet your commands act on
  • Added SimplePets as a source for /mypet import, bringing over each player's owned pets with their names and health

Changed

  • Changed the Villager, Zombie Villager, Fox and Mooshroom skin option from type: to variant: like every other Pet (existing pet-shops.yml entries are migrated automatically), and unknown creation options are now reported instead of silently dropped
  • Moved acting on another player's pets out of /petinfo, /petinv, /petlist, /petsendaway and /petskill into /petadmin info, inventory, list, sendaway and skill. The permission nodes moved with them: MyPet.command.info.other, .list.other, .skill.other, .inventory.other and .sendaway.other are now MyPet.admin.info.player, MyPet.admin.list, MyPet.admin.skill, MyPet.admin.inventory and MyPet.admin.sendaway. Anyone granted the MyPet.admin bundle keeps every one of them; re-grant only if you listed the old nodes individually
  • Changed /mypet editor on alpha builds to open the alpha web editor when EditorUrl is left at its default
  • Changed a database conversion to run after the schema migrations, so the converted database has every column the import writes
  • Changed the Volume button in the /pet menu to set that pet's own volume; /petsettings volume still sets the default that every pet without its own volume follows
  • Changed a pet's own volume to apply only to what its owner hears; other players nearby keep their own volume setting
  • Changed a traded or cloned pet to drop its own volume and follow its new owner's default
  • Changed /pets to open the pet roster instead of stopping your pet; /petstop now answers to /pstop and /ps
  • Changed the Citizens storage NPC to ask which pet to hand over when several are out, and to offer the roster when you take one back
  • Changed the roster to list pets bound to another world group, marked with the group's name and not summonable there, instead of hiding them
  • Changed the MyPet.shop.storage permission to matter only when Store-Oldest-When-Full is off, because a full roster otherwise makes room by itself
  • Changed the Switch button in the /pet menu and /petswitch to open the roster, which now also lists the pets you already have out so you can store them from there
  • Changed a left-click on a pet that is out, in the roster, to open that pet's menu and make it your selected pet, instead of doing nothing
  • Changed /pet <pet> to also make that pet your selected one
  • Changed /pet and the other pet commands to act on the pet you most recently brought out, with the pet menu's egg picking another when several are out
  • Made the remaining hard-coded chat, menu, action-bar and /petinfo text translatable
  • Made the Armor, Bleed and Potion skill texts translatable

Fixed

  • Fixed Elder Guardian Pets cursing their owner and every player within 50 blocks with Mining Fatigue every minute
  • Fixed baby zombies, husks, drowned, zombie villagers, zombified piglins, piglins and zoglins instantly growing up when you tamed them
  • Fixed Sniffer, Allay and Copper Golem pets told to stay slowly wandering off the spot they were told to hold
  • Fixed pet shop entries not showing their Description lines from pet-shops.yml in the shop and purchase confirmation menus
  • Fixed the pet shop showing prices without the server's currency symbol and large prices in scientific notation like 1.0E9
  • Fixed being unable to ride Pets that wear a custom model — the rider and the Pet moved around separately instead
  • Fixed a Pet's model seat being left behind when a ridden modelled Pet was stored or removed
  • Fixed the bundled Capybara and Chameleon models never being refreshed on upgrade, so servers kept an older copy
  • Fixed the /petshop selection menu ignoring each shop's Position setting and listing shop icons in a random order
  • Fixed players riding a pet being able to enter WorldGuard regions whose entry flag is set to deny
  • Fixed pet shop entries silently selling an Allay when their PetType was a custom creature that failed to register, and Host: in pet-config.yml now accepts IronGolem, Iron_Golem and Iron Golem spellings
  • Fixed village iron golems and other wild mobs attacking pets unprovoked, and added the EnabledWildAttackers pet-config option to let chosen mobs hunt a pet type
  • Fixed /petbehavior doing nothing on the default skilltrees, leaving every pet stuck in normal mode
  • Fixed Baby Withers showing at full size, and the baby option now works for the Wither in /petadmin create and pet shops
  • Fixed ModelEngine pet models staying full size when the Scale skill or the scale: creation option changed the pet's size
  • Fixed a database conversion (MyPet.Repository.ConvertFrom) reporting success after failing to copy the pets; it now stops, says what failed and keeps ConvertFrom set so the next start retries
  • Fixed colored pet names bleeding their color into the action-bar health display and the /petinfo name header
  • Fixed the "Is wild" and "Is created by a player" capture helper requirements showing raw translation keys
  • Fixed /petinfo, the capture helper permission requirement and failed pet trades showing raw translation keys
  • Fixed /petrespawn show displaying "(autoauto)" instead of the auto-respawn status
  • Fixed typos in the /petadmin npc shop and wallet messages
  • Fixed slime, magma cube and sulfur cube pets getting stuck facing one direction on Minecraft 26.2 once a sulfur cube pet had been called out
  • Fixed riding an Ender Dragon pet in Thorns armor spamming the chat with pet info, and added the `MyPet.OwnerThornsDamagePet` option for whether an owner's Thorns hurts their own pet
  • Fixed an error on Folia when pressing Esc to go back in a MyPet menu, and when answering a rename or text prompt
  • Fixed the "Copy with NBT" button of /petadmin info item copying an item string that breaks pet-config.yml when pasted
  • Fixed MyPet menus getting confused on Folia when several players use them at the same time, and a pet's backpack window staying usable for an admin in another region after the pet died or was stored
  • Fixed the /petadmin inventory, list, sendaway and skill help lines and the Bleed skill name and upgrade message showing raw translation keys
  • Fixed custom pet models with a built-in nametag bone, like BetterModel's Demon Knight, showing the pet's name twice
  • Fixed monster pets such as the Warden stopping their owner from sleeping with "there are monsters nearby"
  • Fixed the /pet menu's title, which read only "Your Pet" instead of naming the pet
  • Fixed /petadmin clone refusing a player who still has a free pet slot
  • Fixed /petname rejecting new names with spaces, colour tags or special characters, such as /petname Sir Fluffy
  • Fixed ridden Sniffer, Allay and Copper Golem pets walking around on their own while the rider pressed no movement keys
  • Fixed players sitting in a custom-model pet's seat (ModelEngine, BetterModel, ItemsAdder) being able to mount a second pet without leaving the first
  • Fixed MiniMessage formatting in a shop's Name (e.g. <green><bold>) showing as raw tags in the /petshop shop list
  • Fixed MiniMessage formatting in a skilltree's display name showing as raw tags in the choose-skilltree menu
  • Fixed MythicMobs pets spawning a duplicate creature on /petcall and after respawning from death, and attacking their owner for a moment when summoned
  • Fixed pet AI throwing an error when a pet was removed or despawned while wandering or following its owner
  • Fixed the mypet.command.trade.receive.*, mypet.command.trade.offer.*, mypet.leash.* and mypet.player permissions not working for non-OP players until /mypet reload
  • Fixed players riding a custom-model pet (ModelEngine, BetterModel, ItemsAdder) being able to enter WorldGuard regions whose entry flag is set to deny
  • Fixed pets ridden into a WorldGuard region whose entry flag is set to deny not being pushed back out on Paper 1.20.5 to 1.21.9
  • Fixed Zombie Villager pets from the pet shop or /petadmin create spawning with a random profession when no profession: option was set
  • Fixed feeding a pet the last item in a stack throwing an error instead of showing the eating particles
  • Fixed pet health checks such as /petinfo crashing on Folia when the pet was in another region
4.0.4 Sep 21, 2026
MyPet 4.0.4

MyPet 4.0.4 brings a number of important potential dupe exploit path patches. It is recommended to upgrade immediately.


MyPet 4.0.4 supports Paper 1.20.5 through 26.3, unchanged from 4.0.3. Upgrading is a drop-in jar swap.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


Full changelog:


Added

Changed

  • Moved MyPet's default addresses to mypet-plugin.com, updating `MyPet.Info.Wiki-URL` and `MyPet.WebEditor.*` in configs still on the old .de defaults
  • Hid startup warnings about the Capybara and Chameleon pets on servers that have decided to not use them

Fixed

  • Fixed MythicMobs pets created while MythicMobs was offline being stuck as their host mob forever
  • Fixed MythicMobs pets spawning as their host mob when created with options like `baby` or `skilltree:`
  • Fixed /petshop <shopname> <player> no longer opening a shop from the console
  • Fixed pets staying stuck floating forever after another plugin turned their gravity off
  • Fixed pets despawned while being steered with the Control skill leaving a dead task in the scheduler for the server's uptime
  • Fixed an error when a Citizens pet-storage NPC was used while the player's pet was stored, traded or despawned at the same moment
  • Fixed /petadmin purge reading the live pet list from the database thread
  • Fixed every pet spawn forcing a chunk load before checking whether the owner's chunk is loaded
  • Fixed errors in the console when a pet entity without a live pet record was targeted, killed something, or died to another pet
  • Fixed pet and player saves on MySQL occasionally persisting an older state when two saves for the same pet were issued in quick succession
  • Fixed the Heal skill's green potion particles never showing when a pet regenerates
  • Fixed memory growing with every arrow, trident, snowball, egg, ender pearl and fishing bobber a player launched while MyPet.Leash.AllowRanged was enabled
  • Fixed the hunger system silently stopping (no hunger messages, no starvation damage) when MyPet.HungerSystem.SaturationPerFeed is not a whole number
  • Fixed pet taming, Shield damage redirection and ride fall-damage protection running at the wrong event priority, so other plugins could see damage that MyPet then reversed
  • Fixed the final pet save on server shutdown overlapping still-running database writes on SQLite
  • Fixed players being unable to tame anything after disconnecting during a leash capture until the server restarted
  • Fixed pets with the Mining or Lumberjack skill refusing to follow their owner after a relog, /petswitch or world change that happened mid-job
  • Fixed a traded pet being lost forever if the buyer disconnected while /pettrade accept was completing
  • Fixed menu icons being duplicated by double-clicking a matching item in your own inventory while a MyPet GUI is open
  • Fixed hostile pets like the Bogged attacking and damaging themselves in Farm behavior mode
  • Fixed a villager pet struck by lightning leaving a second villager standing next to the witch
  • Fixed a villager pet's held item being destroyed when you released it to the wild
  • Fixed a pet's armor duplicating when it converted to another mob, such as a zombie drowning
  • Fixed a pet's armor duplicating when it died on a server with `ReleaseOnDeath` enabled for that pet type
  • Fixed all but one item being destroyed when you tamed a mob holding a stack
  • Fixed a pet's held item duplicating when you equipped it while a toolbox station was open
  • Fixed pets eating for free while their backpack was open
  • Fixed a pet's backpack contents duplicating when its owner died with the backpack open
  • Fixed a pet's backpack contents duplicating when an admin opened it while its owner had it open
  • Fixed items moving out of a pet's backpack duplicating when you opened another menu without closing it
  • Fixed cycling pet behavior with /petbehavior or the pet menu skipping every mode except Normal when extended permissions are off
  • Fixed the Menus editor in /mypet editor opening empty, and menu changes saved there never taking effect
  • Fixed Ender Dragon pets never coming when called, reporting "not enough space"

Thanks again for choosing MyPet!

4.0.3 Sep 7, 2026
MyPet 4.0.3

MyPet 4.0.3 brings multiple fixes and a new config option. Fish, guardians, axolotls and frogs finally swim, chase and fight instead of freezing or bobbing at the surface, Pets stop suffocating inside walls when you call them, and MyPet on a shared MySQL server stops reading another install's tables.


MyPet 4.0.3 supports Minecraft 1.20.5 through the upcoming 26.3 update, unchanged from 4.0.2. Upgrading is a drop-in jar swap, but this one changes how your database stores Pet data, so there is not a downgrade path.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


Water Pets can swim, chase and fight


Aquatic Pets were badly broken and it took four separate fixes to sort out.


Fish, Guardians, Squid and the rest could hit whatever swam into reach but could never chase anything - they simply had no way to close the distance. A Pet stranded on land stopped dead the moment it picked a target instead of walking to it. Axolotls, Drowned, Frogs and Turtles did the same thing on land. And every Pet in water was quietly pushed toward the surface each tick, so anything that tried to swim down bobbed back up to the waterline.


All four are fixed. Water and amphibious Pets now follow you, chase what they're fighting on land and in water, and stay at the depth they swim to.


Pets stop suffocating in walls


Since 4.0, calling a Pet only checked whether the block at its feet was clear. In a one-block-high gap, that passed, so the Pet appeared with its head in whatever block was above, started suffocating, and got despawned and re-summoned into the exact same block over and over, spamming despawn messages.


MyPet now checks the Pet actually fits before spawning it, and before teleporting it to you. If there's genuinely no room you get a "no space" message instead of a loop, and /petsendaway always cancels an auto-recall.


MySQL: the right database, finally


If your MySQL server hosts more than one MyPet database (a MyPet 3 install, another server's tables, etc) MyPet could check the wrong one. A working 4.x install could spot MyPet 3 tables in someone else's database, decide it needed upgrading, and shut itself down partway through migrating a database that was already fine.


MyPet now only ever looks at the database it's connected to. SQLite servers were never affected.


Full changelog:


Added

  • Added AllowMetamorphosis to pet-config.yml, off by default - turn it on and a Tadpole Pet grows into a Frog Pet, keeping its name, experience, skilltree, health and inventory
  • Added a fresh-install signal to the /mypet editor session data, so the Configurator can tell a brand-new server from one you've already set up

Changed

  • Prepared the plugin's codebase for having several Pets out at once
  • World group data is stored in a new format; migrated automatically from the old version

Fixed

  • Fixed water-breathing Pets never attacking and never swimming to a target they had picked
  • Fixed water-breathing Pets floating to the surface instead of staying at the depth they swim to
  • Fixed stranded water-breathing Pets freezing in place the moment they picked a target
  • Fixed Axolotl, Drowned, Frog and Turtle Pets freezing in place instead of walking to their target
  • Fixed Pets suffocating in walls and looping through respawn when called, and /petsendaway failing to stop it
  • Fixed MyPet reading its tables from another MyPet database on the same MySQL server
  • Fixed some ridden Pets never coming back down, and saddled horse Pets losing their jump
  • Fixed released baby Pets never growing up
  • Fixed Tadpole Pets turning into an unowned frog when they grow up

Thanks again for choosing MyPet!

4.0.2 Aug 18, 2026
MyPet 4.0.2

MyPet 4.0.2 is here! Equipping armor and weapons onto Pets is back after being lost in the 4.0 rewrite, Piglins and Hoglins stop hunting the player who tamed them, and stranded fish finally follow you instead of flopping in place.


MyPet 4.0.2 supports Minecraft 1.20.5 through 26.2, unchanged from 4.0.1. Upgrading is a drop-in jar swap.


If MyPet is useful to you or your players, please consider buying me a coffee: https://ko-fi.com/UserDerezzed


Equipping your Pet with armor/tools by hand is back


Sneak and right-click a Pet with armor or a weapon to put it on, and use shears to strip its gear back off. The interaction was lost when the old NMS modules were removed in 4.0 and is now reimplemented.


Gear the Pet was already wearing is dropped rather than destroyed, in every game mode including creative, and shears take durability damage properly so Unbreaking and the Unbreakable flag are honoured. A slot the species cannot use leaves the click alone instead of swallowing it, so gestures like opening a horse Pet's inventory still work.


New AI Brain Disabling options


Piglin, Piglin Brute, Hoglin and Zoglin Pets kept hunting their own owner. These four run their AI from the newer vanilla "brain" system which previously wasn't configurable and I had to account for aggressive behavior across every individual mob.


Now, it is now a per-pet-type Brain.Disabled list in pet-config.yml, declared for all 21 brain-driven Pet types, so you can choose which vanilla AI MyPet leaves alone or switch back on what it removes. Entries are activity:<name> to empty a whole brain activity, or behavior:<ClassName> for a single behaviour. Emptying the list for the four Pets above gives you the vanilla behaviour back, owner-hunting included.


Full changelog:


Added

  • Added a per-pet-type Brain.Disabled list to pet-config.yml for switching a Pet's vanilla brain AI on or off, declared for all 21 brain-driven Pet types; entries are activity:<name> or behavior:<ClassName>, and unmatched or malformed entries are reported instead of ignored
  • Re-added equipping armor and weapons onto a Pet by sneaking and right-clicking it, and stripping its gear with shears, behind MyPet.extended.equip
  • Added a Copy with NBT button to /petadmin info for when a config needs to match one exact item rather than any item of that type

Changed

  • /petadmin info's Copy button now gives you a plain item name that config.yml, pet-config.yml and skilltree drop pools all accept
  • Voxel.Shop downloads now arrive correctly named, and update posts there render properly instead of showing raw formatting codes

Fixed

  • Fixed Piglin, Piglin Brute, Hoglin and Zoglin Pets attacking their own owner
  • Fixed sneaking and right-clicking a Pet doing nothing on modern clients, which had broken the sit toggle and every other sneak-gated interaction
  • Fixed fish and other water-breathing Pets flopping in place on land instead of following their owner
  • Fixed aquatic Pets sinking instead of holding position when told to stay in water
  • Fixed Warden Pets' roar-target removal silently doing nothing for an entire release line
  • Fixed a Pet restored from the database losing track of the gear it was wearing, so nothing dropped on death or release and shears stripped only recently equipped items
  • On Folia: fixed the Mining, Lumberjack and Fishing skills erroring and leaving the Pet stuck when it follows its owner to another world
  • Fixed auto-respawn never paying out for players without op, even with the MyPet.command.respawn permission
  • Fixed skilltrees deleted in the web editor coming back after Review & Save
  • Fixed /petadmin info's Copy button producing a value configs reject with "is not a valid item ID!"

Removed

  • Removed the MiniaturePets, PvPArena, UltimateSurvivalGames and SurvivalGames hooks; all four plugins are abandoned

Thanks for choosing MyPet!

4.0.1 Aug 12, 2026
4.0.0 Jul 23, 2026
MyPet 4.0.0

MyPet 4.0 is here - the biggest update in MyPet's history. MyPet has been rewritten from the ground up: Pets are now real vanilla mobs, the version-specific compatibility code that powered MyPet for over a decade is gone entirely, and just about every part of the plugin - GUIs, commands, skills, skilltrees, configuration - has been rebuilt or expanded.


MyPet 4.0.0 supports Minecraft 1.20.5 through 26.2. And, because MyPet no longer contains any version-specific code, future Minecraft versions are supported automatically - usually with no plugin update required.


As previously announced, MyPet 4.0 requires Paper (or a Paper derivative such as Purpur or Folia) and Minecraft 1.20.5 or newer. If you're still on Spigot, switching is as easy as swapping your server jar: https://papermc.io. Yes, Folia is now supported.


Upgrading from MyPet 3 is automatic: your configs, Pets, skilltrees, locale files, and database are all migrated if necessary on first startup. Take a backup first anyway - you should always have one.


Currently, MyPet is primarily developed by one person! All of these updates are produced for free in my spare time. If you or your players appreciate MyPet, please consider buying me a coffee or lunch (it means a lot): https://ko-fi.com/UserDerezzed


This update was made possible by Keyle, MaksyKun, Jakllp, Haeherfeder, Gullysdad, Mercurialmusic, the Altitude team (Teriuihi and Destro174 for using MyPet 4 months before anyone else; cultistclam for our amazing new MyPet artwork, akaemilyyy for dupe finding), the HeavenCreations team (LoupSavage who made our great new custom models that are included with MyPet 4,) those who have tipped me on Ko-Fi (seriously, huge thanks!) and the MyPet 4 Alpha Testers. Thank you!


Now, onto the changes!


A complete rewrite


Since 2012, MyPet has shipped a compatibility module for every supported Minecraft version. By 3.14, that meant 20 of them. MyPet 4.0 has zero. Pets are now real vanilla mobs driven through Paper's official APIs, which means:

  • New Minecraft versions work automatically. No more waiting for a MyPet update after every Minecraft release.
  • Folia support. MyPet now runs on Folia's regionized threading.
  • Better performance. The plugin has been heavily optimized across the board.
  • More vanilla behaviors. Some Pets now benefit from their unique vanilla actions.

Pets also now save their exact entity state when captured, stored, or released. Armor, stats, variants, everything - which stamps out a whole family of long-standing data-loss bugs.


Text formatting has moved from legacy & color codes to MiniMessage (<green>, <gradient>, hover/click events, and more). Your existing pet names, configs, locales, and skilltrees are converted automatically.


New GUIs and a browser-based live editor


Every menu in MyPet has been rebuilt on a brand-new GUI system, headlined by /pet, a single-screen pet management menu with 17 buttons covering everything your Pet can do: rename, call, info, stay, auto-respawn, send-away, store, switch, trade, release, skilltree selection and info, backpack, behavior, pickup, stop-attacking, and volume. Menu layouts are defined in JSON, so you can customize them.


For server owners, MyPet now ships a browser-based live editor: run /mypet editor and edit your config.yml, pet-config.yml, exp-config.yml, pet shops, skilltrees, and locale files in your browser. Changes apply live to the running server. Skills are provided to the editor by your server, so third-party and newly added skills appear in the skilltree editor automatically.


There's also a new volume slider for Pet sounds, opened from /petsettings volume or the volume button in /pet, with presets at 0/25/50/75/100%.


Skills and skilltrees


MyPet 4.0 adds ten new skills, bringing the total to 31: Mining, Lumberjack, Fishing, Sniff, Potion, Toolbox, Taunt, Armor, Climb, and Camouflage. The Ride skill also gains a new climb upgrade.


To put them to work, MyPet now ships 124 built-in skilltrees (up from 5), and introduces skilltree ascension: skilltrees can form ascension paths, ascending is free, it bypasses MyPet.Skilltree.ChooseOnce, and skilltree Weight can now be set per pet type.


Third-party plugins can now register their own custom skills through the API, and they'll show up in the web editor's skilltree editor automatically.


New Pets, custom models, and ride sharing


Five new species can now be tamed: Nautilus, Zombie Nautilus, Happy Ghast, Camel Husk, and Parched.


Beyond vanilla mobs, MyPet 4.0 supports custom-model Pets through BetterModel (recommended), ModelEngine, ItemsAdder, and MythicMobs, plus custom model overlays on top of regular Pets. Your server's custom bosses and creatures can now be Pets.


MyPet 4 includes two custom model Pets - the Capybara and the Chameleon! These are provided by HeavenCreations, huge thanks to them.


Riding got a major upgrade: the new /petride command mounts your active Pet, and owners can use /petride driver|passengers allow|disallow to let other players ride along, with new per-pet config options (RequireRideSkill, RequireRideItem, RequireSaddle, non-owner mount permissions) so server owners control exactly who can ride what. Flying Pets get tuned, configurable flight speeds (OverrideFlySpeed/FlySpeed).


Per-pet creation options now use readable string names (variant:lucy, profession:armorer, collar:red instead of numeric IDs), Pets spawn with their species' vanilla health by default, and the per-pet config surface has grown massively - from Creeper explosion controls to Ender Dragon block-damage gates to PreventDryOut for Axolotls.


Full changelog:


Added

  • Added /pet - a single-screen pet management menu with 17 buttons (rename, call, info, stay, auto-respawn, send-away, store, switch, trade, release, choose-skilltree, skilltree-info, backpack, behavior, pickup, stop-attacking, volume)
  • Added a completely new GUI system - every menu has been rebuilt, and menu layouts are customizable via JSON definitions
  • Added /mypet editor - a browser-based live editor for config.yml, pet-config.yml, exp-config.yml, pet shops, skilltrees, and locale files; skills are provided by the server so third-party skills appear automatically
  • Added a Pet volume slider GUI - opens from /petsettings volume or the volume button in /pet, with five presets at 0/25/50/75/100%
  • Added Volume-Control and Volume-Mode (per-owner or per-player) flags to hooks-config.yml under each packet adapter's section
  • Added support for Nautilus, Zombie Nautilus, Happy Ghast, Camel Husk, and Parched Pets
  • Added support for custom Pet types through BetterModel (recommended), ModelEngine, ItemsAdder, and MythicMobs
  • Added support for custom model overlays for Pets through BetterModel (recommended), ModelEngine, and ItemsAdder
  • Added ten new skills: Mining, Lumberjack, Fishing, Sniff, Potion, Toolbox, Taunt, Armor, Climb, and Camouflage
  • Added a "climb" upgrade to the Ride skill
  • Added 124 new default skilltrees with an ascension play style
  • Added skilltree ascension - ascending is free, bypasses MyPet.Skilltree.ChooseOnce, and skilltree Weight can be set per pet type
  • Added /petride - mounts your active Pet (requires the Ride skill unless RequireRideSkill is disabled)
  • Added /petride driver|passengers allow|disallow - lets Pet owners opt in to other players riding their Pet
  • Added /petinv as an alias for /petinventory
  • Added /petadmin switch (user) GUI for switching another player's active Pet
  • Added per-command admin permissions
  • Added support for Folia servers
  • Added support for WorldGuard-Folia
  • Added automatic migration from MyPet 3 - configs, Pets and their inventories, skilltrees, locale files, pet shops, and the database schema are all converted on first startup (including legacy color codes → MiniMessage)
  • Added an auto-updater for users downloading releases from BuiltByBit and dev builds from Discord
  • Added the %mypet_exp_current% and %mypet_exp_max% placeholders for a Pet's level progress
  • Added the %mypet_owns_pet% placeholder for whether a player owns any Pet, active or stored
  • Added support for the golden dandelion freezing a Pet's aging (Minecraft 26.1+)
  • Added OverrideFlySpeed (default false) and FlySpeed config options per Pet type
  • Added riding config options for naturally rideable Pets: RequireRideSkill (default true), RequireRideItem (default true), AllowNonOwnerPrimaryMount (default false), AllowNonOwnerSecondaryMount for multi-passenger Pets (default true), RequireSaddle (default false), and AllowNonOwnerSaddle (default false)
  • Added AllowFlintAndSteelExplode, AllowNonOwnerFlintAndSteel, AllowExplosionBlockDamage, AllowExplosionEntityDamage, and AllowLightningPower config options for Creeper Pets (all default false)
  • Added GrantEndAdvancementOnKill, AllowBlockDamage, AllowPlayerContactDamage, and AllowEntityContactDamage config options for Ender Dragon Pets (all default false)
  • Added CanSwim, PreventSuffocation, and PreventDaylightBurn config options for Pets that swim, suffocate on land, or burn in daylight
  • Added PreventDryOut config option for Axolotl Pets (default true)
  • Added PreventSuffocation config option for Nautilus Pets (default true)
  • Added PreventNaturalGrowup config option for baby Pets (default true)
  • Added PreventProfessionChange config option for Villager Pets (default true)
  • Added AllowLeafDestruction config option for Ravager Pets (default false)
  • Added AllowLightningVariantFlip config option for Mooshroom Pets (default false)
  • Added AllowLightningConversion config options for Pig and Villager Pets (default false)
  • Added CanGiveMilk config option for Goat Pets
  • Added CanDropScute config option for Turtle Pets
  • Added Can-Shed-Scute config option for Armadillo Pets
  • Added Can-Drop-Slimeball config option for sneezing baby Panda Pets
  • Added Can-Drop-Horn config option for Goat Pets
  • Added Can-Dig-Seeds config option for Sniffer Pets
  • Added CanHurtPlayersOnContact config option for Slime and Magma Cube Pets (default false)
  • Added harness:<color> creation option for Happy Ghast Pets
  • Added variant creation option for Salmon Pets
  • Added oxidation and waxed creation options for Copper Golem Pets

Changed

  • Pets are now real vanilla mobs - the NMS entity system was replaced with Bukkit spawning and Paper's Mob Goal API
  • MyPet now requires Paper (or a derivative), Minecraft 1.20.5+, and Java 21
  • Replaced the command system with Paper's Brigadier Commands API
  • Replaced legacy & color codes with MiniMessage (<green>, <gradient>, hover/click events, …) everywhere - existing files are migrated automatically
  • Replaced all messaging with Adventure Components and the Keyle NBT library with Adventure NBT
  • Pets now save their exact entity state (armor, stats, variants, and more) on capture, store, and release, preventing Pet data loss
  • Each Pet now spawns with its species' vanilla health unless overridden by a config value or skill
  • Per-pet creation options now take string names - variant:lucy for Axolotl, profession:armorer for Villager, collar:red for Cat/Wolf, etc.
  • Horse Pet variant: creation option split into color: and style:
  • Tropical Fish Pet variant: creation option split into pattern:, body-color:, and pattern-color:
  • Cat Pet creation option renamed from type: to variant:
  • Snow Golem Pet sheared creation option renamed to derp
  • /petadmin create now aborts with a clear error when an option value isn't recognized for the chosen Pet type
  • A Pet now receives a default name when the name: argument is given with no value
  • Default Pet names are now resolved from Mojang's vanilla entity translations in the creator's language
  • Renamed the CanGlide config option for flying Pets to CanFly (old configs are migrated)
  • Replaced the WillShake config option with AllowZombification for Hoglin, Piglin, and Piglin Brute Pets (default false)
  • Replaced the dead Snow Golem FixSnowTrack config option with DisableSnowTrack (default true)
  • Renamed /petsettings idle-volume to /petsettings volume and broadened its scope from ambient-only sounds to every sound a Pet emits
  • Removed the Javascript experience calculator in favor of new experience modes (linear, power, exponential)
  • The MyPet.experience.multiplier permission now accepts any integer instead of 6 hardcoded tiers (e.g. .183 for 1.83x)
  • Ender Dragon Pets no longer require ProtocolLib
  • Required libraries are now downloaded on startup through the server's library downloader
  • Updated all hook dependencies to their latest versions; replaced the Factions hook with FactionsUUID and the Kingdoms hook with KingdomsX
  • Miscellaneous performance improvements across the plugin

Fixed (from MyPet 3)

  • Fixed Ender Dragon Pets being unable to follow their owner
  • Fixed Ender Dragon Pets being unrideable
  • Fixed Armadillo Pets moving while scared on 1.21.5+
  • Fixed the Angry leash flag only working for Wolves
  • Fixed the Zone-Messages config option for the Beacon skill
  • Fixed Pets stepping on pressure plates being checked against WorldGuard's INTERACT region flag at the owner's location instead of the Pet's own
  • Starvation damage from the hunger system is now reported as its own named damage source instead of an unnamed generic one

Removed

  • Removed support for Bukkit/Spigot servers (Paper and derivatives only)
  • Removed support for server versions below 1.20.5
  • Removed support for MongoDB databases
  • Removed support for no-permissions mode (aka OP-only mode)
  • Removed the legacy permission system
  • Removed support for legacy item IDs
  • Removed the 5 classic skilltrees (replaced by the 124 new built-in skilltrees)
  • Removed the Skip-Target-AI-Ticks config option
  • Removed the Copper Golem OxidationTime config option (vanilla now controls oxidation cadence)
  • Removed the Update.ReplaceOld config option
  • Removed the noshake creation option for Hoglin, Piglin, and Piglin Brute Pets - zombification immunity is controlled by the AllowZombification config option
  • Removed the has-stung creation option for Bee Pets
  • Removed hooks for discontinued or outdated plugins: AncientRPG, BossShopPro, FabledSkyblock, GangsPlus, GriefPreventionPlus, MagicSpells, Minigames, MobStacker (both versions), NoCheatPlus, PreciousStones, PvPDiffTimer, SkillAPI, WorldGuardCustomFlags, mcMMO v1, MythicMobs v4, WorldGuard v6, and pre-v6 PlotSquared

For developers


MyPet 4.0 is a breaking API release. The highlights:

  • Pet-related API classes and events were renamed from MyPet____ to Pet____ (e.g. MyPetInfo → PetInfo, MyPetManager → PetManager, MyPet*Event → Pet*Event)
  • The global Configuration class is gone - plugin-wide config values are ConfigKey<?> fields on MyPetGlobal, and per-pet config flags are ConfigKey<?> fields on each PetXxx class
  • Third-party plugins can register custom skills, and per-pet event handlers/lifecycle hooks via PetBehavior and PetLifecycleHook
  • Registration methods (registerSkill/Requirement/LeashFlag/Hook) now throw IllegalArgumentException on invalid input instead of failing silently
  • The public API surface was reduced and javadocs were added to most API methods; API builds are published as 4.0.0 on the UserDerezzed repository

The full migration guide is on the wiki: Developer Guide → Migrating from MyPet 3


Thanks for choosing MyPet!

Page 1
Sign in
$17.99 USD
Sign in to purchase, save this product to your cart, and keep downloads tied to your account.
Stripe

pets