VTL ~ VillagerTradeLimiter [1.14.1 - 1.20.1] icon

VTL ~ VillagerTradeLimiter [1.14.1 - 1.20.1] -----

~ Fix those pesky OP villager discounts! ~



2.0.0 ~ New features! BACKUP YOUR CONFIG!
BEFORE UPDATING, MAKE A BACKUP OF CONFIG.YML!

I have rewritten much of this plugin, and added several features, so there will likely be bugs. It is recommended to test this on a separate server first, if possible, and report any bugs on Discord.

This version (2.0.0) and any future versions will only work on 1.18.1+ servers.


OVERVIEW:
Happy September! :D
After 2 months of work, rewriting the plugin, and hearing your suggestions on Discord, I am pleased to finally release this update. Thank you for your suggestions, bug reports, and reviews! This wouldn't be possible without you.


NEW FEATURES :
1. Permission group settings:
Most of the settings are now configurable for different permission groups! This version comes with 3 new config files in the /plugins/VillagerTradeLimiter/groups/ folder: default.yml, example.yml, and op.yml. Whatever settings you put in default.yml will apply to ALL players that don't have a set permission. ​

You can change the settings for a player by giving them a "villagertradelimiter.group.<group>" permission with your permissions plugin, replacing "<group>" with a filename.

For example, giving a player the "villagertradelimiter.group.example" permission will give them the settings from example.yml, while "villagertradelimiter.group.op" will give them the settings from op.yml.

You can create and delete any group config files in the /plugins/VillagerTradeLimiter/groups/ folder, but DO NOT delete default.yml.

2. Full trade replacement:
Until now, replacing certain trades with custom items was extremely limited. With this update, you can now fully customize the ingredients and results of any trade. This includes, names, lore, amounts, materials, enchantments, item flags, and custom model data.

Names and lore also now have HEX color support. For a good example of the full trade replacement, see the custom name tag override in /plugins/VillagerTradeLimiter/groups/example.yml:
Code (Text):
Overrides:
  name_tag:
    Item1:
      Material: glowstone_dust
      Amount: 64
    Item2:
      Material: book
      Amount: 1
    Result:
      Material: book
      Amount: 1
      Unbreakable: true
      Name: <#FFCC00>Forbidden Tome
      Lore:
      - '&7An ancient tome'
      - '&7thought to have been'
      - '&7lost to the ages...'
      - '&7'
      - <#993333>Doomed are those who
      - <#993333>dare read these
      - <#993333>cursed pages.
      Enchantments:
      - binding_curse_1
      Flags:
      - hide_enchants
      - hide_unbreakable
The last trade of every master librarian would now look like this: [​IMG]

3. Faster villager restocks:
You can now make villagers restock faster than vanilla by setting Restock in config.yml to a smaller time interval.

For example, this will force villagers to restock within 2 minutes:
Code (Text):
Restock: 2m
Also, the restock interval and per-player cooldowns have been smoothed out, so that they work as expected.

4. Disable trading for certain professions:
You can now prevent players from trading with any villagers that have one of the professions listed under "DisableProfessions" in config.yml

For example, the following setting will prevent players from trading with any librarians or clerics.
Code (Text):
DisableProfessions:
- librarian
- cleric

5. Reversible changes:
Changes to villager trades are now only temporary. They revert back to vanilla while players aren't trading. This allows the vanilla trades to be restored after disabling or uninstalling VTL. This should also prevent corruption of villager data.​
----------, Sep 4, 2022
Resource Information
Author:
----------
Total Downloads: 13,199
First Release: Dec 29, 2020
Last Update: Jun 29, 2023
Category: ---------------
All-Time Rating:
32 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings