
OurDiscount
治愈一次。
让村民折扣成为(可配置的)全服福利。非常适合 SMP 以及任何你不想拥有大量村民的场景。
功能特性
- 共享折扣: 与一位被治愈过的村民交互,即可将你的折扣分享给其他人。
- 离线支持: 原始的“治愈者”无需在线。
- Essential 模组和局域网支持: 在托管世界以及专用 Fabric 服务器上均可正常工作。
- 两种注册模式:
- 自动 (automatic): 常规方式,即你一直以来的使用习惯。
- 提示 (prompt): 让玩家选择是否加入村民折扣共享计划,可通过加入时的可点击聊天消息或输入
/ourdiscount 命令来使用。
- 单一可读配置文件: 设置、玩家名称、UUID 和选择项均位于
config/ourdiscount.json 中。旧配置文件会自动迁移(可以安全删除它们)。
安装方法
在运行 Minecraft 26.3 的专用 Fabric 服务器上,将 OurDiscount、Fabric API 和 Fabric Language Kotlin 放入服务器的 mods 文件夹中。
对于 Essential 或局域网环境,请将这三者安装在主机端的模组文件夹中。
加入游戏的玩家不需要安装 OurDiscount 或其依赖项(Fabric API/Kotlin)。如果你通过 Essential 游玩,主机和朋友都需要安装适用于相同 Minecraft 版本的 Essential 及其自身依赖项。
玩家指令
| 指令 |
操作 |
/ourdiscount |
打开提示菜单。 |
/ourdiscount yes |
启用共享折扣并记住你的选择。 |
/ourdiscount no |
拒绝;下次登录时将在提示模式下再次询问。 |
/ourdiscount hide |
拒绝并停止登录提示。你可以随时重新打开菜单。 |
控制台指令
| 指令 |
操作 |
ourdiscount check <name> |
检查已加载村民对该玩家的治愈折扣声誉,包括已知的离线玩家。 |
ourdiscount reapply |
在所有维度的所有已加载村民之间共享现有折扣。 |
ourdiscount add <playerName> |
手动注册一名在线玩家。 |
ourdiscount debug |
切换调试日志记录。 |
当玩家选择退出时,之前应用的折扣不会被清除。
Discord: lukysgaming

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 was cured to share your discount with others.
- Offline support: The original "curer" doesn't need to be online.
- Essential mod and LAN support: Works in hosted worlds as well as on dedicated Fabric servers.
- 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, or by typing
/ourdiscount.
- 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).
Installation
On a dedicated Fabric server running Minecraft 26.3, put OurDiscount, Fabric API, and Fabric Language Kotlin in the server's mods folder.
For Essential or LAN, install these three in the host's mod folder instead.
Friends joining don't need OurDiscount or its Fabric API/Kotlin dependencies. If you're playing through Essential, the host and friends still need Essential for the same Minecraft version, along with its own dependencies.
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 <name> |
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 <playerName> |
Manually register an online player. |
ourdiscount debug |
Toggle debug logging. |
Previously applied discounts are not erased when a player opts out.
Discord: lukysgaming
评论 0
登录后参与评分
还没有评论,来抢沙发吧