Villager Modifications is a way for you to control the economy of enchanted books in your server without turning villagers off. Villagers provide ridiculously cheap trades for enchantments that should be harder to get than just 30 emeralds. Using this plugin you can control exactly what currency is used to trade for the every trade as well as how many of said currency is needed.
Made for version 1.15, trade changes work on 1.14 but usage restriction does not due to https://bugs.mojang.com/browse/MC-157136.
Made for version 1.15, trade changes work on 1.14 but usage restriction does not due to https://bugs.mojang.com/browse/MC-157136.
If you have any problems with the plugin, or if you would like news and information on updates, please join my discord server https://discord.gg/rBYrcYVYsP.
Check out the premium version of this plugin, in order to control every single trade that villagers and wandering trades give - edit, add, remove, and comepletely overhaul the trading system to fit your servers needs. https://www.spigotmc.org/resources/villager-overhaul-1-14-1-19-restrict-modify-remove-add.91819/
New in 1.3:
Added the ability to ensure compatibility with other villager plugins through a whitelist feature. Available to OPs or users with the permission 'VillagerModifications.whitelist'. You can set villagers that should not be included in the effects of this plugin using the /vmwhitelist command, and remove them if added by accident using /vmremove. To turn these off use /vmoff. Whitelist is stored in a separate file from the config and should not be edited other than through the use of the in game commands,
Also new in 1.3:
Take total control of the trades for any item that villagers are able to provide to players. By setting up the item into a list in the config you can then restrict and edit the trades that result in the player receiving that specific item. Simply add the item to the 'CustomItem' list using its bukkit name in full capitol letters (found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html) and then copy the example of 'CLOCK' at the bottom of the config to create your own restrictions for any item. Ensure that the name in the 'CustomItem' is the exact same as the title of the block of restrictions. Shown in the images is an example of adding bookshelfs to be changed,
Time restrictions are available for the villagers also. By setting the value restrictions to on the villagers with the specific enchanted book trades will only be able to be accessed at a certain time of the day.
Materials that can be used as a replacement for emeralds can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html .
When setting a value for uses, the number is the amount of times that the trade can be used before the villager restocks. If set to 1 the base stock will be 1 and then the villager can restock up to 2 times per day using normal mechanics. This means that the first time the villager is cured or spawned you will be able to get 3 books and then 2 books each day following that.
Setting the value of uses to 0 will allow you to completely disable the trading of that particular enchanted book, allowing access to them to be kept to normal enchanting and loot from structures.
Feel free to use the code open sourced in the GitHub link above to create your own versions and for inspiration on how to code using villager mechanics. Any questions leave in the comments and I will try to reply at least once per day. If you are using the plugin let me know the name and ip and I will add you to the list of servers using.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.14, 1.15, 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Custom Villager Modifications is a free Minecraft Java mod. Compatible with Minecraft 1.14, 1.15, 1.16, 1.17 and newer. Downloaded 14,318 times (via Spigot). Download it and open it directly in the game.