Описание
[](https://modrinth.com/mod/fabric-api) [](https://modrinth.com/mod/fabric-language-kotlin)
# OurDiscount
**Cure once.**
Make villager discounts a (configurable) server-wide benefit. Perfect for SMPs and anywhere you don't want to have a bazillion villagers.
## Features
- **Shared discounts:** Interact with a villager that already has a cure discount to share it with others.
- **Offline support:** The original "curer" doesn't need to be online.
- **Two registration modes:**
- **automatic:** The usual, what you have been used to.
- **prompt:** Lets players choose whether they want to be a part of the villager-discount-sharing-thing or not, usable by a clickable chat message upon join.
- **One readable config:** Settings, player names, UUIDs, and choices are located in `config/ourdiscount.json`. Older config files are migrated automatically (safe to remove them).
## Player commands
| Command | Action |
|---|---|
| `/ourdiscount` | Open the prompt menu. |
| `/ourdiscount yes` | Enable shared discounts and remember your choice. |
| `/ourdiscount no` | Decline; ask again next login in prompt mode. |
| `/ourdiscount hide` | Decline and stop login prompts. Reopen the menu whenever you like. |
## Console commands
| Command | Action |
|---|---|
| `ourdiscount check ` | Check loaded villagers for the player's cure-discount reputation, including known offline players. |
| `ourdiscount reapply` | Share existing discounts across all loaded villagers in every dimension. |
| `ourdiscount add ` | Manually register an online player. |
| `ourdiscount debug` | Toggle debug logging. |
Previously applied discounts are **not** erased when a player opts out.
Discord: **lukysgaming**