HomeJavaModsSharedCure
SharedCure
ModsJava

SharedCure

by LingNc · on Modrinth

SharedCure is a server plugin built on the Paper API that utilizes a 'Tagging + Lazy Loading' mechanism to ensure that villagers cured by any player…

⬇ Download on Modrinth

SharedCure

English | 简体中文

SharedCure is a Paper plugin that implements server-wide villager discount sharing using a small tag (PDC) and Just-In-Time reputation injection approach. When a villager has been cured by any player, this plugin ensures other players who interact with that villager receive the highest trade discount (MAJOR_POSITIVE) without requiring bulk updates across all players.

Features

Architecture Overview

Module Event Purpose
Existing villager initialization ChunkLoadEvent + startup scan Tag existing villagers and deep-check gossip/inventory for unknown states.
New villager tagging CreatureSpawnEvent Tag newly spawned villagers NOT_CURED.
Cure capture EntityTransformEvent Mark newly cured villagers as CURED.
JIT injection PlayerInteractEntityEvent Inject MAJOR_POSITIVE reputation for the interacting player when villager is CURED.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more