SmartHoppers:下一代物品物流与过滤系统
受够了那些庞大且导致服务器卡顿的红石分拣器,严重拖慢了服务器的 TPS 吗?对原版中缓慢的 8 格漏斗冷却机制导致玩家农场效率低下的瓶颈感到沮丧吗?
SmartHoppers 是一款专为 Paper、Purpur 和 Folia 服务器打造的现代高性能物品运输与分拣插件。它将精细的多层漏斗速度控制与直观的内置 GUI(图形用户界面)相结合,支持白名单/黑名单过滤及优先级路由——让玩家仅用一个方块就能实现工业级的物品分拣体验。
⚡ 为什么服务器管理员喜爱 SmartHoppers
- ? 无卡顿的速度引擎:将物品传输加速至最低 1 格间隔,同时在空闲容器上避免运行激进轮询循环。
- ?️ 零红石 GUI 过滤:通过鼠标中键点击将物品拖入虚拟 GUI 中配置白名单或黑名单模式。再也不用担心漏斗被垃圾物品堵塞或建造多层比较器塔了!
- ? 基于位置的优先级路由:按重要性对物品进行排序。白名单中位于第 1 格的物品在提取时优先于后面的格子,从而实现紧凑的多物品分拣设置。
- ? 为多线程构建(原生支持 Folia):从第一天起就采用区域感知调度(
SchedulerAdapter)设计。无论是在单线程的 Paper 还是多线程的 Folia 服务器上都能完美运行,不会出现竞态条件或区块不同步问题。
- ? 漏斗矿车同等性能:快速移动的农场收集线路同样享有相同的速度控制、过滤和优先级选项。
- ? 零数据库开销:所有规则和速度数据都原生持久化存储在 Minecraft 的
PersistentDataContainer (PDC) 中。无需 SQL 查询,无需 FlatFile 文件,彻底杜绝数据库损坏风险。
? 使用方法
- 获取调谐器:手持指定的调谐器物品(默认:普通的
Paper)。
- 右键点击任意漏斗:在方块漏斗或漏斗矿车上打开简洁交互式的设置界面。
- 选择过滤模式:
- 白名单:仅允许特定物品通过。
- 黑名单:阻止不需要的垃圾物品(如种子、弓或毒马铃薯)进入管道。
- 直通:标准的原版物品流动模式。
- 设置优先级:从你的物品栏中将目标物品放入过滤槽位。先放置的物品会优先从源容器中抽取!
- 关闭并游玩:更改即时保存至方块本身。
?️ 配置与自定义
通过 config.yml 可在几秒钟内调整全局速率、设置维度规则(例如在下界或末地使用保守速度),或更改调谐器物品:
settings:
check-for-updates: true
default-tick-interval: 4 # 原版为 8 格(数值越低越快)
minecart-tick-interval: 4
min-tick-interval: 1 # 安全限制,防止 CPU 峰值
allow-per-hopper-override: true
allow-per-world-override: true
world-overrides:
world_nether: 6
world_the_end: 6
gui:
tuner-item: "PAPER"
title: "&8漏斗设置"
size: 27
SmartHoppers: Next-Gen Item Logistics & Filtering
Tired of massive, lag-inducing redstone sorters eating your server’s tick rates? Frustrated by vanilla’s sluggish 8-tick hopper cooldown bottlenecking your players' farms?
SmartHoppers is a modern, high-performance item transport and sorting plugin built for Paper, Purpur, and Folia servers. It combines granular, multi-tiered hopper speed control with an intuitive in-game GUI for whitelist/blacklist filtering and priority routing—giving your players industrial-grade item sorting in a single block.
⚡ Why Server Owners Love SmartHoppers
- ? Lag-Free Speed Engine: Accelerate item transfers down to 1-tick intervals without running aggressive polling loops on idle containers.
- ?️ Zero-Redstone GUI Filtering: Shift-click items into a virtual GUI to configure Whitelist or Blacklist modes. No more hoppers clogged with junk items or multi-story comparator towers!
- ? Positional Priority Routing: Sort items by importance. Items in Slot 1 of the whitelist take extraction precedence over later slots, enabling compact multi-item sorting setups.
- ? Built for Multi-Threading (Folia-Native): Designed from day one with region-aware scheduling (
SchedulerAdapter). Runs flawlessly on both single-threaded Paper and multi-threaded Folia servers without race conditions or chunk desyncs.
- ? Hopper Minecart Parity: Fast-moving farm collection lines enjoy identical speed control, filtering, and priority options.
- ? Zero Database Overhead: All rules and speeds persist natively inside Minecraft's
PersistentDataContainer (PDC). Zero SQL queries, zero flatfiles, and zero risk of database corruption.
? How It Works
- Grab a Tuner: Hold the designated tuner item (default: a standard piece of
Paper).
- Right-Click Any Hopper: Open the clean, interactive settings interface on block hoppers or hopper minecarts.
- Choose Your Filter Mode:
- Whitelist: Only allow specific items through.
- Blacklist: Block unwanted junk items (like seeds, bows, or poison potatoes) from ever entering the pipeline.
- Pass-Through: Standard vanilla item flow.
- Set Your Priority: Place target items into filter slots from your inventory. Items placed in earlier slots are pulled first from source containers!
- Close & Play: Changes save instantly directly to the block.
?️ Configuration & Customization
Tune global rates, set dimensional rules (e.g., conservative speeds in the Nether or End), or alter the tuner item in seconds via config.yml:
settings:
check-for-updates: true
default-tick-interval: 4 # Vanilla is 8 ticks (lower = faster)
minecart-tick-interval: 4
min-tick-interval: 1 # Safety clamp preventing CPU spikes
allow-per-hopper-override: true
allow-per-world-override: true
world-overrides:
world_nether: 6
world_the_end: 6
gui:
tuner-item: "PAPER"
title: "&8Hopper Settings"
size: 27
评论 0
登录后参与评分
还没有评论,来抢沙发吧