HomeJavaModsLibrarianManager
ModsJava

LibrarianManager

by EhunPetCat · on Modrinth

This is an extremely lightweight plugin that lets you modify the transactions of librarian villagers on your server.

⬇ Download on Modrinth
LibrarianManager — screenshot 1

LibrarianManager Plugin Tutorial Overview LibrarianManager is a Minecraft Paper plugin that allows server administrators to modify Librarian villagers' trades. You can add, remove, and modify trades with enchanted books as rewards.

Installation Download the plugin JAR file Place it in your server's plugins folder Restart your Paper server The plugin will automatically load Commands

  1. List Trades

/librarian list Displays all available trades from the librarian you're looking at.

  1. Set Price

/librarian setprice Changes the price of an existing trade.

  1. Add Trade (NEW!)

/librarian addtrade :[,:] Adds a new trade that rewards an enchanted book.

Syntax:

item: Material name (e.g., EMERALD, DIAMOND, BOOK) amount: Quantity (1-64) enchantment: Enchantment name (e.g., SHARPNESS, PROTECTION, EFFICIENCY) level: Enchantment level (1-5, depending on enchantment) 4. Remove Trade

/librarian removetrade Removes a specific trade from the librarian.

  1. Help

/librarian help Shows all available commands.

Usage Examples Example 1: Add a simple trade

/librarian addtrade EMERALD:20 SHARPNESS 5 This creates a trade: 20 Emeralds → Sharpness V Enchanted Book

Example 2: Add multi-item trade

/librarian addtrade EMERALD:20,BOOK:1 SHARPNESS 5 This creates a trade: 20 Emeralds + 1 Book → Sharpness V Enchanted Book

Example 3: Add efficiency trade

/librarian addtrade DIAMOND:10 EFFICIENCY 5 This creates a trade: 10 Diamonds → Efficiency V Enchanted Book

Example 4: Modify trade price

/librarian setprice 1 15 Changes the price of trade #1 to 15.

Example 5: Remove a trade

/librarian removetrade 3 Removes trade #3 from the librarian.

Supported Enchantments Armor: PROTECTION, FIRE_PROTECTION, FEATHER_FALLING, BLAST_PROTECTION, PROJECTILE_PROTECTION, RESPIRATION, AQUA_AFFINITY, THORNS, DEPTH_STRIDER, FROST_WALKER, SOUL_SPEED, SWIFT_SNEAK

Swords: SHARPNESS, SMITE, BANE_OF_ARTHROPODS, KNOCKBACK, FIRE_ASPECT, LOOTING, SWEEPING_EDGE

Tools: EFFICIENCY, SILK_TOUCH, UNBREAKING, FORTUNE

Bows: POWER, PUNCH, FLAME, INFINITY

Fishing: LUCK_OF_THE_SEA, LURE

Trident: LOYALTY, IMPALING, RIPTIDE, CHANNELING

Crossbow: MULTISHOT, PIERCING, QUICK_CHARGE, WIND_BURST

Universal: MENDING, VANISHING_CURSE

Permissions Permission Description Default librarianmanager.use Allows using all commands OP Tab Completion The plugin supports tab completion for:

Subcommands: list, setprice, addtrade, removetrade, help Material names: EMERALD, DIAMOND, BOOK, etc. Enchantment names: SHARPNESS, PROTECTION, EFFICIENCY, etc. Enchantment levels: 1, 2, 3, 4, 5 Notes Stand in front of a Librarian villager and look at it when using commands Maximum 12 trades per villager Prices must be between 1-64 Only works with adult Librarian villagers Console Logs The plugin logs:

Plugin load/unload messages All player actions (add/remove/modify trades) Error messages for invalid operations Author: EhunPetCat Version: 1.0.0 Compatible: Paper 1.21+

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more