Paper plugin to prevent a villager monopoly by locking what a villager trades after its UI is opened.
TESTED VERSIONS
NATIVE: 1.21.x
WORKING: 1.21.x, 1.20.6 (Folia)
(If you find out it works on another version shoot me a dm at Lupancham on discord with the version(s) and server software(s) :> )
Why do I need this?
Thats a great question! Ask yourself, would it be best to limit a potential threat to a server economy? If yes, this plugin might be for you as this plugin allows you to stop villager re-rolling!
How Does this Work?
This works by checking if a villager has less than 1 xp, if so it will give tha villager 1 xp to lock its trades when a player opens its menu. To allow the server to use its main thread, this runs on a different thread rather than the one the server uses, this can be toggled in the config which is shown below.
config.yml
# Configuration for VillagerTradeLockPlugin
# If true, the plugin will run experience-checking logic asynchronously on a separate thread.
# If false, the plugin will run this logic on the server's main thread.
use-async-check: true
Hey! I need YOUR help :>
If you happen to test this plugin on a different server software or mc version, please please please shoot us a DM so I can add those versions to the supported versions list so people can know if the version they wish to run it on works :>, <3 Disc Realms/Lupancham
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+