Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details

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
-
Vanilla-accurate values - the plugin uses the exact same gossip types and single-cure amounts Minecraft assigns when a player cures a villager themselves.
-
Works out of the box - the default radius is
-1, which shares discounts with all online players. -
Optional radius limit - admins can use
/egd radius <blocks>to share only with online players within that many blocks of the cured villager. -
Optional no-proximity mode -
/egd radius -1restores the default behavior where being online is enough. -
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.
-
Respects cancellation - if another plugin cancels the cure transformation, no discount is applied.
-
Players offline during the cure miss out - eligible players are selected at the exact moment of transformation; late joiners are not included.
-
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 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
Join the Discord if you have any questions or need support!


