Offers+
当你看向村民或流浪商人时,立即显示其当前的交易报价——无需右键点击、无需打开交易界面、无需猜测。offers+ 是一个轻量级、完全客户端侧的 HUD,绝不干涉交易、价格、库存或游戏平衡;它仅展示服务器本来就会向你提供的信息。
功能
- 即时报价 HUD —— 注视村民或流浪商人,其交易列表会出现在一个可配置的屏幕面板中。
- 三种布局 —— 详细(Detailed)、紧凑(Compact)或仅图标(Icons-only),让面板的信息密度或极简程度由你决定。
- 丰富的交易信息 —— 当前价格与基础价格、折扣/通胀、剩余库存、物品与附魔详情、商人职业及原生生物群系、等级/经验进度。
- 搜索与关注列表 —— 小型查询语言(如
emerald<=20 mending、sharpness 5,支持 AND 语义)高亮并过滤你真正关心的交易,可选匹配音效。
- 会话轮次历史 —— 查看自上次检查该商人以来哪些交易是新的。
- 5 种排序模式 —— 默认、价格升序/降序、预估解锁等级、或可用性。
- 切换、按住显示与固定键位 —— 所有键位默认未绑定,以免与你现有的设置冲突。
- 深度外观控制 —— 锚点 + 拖拽定位编辑器、缩放、背景样式/透明度、边框、文字阴影、淡入效果,以及每行细节的单独开关。
- 自我解释的设置界面 —— 每个选项都有工具提示,极少使用的网络/调试设置隐藏在“显示高级设置”开关之后。可选 Mod Menu 集成。
- 开箱即用的英文、俄文和日文本地化。
获取报价的原理
Minecraft 通常只有在你打开交易界面后才会发送商人的交易列表。为了在尚未打开该界面的情况下显示报价,offers+ 可以发送一个真实的交互数据包,在客户端端抑制由此产生的界面,缓存返回的报价,并再次关闭容器——整个过程不会 visibly 打开 GUI。
这些是真实存在的额外网络数据包,offers+ 对此坦诚相告:静默请求模式 可设置为自动(Auto,默认值,如果服务器似乎不愉快则退避)、始终(Always)或从不(Never),后者完全禁用额外数据包,仅显示你正常打开过的报价。冷却时间、全局速率限制和缓存生命周期设置进一步限制了询问频率。如果你自己打开了交易界面,offers+ 会直接复用服务器已经发送给你的数据。
搜索与关注列表语法
| 查询 |
含义 |
mending |
在报价文本任意位置进行子串匹配 |
book mending |
两个词都必须匹配(空格表示 AND) |
sharpness 5 |
Sharpness 恰好为 5 级 |
emerald<=20 |
任一支付堆栈为绿宝石且成本不超过 20 |
emerald>=32, emerald<10, emerald>5, emerald=16 |
其他价格比较 |
匹配的报价会被勾勒出来,关注列表可在新轮次的交易匹配时可选播放音效。所有内容均位于 config/offersplus.json 中,可直接手动编辑:
{
"filterQuery": "emerald<=20 mending",
"watchlist": ["mending", "sharpness 5"],
"highlightColor": -10496,
"playSoundOnMatch": true,
"matchSound": "block.note_block.bell"
}
by Shinoame
Offers+
See a villager's or wandering trader's current trade offers the moment you look at them — no right-click, no trade screen, no guesswork. offers+ is a lightweight, fully client-side HUD that never touches trades, prices, stock, or game balance; it only displays information the server would show you anyway.
Features
- Instant offer HUD — focus a villager or wandering trader and its trades appear in a configurable on-screen panel.
- Three layouts — Detailed, Compact, or Icons-only, so the panel is as information-dense or as minimal as you want.
- Rich trade info — current and base prices, discounts/inflation, remaining stock, item and enchantment details, merchant profession and native biome, and level/XP progress.
- Search & watchlist — a small query language (
emerald<=20 mending, sharpness 5, AND semantics) highlights and filters the trades you actually care about, with an optional match sound.
- Session roll history — see which trades are new since you last checked a merchant.
- 5 sort modes — Default, Price ascending/descending, estimated Unlock level, or Availability.
- Toggle, hold-to-show and pin keybinds — all unbound by default so nothing collides with your existing setup.
- Deep appearance control — anchor + drag-to-position editor, scale, background style/opacity, border, text shadow, fade-in, and per-row detail toggles.
- A settings screen that explains itself — every option has a tooltip, and rarely-used network/debug settings are tucked behind a "Show advanced settings" switch. Optional Mod Menu integration.
- English, Russian and Japanese localizations out of the box.
How it fetches offers
Minecraft normally only sends a merchant's trade list once you open its trade screen. To show offers before you've opened that screen, offers+ can send a real interaction packet, suppress the resulting screen client-side, cache the returned offers, and close the container again — all without visibly opening a GUI.
These are genuine extra network packets, and offers+ is upfront about it: Silent request mode can be set to Auto (default, backs off if a server seems unhappy), Always, or Never, which disables the extra packets entirely and only shows offers you've opened normally. Cooldown, global rate-limit, and cache-lifetime settings further limit how often it asks. If you open a trade screen yourself, offers+ simply reuses what the server already sent you.
Search and watchlist syntax
| Query |
Meaning |
mending |
Substring match anywhere in the offer's text |
book mending |
Both terms must match (space = AND) |
sharpness 5 |
Sharpness at exactly level 5 |
emerald<=20 |
Either payment stack is emeralds and costs at most 20 |
emerald>=32, emerald<10, emerald>5, emerald=16 |
Other price comparisons |
Matching offers are outlined, and the watchlist can optionally play a sound the moment a newly rolled trade matches. Everything lives in config/offersplus.json and can be hand-edited:
{
"filterQuery": "emerald<=20 mending",
"watchlist": ["mending", "sharpness 5"],
"highlightColor": -10496,
"playSoundOnMatch": true,
"matchSound": "block.note_block.bell"
}
by Shinoame
评论 0
登录后参与评分
还没有评论,来抢沙发吧