
Villager Trade Checker
A datapack that tracks librarian trades and gives you the ability to reset locked villagers
About this Mod
Short Overview
This datapack can be used to easily check librarian villager trades without opening them each time. This pack can also be used to reset a villager completely.
Command Overview
/trigger vtc_enable : Pick the closest villager to you and enables it for use with the pack. The villager will start glowing.
/trigger vtc_disable : Disables your enabled villager
/trigger vtc_scan : If the enabled villager is/will be a librarian, makes it so that when it gets that job, it will output it's enchantment if it has it.
/trigger vtc_menu : Opens the enchantment treshold menu.
/trigger vtc_reset : Prepares the currently selected villager to be reset. Confirmation is needed.
General Use
At first, you will want to pick a villager by using /trigger vtc_enabled while standing close to your villager. When selected, it will start glowing. You can only select one villager at the time per person.

You can now repeatedly give it a job and it will put his enchant in chat just for you.
Setting a treshold
If you want to receive a message for a (max level) enchant on top of the already existing ones, /trigger vtc_menu to open the menu. Here, you can choose which enchantment you want to show and under what treshold.
(!Note: When you open a specific enchant setting, the slider will always be at 0. You currently cannot see what score you put it on! You setting is safed!)

Disabling and Resetting
Disable
When you are done with a villager, you can run /trigger vtc_disable to stop the pack from interacting with the villager. If you run /trigger vtc_enable on another villager, it will disable the previous. Disabling does not interfere with anything vanilla related.
Reset
If you have a villager that has locked in their trades, and want to get rid of it, you don't have to remove his existance anymore. You can just totally wipe any happy memory he ever had and make him believe he was born in the cell you put him in, ready for work. All this can be done simple with the /trigger vtc_reset command. The selected villager will glow red and you will be asked to confirm.
Special thanks to TheBlackSwitch for helping me out with some things!
Available Versions
How to Install Villager Trade Checker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Villager Trade Checker". 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 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Villager Trade Checker server crashes on startup – what to do?
Most common cause: wrong datapack 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 Villager Trade Checker compatible with datapack and fabric and forge and neoforge and quilt?
Villager Trade Checker officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Villager Trade Checker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Villager Trade Checker 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 Villager Trade Checker with just one click on your server.