WanderingTrades

Spigot plugin to create custom trades for Wandering Traders (and Villagers).

MIT License

Stars
28
Committers
9

Bot releases are hidden (Show)

WanderingTrades - WanderingTrades 1.3.0

Published by jpenilla over 4 years ago

New features

  • Subcommands for /wt summon and /wt summonvillager to disable the summoned trader's AI/movement.
    • /wt summon noai
    • /wt summonvillager noai
  • Automatically refresh the trades of Traders summoned using commands after an amount of time set in config.yml
    • Will pick new trades from the same config that the trader was summoned with
    • Optional WorldGuard region white/black list for refreshing trades
  • New options in trade configs: invincible: [true/false] and customName: '&aYour Name Here'
    • These options only apply to Traders summoned by commands.
    • Not required, they default to false and no custom name
    • customName will give traders summoned using that config a nametag above their head
    • setting invincible to true will protect traders summoned using that config from taking any damage and stop them from despawning. Permission to damage protected traders: wanderingtrades.damage

Improvements

  • Add tab complete for every argument of the plugin's commands
  • Every config option can be reloaded with /wt reload not just trade configs
WanderingTrades - WanderingTrades 1.2.2

Published by jpenilla over 4 years ago

Changelog

  • Added support for custom NBT data. Trades with NBT will ignore the other item settings.
  • Added a command to create a template trade from the item in your hand including it's NBT data. /wt addhand
WanderingTrades - WanderingTrades 1.2.1

Published by jpenilla over 4 years ago

  • Command handling improvement
  • Fix error when setting randomAmount higher than the amount of trades in the config. Now will use repeat trades in this case.
  • Compatibility with McRPG: skill and upgrade books as results from trades. See the linked mcrpg.yml config for an example of how to use this.
WanderingTrades - WanderingTrades 1.2.0

Published by jpenilla over 4 years ago

Changelog:

  • Fix bug where trade configs would randomly unload themselves
  • Tab completion for config names in /wt s and /wt sv
  • Add option to remove original trades in config.yml
  • Add player heads from the server to traders. configure in playerheads.yml
  • New required option in trade configs: chance
  • Removed from config.yml: randomSetPerTrader
  • Added to config.yml: allowMultipleSets

Warning

It is recommended to delete and regenerate your config.yml, and required to edit your trade configs, adding a line at the top reading chance: # replacing # with a value between 0.01 and 1.0, with 0.5 being 50%.

See the default config.yml and the example.yml or microblocks.yml linked on the resource overview page for an example of an updated config.

WanderingTrades - WanderingTrades 1.1.3

Published by jpenilla over 4 years ago

  • Added support for custom item lores
WanderingTrades - WanderingTrades 1.1.4

Published by jpenilla over 4 years ago

  • Added commands to
    • List loaded configs (/wt l)
    • Summon a Wandering Trader using a config (/wt s)
    • Summon a Villager using a config (/wt sv)
WanderingTrades - WanderingTrades 1.1.2

Published by jpenilla over 4 years ago

  • Added help command
  • Slight refactoring and code improvements
WanderingTrades - WanderingTrades 1.1.1

Published by jpenilla over 4 years ago

  • Performance improvements on loading configs
  • Omitting customname in trade configs will now give no custom name instead of an error. customname: NONE still works.
WanderingTrades - WanderingTrades 1.1.0

Published by jpenilla over 4 years ago

  • Add support for enchantments
  • Move trades into separate config files in trades folder. Will generate example.yml if no configs are provided
  • Configs for 1.0.0 or 1.0.1 can be updated by deleting the first line of the file, and then moving the file from (plugins>WanderingTrades>config.yml) to (plugins>WanderingTrades>trades>mytrades.yml). You will need to create the trades folder, and the new filename can be whatever you want as long as it ends in .yml (does not have to be mytrades.yml)
  • Alternatively, delete everything in the (plugins>WanderingTrades) folder to regenerate all config files on next run of the plugin
  • Based on options in config.yml, each Wandering Trader will either be given the trades from a random ONE or from ALL of your configs in the (plugins>WanderingTrades>trades) folder.

Here is an example config microblocks.yml. Place it in the (plugins>WanderingTrades>trades) folder

WanderingTrades - WanderingTrades 1.0.1

Published by jpenilla over 4 years ago

  • Load before the world
  • Add update checker
WanderingTrades - WanderingTrades 1.0.0

Published by jpenilla over 4 years ago

Adds trades defined in config to wandering traders.
Supports custom player head skins.
Randomization options.

Config for VanillaTweaks microblocks
config.yml

Badges
Extracted from project README
wandering trades logo WanderingTrades Jenkins