AutoVend
面向 SMP 经济服务器的基于规则的销售与拍卖自动化模组——配备完整自定义 GUI。
AutoVend 在你游戏时监视你的物品栏。当某个规则被触发——例如橡木原木数量超过一组时——它会打开服务器销售菜单,将货物移入,确认操作,然后再次进入休眠状态。钻石则直接以你设定的价格上架拍卖行。你可以继续挖矿、耕种或建造;AutoVend 负责处理销售事宜。
完全 客户端侧。无需服务器插件——它利用服务器已有的 /sell 和 /ah sell 命令工作,且这两个命令均可完全配置。
✨ 功能特性
? 单项规则
每条规则针对单一物品,并指向 销售菜单 或 拍卖行,支持细粒度条件:
- 触发数量 — 仅在囤积达到指定数量后触发(原文截断,意为 "only fire once you hoard enough")
- 始终保留 — 绝不低于储备数量(保护你的建筑方块)
- 仅整组出售 — 出售完整的堆叠,保留零散部分
- 每周期最大堆叠数 — 限制每次循环处理的最高堆叠数量(原文截断,意为 "cap how much moves per cycle")
- 冷却时间 + 随机增量 — 限制执行频率并加入可选的随机组件(原文截断,意为 "limit how often it runs, with an optional random component")
- 仅限普通物品 — 重命名、附魔或其他修改过的物品堆叠会自动跳过
?️ 受保护物品
一个全局黑名单,其优先级高于所有规则。将你最爱的镐子的材质加入其中,没有任何规则会触碰它。
? 高斯周期延迟
一个可选的独立页面:在每次完成扫描后,会等待一段 钟形曲线随机数量的刻(min/max 由你设定) 才会恢复扫描。该页面会在你输入时实时渲染生成的分布曲线。默认关闭。
⏱️ 精确到刻的计时
所有延迟均使用 游戏刻 (20 = 1 秒) 进行配置:扫描间隔、单次点击延迟范围、命令结算时间、确认延迟以及超时设置。旧版设置会在首次加载时自动迁移(原文截断,意为 "Older settings are migrated automatically on first load")。
?️ 自定义 GUI,原版风格
一个五标签屏幕(仪表盘、规则、设置...),采用原版容器 GUI 风格——斜面面板、真实的槽位孔洞、真正的按钮和标题。(原文截断,意为 "A five-tab screen (Dashboard, Rules, Settings...) mimics vanilla container GUIs — beveled panels, real slot wells, genuine buttons and titles.")按 O(可重新绑定)或使用 /autovend 打开。
- 仪表盘 — 引擎状态、会话统计(已售物品、移动堆叠数、上架拍卖数量)、上次操作
- 规则 — 使用物品选择器创建、编辑、切换和删除规则
- 设置 — 命令、计时、行为
状态叠加层(可选择角落位置)显示引擎状态和倒计时。可选的聊天反馈会回显每个操作——仅对你可见。
? 兼容性好
- 拍卖确认(“确定吗?”对话框或插件箱子 GUI)会自动回答——确认按钮的标签可配置
- 当你正在使用容器、在聊天中输入文本或打开 AutoVend 界面时,会自动暂停
- 可在退出菜单中继续工作(可选)
- 如果菜单未打开或意外关闭,会以记录的Reason干净地中止
? 入门指南
- 将模组(加上 Fabric API)安装到你的
mods 文件夹中
- 加入服务器并按下 O
- 设置服务器的销售和拍卖命令(应为
sell 和 ah sell {price})
- 在 Rules 下添加一条规则,选择物品,设置你的条件
- 翻转侧边栏中的 Engine 开关——完成
| 命令 |
效果 |
/autovend |
打开 GUI |
/autovend toggle |
启用/禁用引擎 |
/autovend scan |
立即扫描并解释每条规则的状态 |
? 要求
- Minecraft 26.2 · Fabric Loader 0.19.25+
- 仅客户端侧——服务器端无需安装任何内容
⚠️ 合理使用
AutoVend 自动化游戏玩法操作。某些服务器限制或禁止自动化行为——在使用前请检查你服务器的规则。你需对如何使用此模组负责。
? 许可证
GPL-3.0-or-later
(此模组完全由 Claude Fable 5 编写!它是开源的,请自行验证安全性!我从未有过也不会再有时间来维护这个模组!在极少数情况下我会修复 bug!)
AutoVend
Rule-based sell & auction automation for SMP economy servers — with a full custom GUI.
AutoVend watches your inventory while you play. The moment a rule matches — say, more than a stack of oak logs — it opens your server's sell menu, moves the goods in, confirms, and goes back to sleep. Diamonds instead go straight to the auction house at the price you set. You keep mining, farming, or building; AutoVend handles the selling.
Entirely client-side. No server plugin needed — it works with the /sell and /ah sell commands your server already has, and both commands are fully configurable.
✨ Features
? Per-item rules
Each rule targets one item and either the sell menu or the auction house, with fine-grained conditions:
- Trigger amount — only fire once you ho
- Always keep — never dip below a reserve amount (keeps your building blocks safe)
- Full stacks only — sell complete stacks, keep the partials
- Max stacks per cycle — cap how much mo
- Cooldown + random extra — limit how ofional random component
- Plain items only — renamed, enchanted, or otherwise modified stacks are skipped automatically
?️ Protected items
A global blacklist that always wins over every rule. Put your beloved pickaxe's material on it and no rule will ever touch it.
? Gaussian cycle delay
An optional, dedicated page: after each finibell-curve random number of ticks(min/max set by you) before it resumes scanning. The page renders the resulting distribution as a live curve while you type. Off by default.
⏱️ Tick-precise timing
Every delay is configured in game ticks (20 = 1 second): scan interval, per-click delay range, command settle
time, confirm delay, and timeouts. Older sectomatically on first load.
?️ Custom GUI, vanilla look
A five-tab screen (Dashboard, Rules, Setting after vanilla container GUIs — beveled
panels, real slot wells, genuine button and h O (rebindable) or /autovend.
- Dashboard — engine state, session stats (items sold, stacks moved, auctions listed), last action
- Rules — create, edit, toggle and delete rules with an item picker
- Settings — commands, timing, behavior
ct status overlay (corner of your choice) shows the engine state and countdowns. Optional chat feedback echoes every action — visible only to you.
? Plays nice
- Auction confirmations ("Are you sure?" dialogs or plugin chest GUIs) are answered automatically — the confirm button labels are configurable
- Pauses whenever you're using a container, typing in chat, or have the AutoVend screen open
- Keeps working in the Esc menu (optional),
- Aborts cleanly with a logged reason if a menu doesn't open or closes unexpectedly
? Getting started
- Install the mod (plus Fabric API) into your mods folder
- Join your server and press O
- Set your server's sell and auction commants:
sell and ah sell {price})
- Add a rule under Rules, pick the item, set your conditions
- Flip the Engine switch in the sidebar — done
| Command |
Effect |
/autovend |
Open the GUI |
/autovend toggle |
Enable / disable the engine |
/autovend scan |
Scan immediately and explain every rule's status |
? Requirements
- Minecraft 26.2 · Fabric Loader **0.19.25+
- Client-side only — nothing to install on the server
⚠️ Fair use
AutoVend automates gameplay actions. Some servers restrict or forbid automation — check your server's rules before using it. You are responsible for how you use this mod.
? License
GPL-3.0-or-later
(This mod is entirely written by Claude Fable 5! Its open-source, verify safety yourself! I never had and wont have time to maintain this mod! In rare cases i will fix bugs!)
评论 0
登录后参与评分
还没有评论,来抢沙发吧