Sueta

VillagerTradeEdit

2.2.3

A Shopkeepers-style plugin for Folia: edit villager trades in-game and make little shops.

·Plugin
  1. 2.2.3latestVillagerTradeEdit 2.2.3Sep 15, 2026
    Bugfix release. Same compat as 2.2.0 (JDK 25, YskLib 1.9.0+).
    Fixes
    - When a second player opened a managed villager, the first player's trade window closed. Any number of players can now trade with the same villager at the same time.
    365 downloads
  2. 2.2.2VillagerTradeEdit 2.2.2Sep 6, 2026
    Bugfix release. Same compat as 2.2.0 (JDK 25, YskLib 1.9.0+).
    Fixes
    - Folia: the editor failed to reopen after the name or permission chat prompt (Cannot init menu async). It now reopens on the player's region thread. - Name and permission prompts registered a new chat listener every click and never cleaned up if the player didn't reply. One handler now, cleared on quit. - With CMI installed, the reply you typed into a prompt showed up in your own chat. The prompt now cancels the legacy chat event first, ahead of CMI.
    302 downloads
  3. 2.2.1VillagerTradeEdit 2.2.1Sep 6, 2026
    Bugfix release. Same compat as 2.2.0 (JDK 25, YskLib 1.9.0+).
    Fixes
    - Folia: IllegalStateException: Cannot getEntities asynchronously spam from onPlayerMove when another plugin fires PlayerMoveEvent off the player's region thread (e.g. CMI /ride). The villager-turn scan now runs on the player's region via runAtEntity and skips rotation-only moves. Fixes #17.
    18 downloads
  4. 2.2.0VillagerTradeEdit 2.2.0May 30, 2026
    Adds a mute-villager-sound option to silence managed villagers' idle/trade noise, plus explosion and save-crash fixes.
    Added
    - mute-villager-sound config option — set true to 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.
    1605 downloads
  5. 2.1.0VillagerTradeEdit 2.1.0May 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.
    255 downloads
  6. 2.0.1VillagerTradeEdit 2.0.1May 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.
    70 downloads
  7. 2.0.0VillagerTradeEdit 2.0.0May 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.
    51 downloads
  8. 1.4.10VillagerTradeEdit 1.4.10Apr 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
    2552 downloads
  9. 1.4.9VillagerTradeEdit 1.4.9Jan 5, 2026
    - Added Ability to change Varients and Levels - Change Layout a bit
    1703 downloads
  10. 1.4.8VillagerTradeEdit 1.4.8Dec 18, 2025
    - Minor Update Ignoring Mob-Spawning Block
    381 downloads
  11. 1.4.7VillagerTradeEdit 1.4.7Oct 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
    747 downloads
  12. 1.4.6VillagerTradeEdit 1.4.6Oct 10, 2025

    New Features

    - Configurable Message Prefix - Added support for customizable message prefix via configuration, allowing servers to brand plugin messages with their own prefix or theme - Command Aliases - Introduced command alias support, enabling custom alternate command names to be configured for better integration with existing server commands

    Improvements

    - UUID-based Villager Tracking - Refactored villager state and permission tracking to use UUIDs instead of object references, significantly improving data consistency across chunk reloads and entity instance changes - Config Migration System - Implemented versioned configuration migration to automatically upgrade config files between releases - Debug Level Enhancement - Converted debug option from simple boolean to numeric levels (0-3) for more granular debugging control

    Technical Changes

    - Updated YskLib dependency from 1.6.2 to 1.6.7 - Enhanced config reload logic to properly reapply aliases and messages

    Bug Fixes

    - Improved reliability of villager state persistence across chunk unloads/reloads - Fixed potential issues with villager tracking when entity instances change
    257 downloads
  13. 1.4.5VillagerTradeEdit 1.4.5Oct 8, 2025

    Technical Improvements ⚙️

    - Migrated from deprecated YskLib messaging methods to the modern MessageManager module. - Enhanced messaging system now supports: - Cached message loading for better performance - Multi-line message support - More flexible placeholder system using Map-based placeholders - Additional helper methods for retrieving messages programmatically
    96 downloads
  14. 1.4.4VillagerTradeEdit 1.4.4Oct 8, 2025

    Bug Fixes 🐛

    - Fixed "Messages not loaded for VillagerTradeEdit" error by adding explicit message loading during plugin initialization.

    Improvements ✨

    - Enhanced message system integration with YskLib for proper localization support. - Expanded configuration messages section with all user-facing text now customizable.
    33 downloads
  15. 1.4.3VillagerTradeEdit 1.4.3Oct 8, 2025

    Updates ✨

    - Updated YskLib dependency to version 1.6.2 for improved world management capabilities. - Added support for wildcard ('*') in enabled-worlds configuration to enable plugin across all worlds. Ysklib 1.6.2 Required !!!!! https://github.com/YusakiDev/YskLib/releases/tag/1.6.2
    41 downloads
  16. 1.4.2VillagerTradeEdit 1.4.2Sep 16, 2025
    ✨ What’s New
    Version Bump*: Updated to 1.4.2. Better Price Handling*: Only managed villagers use stable trade prices. Regular villagers keep their normal price swings. Hero of the Village Fix*: The status effect is only paused when editing managed villagers, so it stays intact for normal trades.
    236 downloads
  17. 1.4.1VillagerTradeEdit 1.4.1Sep 15, 2025
    - Fix Shading
    51 downloads
  18. 1.4VillagerTradeEdit 1.4Sep 15, 2025
    ✨ What’s New
    Personal Trading*: Each player now gets their own trading window with managed villagers, so multiple people can trade at once. No Random Discounts*: Trade prices stay steady—no surprise price hikes or Hero of the Village discounts. Custom Names & Permissions*: Rename villagers with colors or styles, and set who can trade with each one. Always Static Villagers*: Managed villagers stay put and won’t wander or get bumped around.
    55 downloads
  19. 1.3VillagerTradeEdit 1.3Jan 4, 2025
    Fix Folia Error on VTE Summon
    739 downloads
  20. 1.2VillagerTradeEdit 1.2Dec 6, 2024
    117 downloads
  21. 1.1VillagerTradeEdit 1.1Dec 6, 2024
    Initial Version
    211 downloads

Similar projects

Plugin →