Hey! I've recently made a merchant plugin using villagers. I spent a very long time figuring out how to add custom trades to villagers and after I figured out how I decided to make an api for all you developers out there struggling the same way I did while figuring out how to do this. This Api lets you both clear a villager's trades and add new trades! Dev page: http://dev.bukkit.org/bukkit-plugins/villager-trade-api/ How to: Clearing trades: Code:java VillagerTradeApi.clearTrades(villager); Note: You don't have to clear the trades before adding new ones. Add trades: Code:java VillagerTrade trade = new VillagerTrade(itemstack1, itemstack2, reward);VillagerTradeApi.addTrade(villager, trade); Note: item2 is optional! Example: Code:java Villager villager = (Villager) event.getEntity();VillagerTradeApi.clearTrades(villager);ItemStack item1 = new ItemStack(Material.GOLD_NUGGET, 10);ItemStack item2 = new ItemStack(Material.APPLE);ItemStack reward = new ItemStack(Material.DIAMOND_HOE);VillagerTrade trade = new VillagerTrade(item1, item2, reward);VillagerTradeApi.addTrade(villager, trade); Output: Please leave some feedback and stuff if you found this useful!