Skip to content

1.2-EXPERIMENTAL

Pre-release
Pre-release
Compare
Choose a tag to compare
@Reldeam Reldeam released this 01 Feb 21:35

Experimental release of Vault support

Please help with testing of this feature. If you find any bugs, please raise an issue.

Features

  • Vault support added. You can enable economy by setting enableEconomy to true. This requires Vault and an compatible Economy plugin.
  • You can replace the <item stack> value in the trades.config with: money: <double>
  • I've made it so that money acts like regular items for trading.
  • I've also added a customTradeMask field to the VillagerData that makes it possible to work out which custom trade is 'covering' which vanilla trade (as both the vanillaTrades and customTradeKeys are ordered).
  • CustomTrades are now refreshed based on the key. That means that if you make a change to a custom key in the config, it will be reflected on all villagers that have that custom trade in the game.

Checkout the README.md for more information.
This is the updated config.yml with the new options added.
And finally, this is the updated trades.yml with a lot more examples including using the new <money> option.