CustomVillageTrades
CustomVillageTrades
CustomVillageTrades is a plugin for Minecraft servers running Spigot or Bukkit. It changes how villagers make their trade lists, meaning you can make them trade whatever you like.
To install, just drop the jar into your server's /plugins folder.
Features
Here are some cool options:
- Make eggs your official server currency. Or cookies. Or switch to paper money.
- Buy sea lanterns, saddles, and skulls dirt cheap.
- Rebalance the values of vanilla trades. Should 18 wheat really be worth as much money as 4 diamonds?
- Sell more enchanted items in your villages.
- Take away all the villager trades. No more trading.
Permissions
Permission groups:
- customvillagetrades.* - permission to use all customvillagetrades commands.
- customvillagetrades.make.* - permission to use all yml maker commands.
Individual permissions:
- customvillagetrades.reload - allows reloading of the configs.
- customvillagetrades.reset - allows erasing the plugin's memory of villagers.
- customvillagetrades.make.banner - allows making banner ymls.
- customvillagetrades.make.book - allows making book ymls.
- customvillagetrades.make.firework - allows making firework ymls.
Manual
For the latest information on how to use CustomVillageTrades, check out the Wiki on GitHub.
-
View User Profile
-
Send Message
Posted Dec 14, 2020It was a great plugin. Those looking for an alternative for newer versions - have a look at this https://www.spigotmc.org/resources/custom-villager-modifications.78329/
-
View User Profile
-
Send Message
Posted Jul 15, 2016@thealmightypsycho
Try this setup: http:hastebin.com/oqiyosejer.sm
It should work on existing villagers if you add this to the end of the config file: overwrite_unknown_villagers: true
-
View User Profile
-
Send Message
Posted Jul 15, 2016Hello, I'm looking to keep all trades intact but removing or editing clerics tier 4 trade with exp bottles. I tried a few examples but nothing worked. What would the config look like? Will this work on existing villagers that players already traded with? Thanks!
-
View User Profile
-
Send Message
Posted Jul 15, 2016@Leomello
Sorry about that. Those are the only ones I know of. There aren't that many plugins related to villager trading.
-
View User Profile
-
Send Message
Posted Jul 14, 2016@alfalfascout
Thanks for the suggestions. Also thanks for the support.
These cited plugins do not work very well in 1.8.8 , either by incompatibility.
-
View User Profile
-
Send Message
Posted Jul 9, 2016@Leomello
I'll poke around and see if I can figure out how file generation worked for Spigot 1.8. It's a little different.
Edit: It seems like the way villager trading was handled in Spigot's API for 1.8 is radically different. It doesn't look like I can support 1.8, sorry about that. There are some older plugins that may help you, however:
-
View User Profile
-
Send Message
Posted Jul 8, 2016@alfalfascout
Yes it loads in 1.8 but the plugin does not generate the config.yml :/
-
View User Profile
-
Send Message
Posted Jul 8, 2016@gamertiasr
Okay, just let me know if it works.
-
View User Profile
-
Send Message
Posted Jul 8, 2016I can download it for 1.8.
-
View User Profile
-
Send Message
Posted Jul 7, 2016@Leomello
I haven't tested it on 1.8. If it works for you, please let me know! If not, I'll add that to my to-do list.
-
View User Profile
-
Send Message
Posted Jul 7, 2016It supports 1.8?
-
View User Profile
-
Send Message
Posted Jul 5, 2016There`s already a plugin about this called ShopKeepers. But still, good job! Keep up the good work!
-
View User Profile
-
Send Message
Posted Jul 7, 2016No, this is different from ShopKeepers.
ShopKeepers allows you to create individual entities with specific trades, which don't die and stay in one place and are owned by players.
CustomVillageTrades changes all the trades that regular villagers will generate naturally throughout their lifespans. It lets server owners do stuff like 'If my players encounter a village, I want them to be able to trade with the villagers, but I don't want them to be able to buy the diamond stuff from blacksmiths.'
-
View User Profile
-
Send Message
Posted Jul 5, 2016@alfalfascout
It would probably depend how you implimented the trade changes. I mean, ideally, if you could set up multiple trades and set each a unique permission node (or grouped into certain nodes), it would mean you could customize trades for different groups, in different worlds or even make minigames based on Villager trades (oooo I like that idea....) However, that would mean more work for you.
The 'hook' I suggested for crafting plugins would mean a lot of work, because people will probably be requesting all sorts of different crafting plugins, however to my knowledge Craftbook is the oldest and most widely supported. It would, to my knowledge, make your plugin pretty unique among the collective pile of useful plugins, at it would mean servers can offer 100% unique items in trades. How to impliment it...I'm not a coder (I'm looking into Java) but I would think you would look for Craftbook's custom-crafting.yml file, check if it exists and then read the file somehow... Then if a crafting recipe (or even better, a CommandItem!!!) matched an entry in CVT's trade config...it could be added to the list of possible trades. This is where permissions would come in VERY useful :D
Like I said, a lot of work ;D
I'll be using this plugin once we update to 1.10 (1.9.4 for now).
-
View User Profile
-
Send Message
Posted Jul 5, 2016@Omanoctoa
I could look into those things! I'm brand new to developing Bukkit plugins so I'm not sure how to do everything yet, but I can certainly try and I can certainly learn.
-
View User Profile
-
Send Message
Posted Jul 5, 2016This actually sounds epic but...could you add a permission node? Just for general use and multi-world applications. I would like to modify trades in one world, but not another. Also, for custom enchants, is it possible to create unnatural enchantments like SilkTouch II?
The ability to customize the name and lore of traded items would be really cool too, or perhaps the ability to hook into other crafting plugins like Craftbook to use item-names and incorporate them as trades. It would add massive functionality to this plugin :D