Plugin category: Prisons Minecraft version: 1.8.8-1.8.9 Suggested name: ElementSwapper What I want: I'd like to see a npc that can trade an item for items (pls make it configurable). Allow multi item swapping at once also. Ideas for commands: /swap opens the menu /swap spawn spawns the npc Ideas for permissions: swap.menu allows opening menus swap.spawn allows spawning of npc When I'd like it by: ASAP thx <3
What do you mean by multi item swapping? Can we have an example? And why is there a command /swap? Didn't you just want the menu to be opened when a player clicks on the box?
if you right click an npc you can see a menu. the menu has some items (configurable). if you click the item. all of the items configed will be taken and replaced with another set of items. example: coal ore click to get 1 coal 1 cobble /swap will open menu /swap spawn will spawn the npc
Eddy, I know it's not a plugin, but here's a command that spawns a villager that will trade coal ore for cobble and coal. /summon Villager ~ ~1 ~ {Profession:5,Career:0,Willing:1,Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:coal_ore,Count:1},sell:{id:cobblestone,Count:2}},{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:coal_ore,Count:1},sell:{id:coal,Count:2}}]},Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1} The villager is also invincible, if you want to kill him stand next to the poor guy and run /kill @e[type=Villager,r=2]
wait, so a villager can give 2 items? but its an or, not and EDIT by Moderator: merged posts, please use the edit button instead of double posting.