Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Villager Trade Lock

Villager Trade Lock

Tired of those players creating a monopoly or heavily crashing the prices of villager obtainable items on your server? Well this plugin aims to limit the speed of building a monopoly/price crashing by locking a villager's trades after opening them.

189
8
Economy
Game Mechanics
Utility
AboutGalleryChangelogVersions


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+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.6

Platforms

Folia
Paper
Purpur

Supported environments

Server-side

Links

Report issues View source Join Discord server

Creators

Disc Realms Studios
Disc Realms StudiosOrganization

Details

Licensed CC-BY-NC-SA-4.0
Published 6 months ago
Updated 6 months ago

Modrinth is open source.

main@aaf125c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.