Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
A simple plugin to edit the trade of a villager to use as an admin trading shop. A good alternative to ShopKeepers if you just want to edit villager trades.
Why Use This
For servers that want to create admin villager trader shops, but don't want the extra features of the ShopKeepers plugin. I was looking for an alternative plugin to ShopKeeper that just does the basics of editing a villager trade, but I couldn't find one.
Commands
/villagertrade spawn - Spawns a villager at your current location. Note: You can use a spawn command generator website if you wish to have more cutomizable villagers (i.e. their outfits). This command is purely here for those who are too lazy to spawn it in with a command. (Make sure the command you use makes the villager both invincible and have no AI or else the plugin will not "protect" it.)
/villagertrade despawn - Deletes the villager you spawned.
/villagertrade list - Lists all the trade the villager has.

/villagertrade add - Adds a new trade to the villager.
/villagertrade change <#> - Changes a specific trade.
/villagertrade remove <#> - Removes a specific trade.
/villagertrade export - "Backs up" your trades. Copies all the villager trades into a shulker box and placed into your inventory.
/villagertrade dump - Prints the NBT data of the villager you're looking at into the console.
Permissions
villagertradeeditor.use - Use all the commands
How To Use
This plugin doesn't have a traditional GUI.
Use the first three hotbar slots to set the trade:
Slot 1 & 2 → Input items
Slot 3 → Result item
Only one input slot is required if the trade uses a single item.

Adding a Trade
Here, I'm trading $10 for a diamond sword.

I simply do /villagertrade add and it will add it as a new trade to the villager.

Changing a Trade
I wish to change the sword trade to something different. Simply place the items you want the new trade to be into your hotbar like so

and use the command /villagertrade change 1 to change the trade for the first slot.

Your trade is now updated.
Requirements / Dependencies
None


