- Compatible API Versions
- 1.0.0, 2.0.0
- Sourcecode
- https://github.com/Rakilem?tab=repositories
Version: 1.0.0
Author: Rakilem YT
Description:
VillagerTrades is a plugin for NukkitX that adds a simple and easy-to-use trading system with villagers, similar to the one in vanilla Minecraft.
When a player right-clicks a villager, a menu appears showing the available trades, which can be fully customized in the config.yml file — including the items, amounts, and trade range.
For now, the plugin supports basic trades using emeralds, but more trade types and villager professions will be added in future updates.
Note:
This plugin is still in development. I’ll be adding more villager trade versions and new features little by little, as I continue learning and improving my programming skills.
Author: Rakilem YT
Description:
VillagerTrades is a plugin for NukkitX that adds a simple and easy-to-use trading system with villagers, similar to the one in vanilla Minecraft.
When a player right-clicks a villager, a menu appears showing the available trades, which can be fully customized in the config.yml file — including the items, amounts, and trade range.
For now, the plugin supports basic trades using emeralds, but more trade types and villager professions will be added in future updates.
Note:
This plugin is still in development. I’ll be adding more villager trade versions and new features little by little, as I continue learning and improving my programming skills.
YAML:
menu-title: "Tradeos del Aldeano"
menu-radius: 2.0
trades:
- cost:
id: 388
amount: 2
result:
id: 265 # Lingote de hierro
amount: 5
- cost:
id: 388
amount: 4
result:
id: 266 # Lingote de oro
amount: 3
- cost:
id: 388
amount: 6
result:
id: 264 # Diamante
amount: 1
YAML:
menu:
title: "Intercambios del Aldeano"
content: "Selecciona un intercambio:"
trade-success: "Has realizado el intercambio con éxito."
trade-fail: "No tienes los materiales necesarios: {need_amount}x {need_item}."
trade-format: "{cost_amount}x {cost_item} → {result_amount}x {result_item}"