UnstablePotions
原版 Minecraft 中的酿造药水是可预测的——你每次都能确切知道会得到什么。UnstablePotions 改变了这一点。当玩家酿造药水时,存在一个可配置的概率使结果出现轻微偏差。或者变得过于强大。又或者只是错得足以产生实际影响。
这是一个简单的概念,却为重度依赖药水的服务器增添了真正的深度——无论是生存、RPG、PvP 还是经济类服务器,只要药水具有价值,不稳定性就能让它们变得有趣。
功能特性
- ? 五种结果类型 — 持续时间偏移、强化等级偏移、效果反转、副作用和暴击(Jackpot),所有类型均支持权重分配且可独立配置
- ? 原料影响 — 可选系统,特定酿造原料(如萤石、红石等)会提高不稳定发生的概率
- ? 单药水规则 — 可按药水类型启用或禁用不稳定性,控制每种类型的反转效果,并设置每种类型的概率乘数
- ? 世界限制 — 支持白名单或黑名单模式,仅在世界列表中启用的世界中生效不稳定行为
- ? 视觉标记 — 不稳定药水在使用时可选择显示名称/描述标记以及火焰粒子效果
- ? HMAC 标签签名 — 每个不稳定药水在酿造时进行密码学签名,并在使用时验证,从而阻止复制漏洞和 NBT 篡改
- ? 牛奶集成 — 饮用牛奶可以清除已追踪的副作用负面效果
- ?️ 完整的游戏内管理界面 — 所有设置均可在游戏内调整,无需修改配置文件
- ? 调试指标 + 审计日志 — 实时结果计数器、可疑标签检测、游戏内通知
为什么服务器需要这个插件
药水完全可靠会让它们沦为普通商品。如果你的力量 II 药水突然反噬,或者速度药水比预期更强,那么酿造经济就会变得更加有趣。理解风险并熟练操作的酿酒师将获得回报;而随意使用则伴随着真正的代价。
该插件设计简洁——无需数据库、无需重复任务、无需后台轮询。它通过挂钩酿造和使用事件来工作,其余时间保持静默。
GUI 控制面板
整个插件通过多页游戏内 GUI(/unstablepotions admin)进行管理。页面涵盖酿造设置、结果权重、安全上限、药水规则、视觉效果、世界规则、性能和管理工具。所有内容保存后立即生效。
安全性与性能
- 药水在酿造时使用 HMAC 签名,在使用时进行验证——没有有效标签的结果不会触发
- 可疑活动(带有视觉标记的无效标签)会被记录并通知管理员
- 粒子速率限制和每刻事件预算确保在繁忙服务器上运行可控
- 附魔箭支持和滞留云处理默认关闭,以避免不必要的开销
如果你希望药水酿造具有一定的实际风险,将此插件加入服务器并根据你的需求调整数值即可。
UnstablePotions
Brewed potions in vanilla Minecraft are predictable — you know exactly what you'll get every time. UnstablePotions changes that. When players brew potions, there's a configurable chance the result comes out slightly wrong. Or slightly too good. Or just wrong enough to matter.
It's a simple concept that adds real depth to potion-heavy servers — survival, RPG, PvP, economy — anywhere potions have value, instability makes them interesting.
What it does
- ? Five outcome types — Duration Shift, Amplifier Shift, Inversion, Side-Effect, and Jackpot, all weighted and independently configurable
- ? Ingredient influence — optional system where specific brewing ingredients (Glowstone, Redstone, etc.) push the instability chance higher
- ? Per-potion rules — enable or disable instability per potion type, control inversion per type, set per-type chance multipliers
- ? World gating — whitelist or blacklist worlds where unstable behavior is active
- ? Visual markers — unstable potions optionally show name/lore markers and fire particles when used
- ? HMAC tag signing — every unstable potion is cryptographically tagged at brew time and validated at use time, blocking duplication exploits and NBT tampering
- ? Milk integration — drinking milk can clear tracked side-effect debuffs
- ?️ Full in-game Admin GUI — every setting is adjustable without touching a config file
- ? Debug metrics + audit logging — live outcome counters, suspicious-tag detection, in-game notifications
Why servers want this
Potions being perfectly reliable makes them commodities. When there's a chance your Strength II potion turns on you, or your Speed potion comes out stronger than expected, the brewing economy gets more interesting. Skilled brewers who understand the risk are rewarded; casual use carries actual stakes.
The plugin is built cleanly — no database, no repeating tasks, no background polling. It hooks into brew and consume events and stays out of the way otherwise.
GUI controls
The entire plugin is managed through a multi-page in-game GUI (/unstablepotions admin). Pages cover Brewing settings, Outcome weights, Safety caps, Potion rules, Visuals, World rules, Performance, and Admin tools. Everything saves and applies immediately.
Security & performance
- Potions are signed with HMAC on brew and verified on use — no outcome fires without a valid tag
- Suspicious activity (invalid tags with visual markers) is logged and shown to notified admins
- Particle rate limiting and a per-tick event budget keep things controlled on busy servers
- Tipped arrow support and lingering cloud processing are both off by default to avoid unnecessary overhead
If you want potion brewing to have some actual risk, drop this in and tune the numbers to fit your server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧