
VillagerTradeEdit
Shopkeeper for Folia. Can trade and change professions
- Загрузки
- 6K
- Подписчики
- 8
- Обновлён
- 30 мая 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 6 декабря 2024 г.
VillagerTradeEdit
VillagerTradeEdit is a Minecraft plugin that empowers players with the necessary permissions to edit the trades of villagers in-game. Through an intuitive in-game UI, users can easily and efficiently customize any villager's trades to suit their needs.
This plugin provides similar functionality to the Shopkeepers plugin but stands out by allowing edits to any villager directly. Plus, it supports Folia for those who want enhanced compatibility.
"I just couldn't wait for Shopkeepers to support Folia, so... I made one myself. its quite rough don't expect much."
Features
- Easy Villager Trade Editing: Shift-right-click on a villager to start editing.
- In-Game UI: Modify trades directly in-game without any hassle.
- Unlimited-Trade: Create as much trade as you want.
#
Dependencies
Commands and Permissions
Commands
/vte reload— Reloads the plugin configuration file./vte summon— Summons a static villager.
Permissions
villagertradeedit.command— Permission to use any command from the plugin.villagertradeedit.open— Permission to open the villager trade edit menu.villagertradeedit.command.reload— Permission to reload the plugin configuration file.villagertradeedit.command.summon— Permission to summon a static villager.
Setup
- Download the latest version of the VillagerTradeEdit plugin.
- Place the downloaded
.jarfile into thepluginsdirectory of your server files. - Restart your server to load the plugin.
Ченджлог
2.2.0Релиз26.1, 26.1.1, 26.1.2 · 30 мая 2026 г.
Adds a mute-villager-sound option to silence managed villagers' idle/trade noise, plus explosion and save-crash fixes.
Added
mute-villager-soundconfig option — settrueto mute managed villagers' "hmm"/trade sounds.
Fixes
- Managed villagers no longer get shoved out of place by creeper/TNT explosions.
- Fixed a crash saving villagers with large trade lists (
UTFDataFormatException). 2.1.0 villagers still load fine. - Folia: skip the shutdown save loop that could trip thread violations; auto-save still persists everything.
2.1.0Релиз26.1, 26.1.1, 26.1.2 · 15 мая 2026 г.
Adds management commands for managed villagers: /vte select, /vte deselect, /vte tp, /vte tphere, /vte moveto, and /vte list. Each managed villager gets a persistent ID, assigned lazily on chunk load. Managed villagers no longer fall on spawn — gravity is disabled, and re-applied to existing ones on chunk reload.
2.0.1Релиз26.1, 26.1.1, 26.1.2 · 11 мая 2026 г.
Bugfix release. Same compat as 2.0.0 (JDK 25, YskLib 1.9.0+).
Fixes
- Villagers whose trades were wiped by the old 1.4.10 rename/permission bug no longer crash entity loading with "Unable to load trades". They now load with an empty trade list (the wiped data is unrecoverable — fix just stops the crash). Healthy villagers migrate normally with full trades intact.
- Opening the trade GUI on Paper/Folia/Canvas 26.1 no longer throws an error.
- Right-clicking a managed villager to trade no longer throws an error.
For 1.21.x servers stay on 1.4.10.
2.0.0Релиз26.1, 26.1.1, 26.1.2 · 10 мая 2026 г.
Minecraft 26.1 compatibility update. Drops 1.21.x support.
- Requires JDK 25
- Requires YskLib 1.9.0+ (https://github.com/YusakiDev/YskLib/releases/tag/v1.9.0)
For 1.21.x servers stay on 1.4.10.
1.4.10Релиз1.21.9, 1.21.10, 1.21.11 · 15 апреля 2026 г.
- Fixed renaming or setting permission on a villager wiping its trades
- Fixed chat prefix showing "Message not found: prefix" with newer YskLib versions
1.4.9Релиз1.21.9, 1.21.10, 1.21.11 · 5 января 2026 г.
- Added Ability to change Varients and Levels
- Change Layout a bit
1.4.8Релиз1.21.9, 1.21.10, 1.21.11 · 18 декабря 2025 г.
- Minor Update Ignoring Mob-Spawning Block
1.4.7Релиз1.21.8, 1.21.9, 1.21.10 · 31 октября 2025 г.
Critical Bug Fix
- Server Sleep Mode Data Loss - Fixed critical issue where villager trades disappeared after servers wake from sleep mode (specifically reported on PebbleHost servers with 60-second idle sleep). Villagers now correctly retain their custom trades through sleep/wake cycles.
New Features
- EntitiesLoadEvent Handler - Added entity load event listener to catch villager loads even when chunks remain loaded, ensuring data restoration regardless of chunk state
- Shutdown Data Persistence - Implemented automatic save of all managed villagers during plugin disable to prevent data loss during server sleep/shutdown cycles
- Startup Data Restoration - Added automatic restoration of already-loaded villagers on plugin enable to handle plugin reloads and server wake-ups
Improvements
- Enhanced Debug Logging - Added detailed logging with trade counts, profession info, and UUIDs to make troubleshooting and verification easier
- Synchronous Storage Method - Implemented synchronous data storage option for shutdown scenarios to prevent async scheduling issues
Bug Fixes
- Fixed villager trades disappearing after server sleep/wake cycles
- Resolved issue where ChunkLoadEvent wasn't firing for already-loaded chunks during server wake
- Prevented data loss when plugin disables during sleep mode
- Fixed non-functional GUI after editing villager name or permission - Editor GUI now properly re-registers inventory mappings and re-renders the page when reopening after name/permission edits, allowing continued trade editing and interaction
Комментарии
Загружаем…