Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
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
- List Trades
/librarian list Displays all available trades from the librarian you're looking at.
- Set Price
/librarian setprice <trade_number> <new_price> Changes the price of an existing trade.
- Add Trade (NEW!)
/librarian addtrade <item>:<amount>[,<item>:<amount>] <enchantment> <level> 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 <trade_number> Removes a specific trade from the librarian.
- 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+

