
Private Villagers
Makes villager trading by using allow lists and listening for workstation placement.
Screenshots






About this Mod
Private Villager
Server-side Fabric mod that makes villagers private! Only the player who placed a workstation can trade with the villager that claimed it. That player can then add allow more players to trade with their Villager!
🎯 How It Works
- You place a workstation (lectern, smithing table, etc.)
- A villager claims that workstation and gets a profession
- That villager now belongs to you — only you can trade with them
- Other players see:
"You are not allowed to trade with this villager."
No client mod required — works entirely server-side!
✨ Features
Automatic Ownership
- Villagers are automatically assigned to the player who placed their workstation
- Ownership persists through server restarts
- Works with all 13+ villager professions
Allow List System
- Share your villagers with trusted players
- Add or remove players from each villager's allow list
- Allowed players can trade just like the owner
Admin Commands
- Operators can reassign or clear villager ownership
- Useful for server management and disputes
📋 Commands
All commands target the villager you're looking at, or optionally specify one with an entity selector.
| Command | Description | Permission |
|---|---|---|
/villager info [entity] |
Show owner and allow list | Everyone |
/villager add <player> [entity] |
Add player to allow list | Owner only |
/villager remove <player> [entity] |
Remove from allow list | Owner only |
/villager set <player> [entity] |
Set new owner | OP only |
/villager clear [entity] |
Remove all ownership data | OP only |
Tab completion is fully supported for player names and entity selectors.
🔧 Tracked Workstations
The mod tracks all villager job site blocks:
| Block | Profession |
|---|---|
| Blast Furnace | Armorer |
| Smoker | Butcher |
| Cartography Table | Cartographer |
| Brewing Stand | Cleric |
| Composter | Farmer |
| Barrel | Fisherman |
| Fletching Table | Fletcher |
| Cauldron | Leatherworker |
| Lectern | Librarian |
| Stonecutter | Mason |
| Loom | Shepherd |
| Smithing Table | Toolsmith |
| Grindstone | Weaponsmith |
📦 Installation
- Install Fabric Loader for your Minecraft version
- Install Fabric API
- Drop
privatevillager-x.x.x-fabric.1.21.x.jarinto your server'smods/folder - Restart the server
No client installation needed! Players connect with vanilla clients.
🎮 Compatibility
- Minecraft: 1.21.8 – 1.21.11
- Environment: Server-side only
- Dependencies: Fabric API
💡 Use Cases
- SMP Servers: Prevent villager theft and trading hall griefing
- Economy Servers: Players can build and protect their own trading infrastructure
- Shared Bases: Use the allow list to share villagers with teammates
📜 License
MIT License — free to use, modify, and redistribute.
♥️ Donate
If you would like to support me, you can donate here!
Available Versions
How to Install Private Villagers on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Private Villagers". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Private Villagers server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Private Villagers compatible with fabric?
Private Villagers officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Private Villagers – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Private Villagers consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Private Villagers with just one click on your server.