COWMODSКаталог модов

EveryoneGetsDiscount

Shares zombie villager cure discounts with eligible online players.

Автор: Fr4ncyILGrande7632обновлён 18 окт. 2026 г.
ЭкономикаМеханики игрыОбщение

Описание

Group trading with villagers

EveryoneGetsDiscount

In vanilla Minecraft, curing a zombie villager rewards only the player who did the curing. On a multiplayer server, that means one person gets cure discounts while everyone else pays full price, even if they helped set up the trap, supplied the golden apple, or simply happen to share the trading hall.

EveryoneGetsDiscount fixes that. When any zombie villager is cured, eligible online players receive the same vanilla cure gossip values on that villager automatically, with no interference with any other game mechanic. By default, every online player is eligible. Server admins can also limit sharing to players within a configurable block radius around the cured villager. The curing player keeps Minecraft's normal vanilla cure discount, while the plugin shares that same type of discount with the selected online players.

How It Works

The plugin listens for the moment a zombie villager finishes transforming back into a villager. At that point, Minecraft applies its normal cure gossip to the curing player, and the plugin applies the same two vanilla gossip entries to the other eligible online players:

• MAJOR_POSITIVE (+20) - the main cure discount. Permanent, never decays, maxes out after a single cure. This is the bulk of the trading discount and stays on that villager forever.

• MINOR_POSITIVE (+25) - a secondary bonus, identical to the one vanilla applies. Fades at a rate of 1 point every 20 real-world minutes, disappearing completely after roughly 8 hours.

Both values are taken directly from vanilla's own gossip system. No artificial price reductions, no multiplier changes, just the standard cure discount, shared. Final trade prices may still differ between players if they already had different reputation with that villager before the cure.

Features

  1. Vanilla-accurate values - the plugin uses the exact same gossip types and single-cure amounts Minecraft assigns when a player cures a villager themselves.

  2. Works out of the box - the default radius is -1, which shares discounts with all online players.

  3. Optional radius limit - admins can use /egd radius <blocks> to share only with online players within that many blocks of the cured villager.

  4. Optional no-proximity mode - /egd radius -1 restores the default behavior where being online is enough.

  5. Only the cured villager is affected - other nearby villagers are not touched by the plugin. Vanilla gossip propagation between villagers continues normally on its own.

  6. Respects cancellation - if another plugin cancels the cure transformation, no discount is applied.

  7. Players offline during the cure miss out - eligible players are selected at the exact moment of transformation; late joiners are not included.

  8. Lightweight - no database and no recurring background tasks.

The plugin does not touch trade prices, merchant recipes, or any economy plugin's data. It only interacts with the villager gossip system, the same way vanilla does.

FAQ

Do players need to be near the villager to get the discount?
By default, no. The default radius is -1, so any online player receives the shared discount regardless of where they are in the server. If an admin sets a radius such as 100, only online players in the same world within 100 blocks of the cured villager receive the shared discount. The curing player receives Minecraft's normal vanilla cure discount.

Does the discount last forever?
The main component (MAJOR_POSITIVE) is permanent and matches vanilla exactly. One cure already brings it to its maximum value. A secondary bonus (MINOR_POSITIVE) fades over roughly 8 real-world hours, after which the permanent discount remains.

Does it affect Hero of the Village or raid mechanics?
Not at all. Hero of the Village is a separate potion effect from completing raids. The two bonuses stack normally and neither interferes with the other.

Does curing the same villager multiple times give more discount?
No. The shared discount does not stack extra reductions from repeated cures. The plugin keeps online players at the vanilla single-cure gossip values: MAJOR_POSITIVE (+20) and MINOR_POSITIVE (+25). If a player already has equal or higher reputation with that villager, the plugin does not lower it.

Does it work with other economy or trading plugins?
The plugin only writes to the vanilla villager gossip system. Whether other plugins read that data or replace it entirely with their own pricing is up to those plugins.

Commands

/egd or /egd help - shows the plugin's available commands.

/egd radius - shows the current shared discount radius.

/egd radius -1 - shares cure discounts with all online players.

/egd radius <blocks> - shares cure discounts only with online players in the same world within that distance from the cured villager.

/egd reload - reloads config.yml.

Permission: everyonegetsdiscount.admin
Default: operators only

‎

Discord

Join the Discord if you have any questions or need support!

Галерея

Group trading with villagers

Последние версии

Все версии →
release

EveryoneGetsDiscount 2.0.1

2.0.1
18 окт. 2026 г.180Minecraft: 26.1.2, 26.2, 26.3paper, purpur, spigot
Скачать
Что нового
- Improves cure-event handling and avoids unnecessary updates to villager reputation data. - Fixes radius validation, distance edge cases, and unexpected command arguments. - Refreshes admin command messages with clearer color-coded feedback and sharing-mode information. - Adds /egd help and tab completion for the help subcommand. - Uses MiniMessage on Paper and Purpur, with a lightweight fallback for Spigot. - Updates compatibility and automated testing for Paper 26.3. **_Existing shared discounts and configuration settings are preserved when upgrading from previous versions._**
release

EveryoneGetsDiscount 2.0.0

2.0.0
20 июл. 2026 г.488Minecraft: 26.1.2, 26.2, 26.3paper, purpur, spigot
Скачать
Что нового
- Adds `/egd radius <blocks|-1>` for admin-controlled sharing range. - Adds config.yml with share-radius: `-1` by default. - Rejects invalid radius values such as negative values other than -1, NaN, and infinity. - Keeps api-version: "26.1.2" to support 26.1.2 while remaining compatible with newer 26.x server versions.
release

EveryoneGetsDiscount 1.0.1

1.0.1
1 июл. 2026 г.57Minecraft: 26.1.2paper, purpur, spigot
Скачать
Что нового
- Delays shared reputation application by 5 ticks after cure completion. - Keeps the eligible player list captured at the exact cure moment. - Uses Paper/Purpur's reputation API first when available, with Spigot as a fallback. - Keeps the no-stacking behavior for repeated cures: shared players are kept at the vanilla single-cure values instead of receiving extra repeated discounts. - Gives Paper extra time to finish villager conversion, brain, profession, and trade state initialization before the plugin writes reputation data. This release is a conservative hotfix for reports of villagers rerolling trades or becoming unemployed after cures on Paper 26.1.2 Build 72.
release

EveryoneGetsDiscount 1.0.0

1.0.0
19 июн. 2026 г.33Minecraft: 26.1.2paper, purpur, spigot
Скачать