一个用于编辑村民交易以用作管理员交易商店的简单插件。如果你只想编辑村民交易,这是 ShopKeepers 的一个不错替代品。
为什么使用此插件
适用于希望创建管理员村民交易商店,但不想要 ShopKeepers 插件那些额外功能的服务器。我一直在寻找一个能够仅实现编辑村民交易基本功能的 ShopKeeper 替代插件,但未能找到。
命令
/villagertrade spawn - 在你当前位置生成一个村民。注意:如果你希望拥有更多可自定义的村民(例如他们的装扮),可以使用生成器网站来生成相应的指令。此命令纯粹是为了让那些懒得自己输入指令生成村民的人使用的。(请确保你使用的指令能让村民无敌且没有 AI,否则插件将无法“保护”它。)
/villagertrade despawn - 删除你生成的村民。
/villagertrade list - 列出该村民的所有交易。

/villagertrade add - 向村民添加一个新交易。
/villagertrade change <#> - 修改特定编号的交易。
/villagertrade remove <#> - 移除特定编号的交易。
/villagertrade export - “备份”你的交易。将村民的所有交易复制到一个潜影盒中并放入你的物品栏。
/villagertrade dump - 将你正在查看的村民的 NBT 数据打印到控制台。
权限
villagertradeeditor.use - 使用所有命令
使用方法
本插件没有传统的 GUI。
使用前三个快捷栏槽位来设置交易:
槽位 1 & 2 → 输入物品
槽位 3 → 结果物品
如果交易只使用一种物品,则只需一个输入槽位即可。

添加交易
这里,我用 $10 换取一把钻石剑。

我只需执行 /villagertrade add,它就会将其作为新交易添加到村民身上。

更改交易
我希望将剑的交易改为其他内容。
只需将你想要的新交易物品按如下方式放入快捷栏

然后使用命令 /villagertrade change 1 来更改第一个槽位的交易。

现在你的交易已更新。
需求 / 依赖
无
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧