Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Communal Pets
Share your tamed pets — without asking anyone to install a mod.
Communal Pets lets several players co-own the same tamed pet on a Fabric server. Besides its owner, a pet can have caretakers; together they are its guardians. Guardians can command the pet, switch its behaviour and manage the whole group from in-game menus — and because everything runs on the server, players on a completely vanilla client can see and use all of it.

Why this exists
In vanilla, a tamed pet belongs to exactly one player. On a server that is often wrong: base pets, community animals, a shop cat that several people look after. Until now you either shared an account, passed the pet around with a name tag, or asked everyone to install a client-side pet mod — which most players simply won't do.
Communal Pets is a server-side utility. Install it on the server and it works for everyone who connects, vanilla clients included. No client mod, no resource pack, no custom textures.
Features
Guardians — owner + caretakers
- Caretakers are stored as UUIDs on the pet itself, so they keep working while the owner is offline, and survive restarts and dimension changes.
- Caretakers can command the pet, sit or stand it, and the pet defends them and follows them exactly like it does for the owner.
Four behaviour modes, with an owner-only glow
Right-click a pet to cycle its behaviour. The pet glows in the colour of its new state — and that glow is only sent to the guardian group, so everyone else just sees a normal pet.
| Mode | What it does | Glow |
|---|---|---|
| Follow commander | follows the last person who commanded it | bright green |
| Follow nearest guardian | follows whichever guardian is closest | light blue |
| Wander | roams inside a radius around a centre point (set it with a command) | orange |
| Sit | stays put | red |
In-game menus that work on vanilla clients
Sneak + right-click a tamed pet to open its menu: a real vanilla container, built entirely out of
vanilla items and components. Everything is clickable, everything is server-authoritative, and none
of it requires the client to have this mod.

Applications and invitations
Nobody has to be handed ownership to help out.
- A stranger can apply to become a caretaker from the pet's menu; the owner approves or rejects it in the request screen.
- The owner can invite online players straight from the management screen, or offline players by
command (resolved through the local name cache, exactly like
/op). - Requests arrive as a chat message with clickable [Accept] / [Reject] buttons, and stay pending on the pet until they are answered.

Ownership transfer, with a confirmation screen
Hand the pet over properly: the new owner takes over, the old owner is demoted to caretaker
instead of losing access, and nothing happens by accident — transfer asks for confirmation first.

Seven menus, one of which is for you
| Menu | Who sees it | What's in it |
|---|---|---|
| 0 | non-guardians | pet info, apply to become a caretaker |
| 0.1 | players holding an invitation | accept / reject |
| 1 | guardians | 4 behaviour buttons, wander radius, guardian list, management paper |
| 2 | owner + op | management panel: kick / promote caretakers, invite players, paging |
| 3 | owner + op | confirm "remove from guardians" |
| 3.1 | owner + op | confirm "make this the new owner" |
| 4 | owner + op | pending applications: allow or reject |


Permissions that make sense
| Action | Owner | Caretaker | Op |
|---|---|---|---|
| Use menus 0 / 0.1 (apply, answer an invitation) | ✅ | ✅ | ✅ |
| Use menu 1 (behaviour, wander radius) | ✅ | ✅ | ✅ |
| Use menus 2 / 3 / 3.1 / 4 (manage people, transfer ownership) | ✅ | ❌ | ✅ |
Caretakers cannot manage other caretakers. That is deliberate — it keeps a shared pet from turning into a tug of war.
Bilingual, including for vanilla clients
English and 中文 are built in, and the text follows each player's own language — including vanilla clients, which cannot translate anything themselves. Because those clients have no language files for this mod, every text component carries a fallback string written in the reader's language, so a vanilla client reads real sentences instead of raw translation keys and can switch language in-game.
Commands
| Command | Who | What |
|---|---|---|
/communalpets accept | reject |
anyone | answer the most recent request addressed to you (15-minute window; the menus have no expiry) |
/communalpets <pet> caretaker list |
guardian or op | list owner and caretakers |
/communalpets <pet> caretaker add <player> |
op | add a caretaker directly |
/communalpets <pet> caretaker remove <player> |
op | remove a caretaker |
/communalpets <pet> caretaker invite <players> |
owner or op | invite players — offline names work |
/communalpets <pet> behavior [set <mode>] |
guardian / op | read or set the behaviour |
/communalpets <pet> wander center [set <pos>] |
guardian / op | read or set the wander centre |
/communalpets <pet> wander radius [set <value>] |
guardian / op | read or set the wander radius (0 < r ≤ 1024) |
Configuration
config/communal-pets.json:
{
"fallback_language": "zh_cn"
}
fallback_language is only a last resort (server console, command blocks, and client languages this mod
has no file for). Set it to en_us if your players are mostly English speakers.
Supported
| Minecraft | 26.2 |
| Loader | Fabric Loader ≥ 0.19.3 + Fabric API |
| Java | ≥ 25 |
| Installed on | server only — clients may install it, but never need to |
| Pets | wolves, cats, parrots |
Install
- Install Fabric Loader and put
Fabric API in the server's
mods/folder. - Drop
communal-pets-<version>.jarinto the server'smods/folder. - Done — vanilla clients can connect and use everything.
How it works without a client mod
For the curious, and for anyone worried about compatibility:
- The menus are vanilla
GENERIC_9x3/GENERIC_9x6containers filled with vanilla item stacks; names, lore, counts, glint and player-head skins are plain data components. Clicks are handled on the server and answered with a full-state resync, so the client's local prediction can never move an item. - The glow uses throwaway scoreboard teams: a fake team is created for the pet, and only the guardian group is told about it — vanilla clients then render the glow for those players only.
- All text is a
translatablecomponent whose fallback string is written in the reader's own language, so vanilla clients read it — and an open menu is redrawn as soon as the player changes language.
Known limitations
- Inviting a name that is not in the local name cache makes the server ask Mojang, which can stall
the server thread for a moment — the same thing
/op <unknown name>does. Prefer names that have joined the server before. - If a player installs this mod client-side as well, they may see an extra hand swing while acting as a caretaker. Cosmetic only.
- Changing the behaviour from the menu closes the menu (by design).
License
GNU General Public License v3 or later GitHub.


