← Назад к ресурсам

OurDiscount

This mod allows a villager's discount to be shared with all players on the server.

Modrinth economy game-mechanics

Описание

[![Fabric API](https://github.com/intergrav/devins-badges/blob/v3/assets/compact/requires/fabric-api_46h.png?raw=true)](https://modrinth.com/mod/fabric-api) [![Fabric API](https://cdn.modrinth.com/data/cached_images/b114b346f60f5a67d81e5330b470aed87323e070.png)](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**