Private Villagers

Private Villagers

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

by
149 Downloads
fabricadventuremobsutility
Rent Server with this Mod

Screenshots

List of Commands
Villager Info Command
Add Player to Allow List
Succesfully Added Player to Allow List
Remove Player from Allow List
Succesfully removed player from Allow List

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

  1. You place a workstation (lectern, smithing table, etc.)
  2. A villager claims that workstation and gets a profession
  3. That villager now belongs to you — only you can trade with them
  4. 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

  1. Install Fabric Loader for your Minecraft version
  2. Install Fabric API
  3. Drop privatevillager-x.x.x-fabric.1.21.x.jar into your server's mods/ folder
  4. 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

Private Villagers 1.2.0release
MC 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
December 28, 2025

How to Install Private Villagers on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

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

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+1 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install Private Villagers with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.8