Sueta

[1.19+] Balanced Villager Trades

v2.0-beta11

Balance/customize villager trades

·Plugin
  1. v2.0-beta11latestWandering trader supportOct 16, 2024
    You can also download the update on GitHub · All recipes now apply to wandering traders as well · Added a new field merchant-type to check the entity type of the merchant (can be villager or wandering-trader) · Certain villager fields now return null or 0 if the merchant is not a villager · Only recipe-count, world and inventory fields return sensible values, because wandering traders apparently have inventories An example of using the new merchant-type field: trader: desc: Quintuple the amount you get from all wandering trader recipes when: merchant-type: wandering_trader do: set: result.amount: "*= 5"
    6 downloads
  2. v2.0-beta10Bug fix (again) and new fields (again)Sep 4, 2024
    · Fixed another exception when changing ingredients' amount (#15) · The nbt field on items is now no longer read-only. Additionally, it now properly returns the 1.20.5+ component format · Added max-stack-size and max-damage fields on items. They are only available on 1.20.5+ · Ingredient splitting/combining should be more consistent now. In addition, ingredient-0.amount now returns the combined amount if the items are the same · Updated Lua type definition file
    44 downloads
  3. v2.0 Beta 9v2.0 Beta 9 - Bug fix and new fieldsAug 30, 2024
    · Fixed an exception when accessing the second ingredient in newer versions · Random numbers can now be generated without Lua by using "random between <start> and <end>" · Added a new read-only "nbt" field on all items · Added a new "random(start, end)" function to Lua that uses a shared RNG for better randomness
    27 downloads
  4. v2.0 Beta 8Enchantments field and more Lua featuresAug 18, 2023
    You can also view or download this update from GitHub · New enchantments field on items · Recipe warnings are now only shown when you run /bvt warnings · Added /bvt script for running Lua scripts · Added /bvt setfield/testfield for testing recipe behavior · Lua actions can now load from Lua files in the plugin folder (lua-file: script.lua will load plugins/BalancedVillagerTrades/script.lua) · Added chat color codes (colors), OS library and IO library (if you enable lua.allow-io in config.yml) to the Lua sandbox · (If you use the VSCode Lua extension, you can import the type definitions) · Reputation nerf is no longer available on Spigot due to the increased maintenance cost · General bug fixes
    261 downloads
  5. v2.0 Beta 7New fields and Lua bug fixJul 15, 2022
    · Added new fields index and new-recipe · Fixed a NullPointerException when running Lua scripts
    437 downloads
  6. v2.0 Beta 6Beta 6 - Lua support, 1.19Jul 6, 2022
    · Added support for running Lua scripts as an action (see more information and this example) · Dropped support for older versions, now only supports 1.19
    80 downloads
  7. v2.0 Beta 5Improved predicates, new echo action and better Paper integrationAug 29, 2021
    · Predicates are now based on the same system used to manipulate trades from the previous release · The old syntax is still supported · item types are now namespaced, see migration note in download page · new echo action to print properties to the console for debugging purposes Code (YAML): when : # ... do: echo : - result.type - # other properties · replaced some NMS dependency with Paper integration (Spigot still supported, of course) · more properties (mainly villager.world for world properties)
    408 downloads
  8. v2.0 Beta 4v2.0 beta 4 - better item matching & moreJul 25, 2021
    - allow matching items by enchantments - improved the ability to manipulate items in trades (see examples at https://github.com/jacky8399/BalancedVillagerTrades/wiki/… - made /bvt reload also reload recipes.yml
    151 downloads
  9. v2.0 Beta 31.17 support and bStatsJun 22, 2021
    - added 1.17 support - added bStats
    156 downloads
  10. v2.0 Beta 2v2.0 Beta 2 - Bug fixMay 19, 2021
    · Fixed java.lang.IllegalArgumentException
    127 downloads
  11. v2.0 Beta 1v2.0 Beta 1 - Customizable trade changesApr 9, 2021
    This is a beta version - Moved all built-in nerfs (except reputation nerf) into recipes.yml - Added two new nerfs - Disable diamond armor and tool trade discounts on armorers and toolsmiths - Remove stone trade from masons (disabled by default; uncomment in recipes.yml) - You can write your own trade changes now (documentation soon™)
    136 downloads
  12. 1.0Jan 9, 2021
    166 downloads

Similar projects

Plugin →