Go to file
2021-06-27 08:42:57 -04:00
src Version 1.2.0: Initial commit 2021-06-27 08:42:57 -04:00
.gitignore Version 1.2.0: Initial commit 2021-06-27 08:42:57 -04:00
pom.xml Version 1.2.0: Initial commit 2021-06-27 08:42:57 -04:00
README.md Version 1.2.0: Initial commit 2021-06-27 08:42:57 -04:00

VillagerTradeLimiter (VTL)

by PretzelJohn

Description:

This Minecraft plugin limits the villager trade deals that players can get when they cure a zombie villager.


Commands:

Command Alias Description
/villagertradelimiter /vtl shows a help message
/villagertradelimiter reload /vtl reload reloads config.yml

Permissions:

Permission Description Default User(s)
villagertradelimiter.* Allows players to use /vtl and /vtl reload OP
villagertradelimiter.use Allows players to use /vtl OP
villagertradelimiter.reload Allows players to reload config.yml and messages.yml OP

Config:

  • Global settings: These settings apply to all villagers and villager trades.

    Setting Description
    bStats: This helps me keep track of what server versions are being used. Please leave this set to true.
    DisableTrading: Set this to true if you want to completely disable ALL villager trading.
    MaxHeroLevel: The maximum level of the "Hero of the Village" (HotV) effect that a player can have. This limits HotV price decreases. Options:
    • Set to -1 to disable this feature and keep vanilla behavior
    • Set to a number between 0 and 5 to set the maximum HotV effect level players can have
    MaxDiscount: The maximum discount (%) you can get from trading/healing zombie villagers. This limits reputation-based price decreases. Options:
    • Set to -1.0 to disable this feature and keep vanilla behavior
    • Set to a number between 0.0 and 1.0 to set the maximum discount a player can get. (NOTE: 30% = 0.3)
    MaxDemand: The maximum demand for all items. This limits demand-based price increases. Options:
    • Set to -1 to disable this feature and keep vanilla behavior
    • Set to 0 or higher to set the maximum demand for all items

    WARNING: The previous demand information cannot be recovered if it was higher than the MaxDemand.
  • Per-item settings: (Overrides:)

    Setting Description
    <item_name>: Override the global settings by adding as many of these as you need. Enchanted books must follow the format of name_level (mending_1). All other items must follow the format of item_name (stone_bricks).
    .MaxDiscount: Sets the maximum discount for this item
    .MaxDemand: Sets the maximum demand for this item
  • For the default config.yml, see: src/main/resources/config.yml