← Назад к ресурсам

VillagerTradeEdit

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

Modrinth economy game-mechanics

Описание

# VillagerTradeEdit ![What the editor does](https://raw.githubusercontent.com/YusakiDev/VillagerTradeEdit/master/assets/infographic.png) Edit villager trades in-game and turn a villager into a little shop. Made for **Folia**, with support for Paper, Purpur and Canvas too. > *"I just couldn't wait for Shopkeepers to support Folia, so... I made one myself."* ## What it does - **Shift-right-click** a managed villager to edit trades. Each column is one trade: what players pay, an optional second item, and what they get. The editor also sets the villager's name (MiniMessage or legacy colours), profession, biome type and level. - **Right-click** to trade. You can also require a permission to trade with a villager. - `/vte summon` spawns a villager that stays put, can't be hurt and won't get pushed around by explosions. - Prices stay as you set them—no reputation or Hero of the Village discounts. Trades are saved on the villager and restored when the chunk loads. - Tired of the "hmm"? Turn on `mute-villager-sound` in the config. ## Commands | Command | What it does | |---|---| | `/vte summon` | Spawn a managed villager | | `/vte select` | Select the villager you're looking at | | `/vte list` | List managed villagers with their IDs | | `/vte tp ` | Teleport to one | | `/vte tphere ` | Bring one to you | | `/vte moveto ` | Move one | | `/vte reload` | Reload the config | ## Permissions - `villagertradeedit.open` — open the trade editor - `villagertradeedit.command` — use `/vte` - `villagertradeedit.command.summon`, `villagertradeedit.command.reload` — per-subcommand permissions ## Requirements - Paper / Purpur / Folia / Canvas **26.1 or newer** - Java **25** - [YskLib 1.9.0+](https://github.com/YusakiDev/YskLib/releases/) Still on 1.21.x? Use VillagerTradeEdit **1.4.10**. ## Setup 1. Drop the plugin jar and `YskLib.jar` into `plugins/`. 2. Restart the server. 3. Run `/vte summon`, then shift-right-click the villager to add trades. ## Something broken? Open an issue on [GitHub](https://github.com/YusakiDev/VillagerTradeEdit/issues) or come say hi on [Discord](https://discord.gg/AjEh3dMPfq). Logs help a lot.