EveryoneGetsDiscount - sharing villager curing discounts across all online players (vanilla-friendly plugin)

U

/u/moneafrancescoo

Guest
Hey,

I made a small plugin called EveryoneGetsDiscount and wanted to share it here in case anyone else has run into the same annoyance on multiplayer servers.

In vanilla Minecraft, when you cure a zombie villager, only the player who did the cure gets the trading discount. On multiplayer servers this always felt a bit unfair - one player sets up the trap, another helps with resources or just happens to be around, but only one person actually benefits from the cure.

So I built a simple fix for that.

What it does​


Whenever a zombie villager is cured on the server, EveryoneGetsDiscount automatically gives the same vanilla cure gossip values to every other player who is online at that moment.

The curing player still gets normal vanilla behavior. The plugin just mirrors that same type of discount to everyone else.

It only touches the villager gossip system (nothing else).

How it works​


When a cure completes, Minecraft applies its normal gossip to the player who cured the villager. The plugin then applies the same vanilla values to all other online players:

  • MAJOR_POSITIVE (+20) → permanent cure discount (same as vanilla, maxes after one cure)
  • MINOR_POSITIVE (+25) → temporary bonus that fades over ~8 hours

No custom math, no multipliers, no economy edits — just vanilla values shared across players.

Features​

  • Fully vanilla-accurate (uses the same gossip types and values)
  • No config, no commands, just drop and run
  • No distance requirement (only needs players to be online)
  • Only affects the cured villager, nothing else
  • Respects cancellations from other plugins
  • Lightweight (single event listener, no database, no scheduler)
  • Doesn’t touch trade prices directly or override any economy plugin

Notes / limitations​

  • Players who are offline during the cure won’t get the discount
  • It doesn’t stack extra bonuses from repeated cures
  • If another plugin fully overrides villager trading, that’s outside its scope

Link​


GitHub: https://github.com/fr4ncyilgrande/EveryoneGetsDiscount
Modrinth: https://modrinth.com/plugin/everyonegetsdiscount

submitted by /u/moneafrancescoo
[link] [comments]

Continue reading...
 
Back
Top