Sueta

VillagerTradingPlus [1.13-1.14]

1.1.2

Customize your villager trades by clicking them with the item you want to buy from them

·Plugin

Description:
A plugin that lets you customize your villager trades by simply clicking on them with what you want to buy from them.

Commands:
/villagertradingplus reload (reloads the config)
/vtp reload - abbreviation of above

Permissions:
villagertradingplus.use (lets the player use the VTP features)

villagertradingplus.reload (lets the player reload the VTP config)

In-depth knowledge:
Acquire a villager somehow, then shift-click the villager to "unlock" it. This makes it so you cant accidentally set a villager's trade.
Once the villager is "unlocked" get a shulker box of the item you want to buy from it, and right click it.
You can make it either a shulker box, stack, or single item in the config.
A random price will be set in the villager for the player to buy.
If you acquire another shulker box, stack, or item (depending on your config settings), you can once again right click the villager to decrease the price of the item you want to buy.
If you buy too many items from the villager (customizable in the config), the price for buying will go up slightly.

Config:

config.yml
#StackType is either SHULKER, STACK, or ITEM. You have to give the villager a whole SHULKER, 
#STACK or singular ITEM of the same exact type to create a trade 
stacktype: SHULKER 

#noitemshulker is set to true, because when using the ITEM stacktype, shulker can be easily exploited 
#to dupe items. if you want to get shulkers, just use shulker shells 
noitemshulker: true 

#This is what items to blacklist from being able to set as a VillagerPlus trade. This can reduce duping attempts 
blacklist: DIAMOND,DIAMOND_BLOCK,EMERALD,EMERALD_BLOCK 

#This is the item type required to purchase the trade item. (Default for villager is emeralds in game) 
tradetype: EMERALD 

#When initially creating a VillagerPlus trade, this will be the random price range for the trade. 
#The smallest value is also the minimum trade price when upgrading 
traderange: 5,20 

#If a VillagerPlus villager already has a trade, if you give them the requirements a second time 
#(the item must be the exact same) then the trade price will decrease by this amount 
upgraderange: 1,5 

#This is the amount of trades required for the villager to downgrade the trade price. 
#Say it costs 10 emeralds for 64 stone, and I buy that 1000 times, for the next 1000 trades, 
#it will be 10 + (random upgraderange) emeralds, and so on and so forth 
tradedowngrade: 1000

The fastest and easiest way to contact me:
Discord: https://discord.gg/AET9mWj

YouTube

Similar projects

Plugin →