矿车会加载它们经过的区块,因此你可以在没有人在远端站立的服务器上通过矿车长距离传输物品。封闭和循环轨道会自动停止加载。
安全保障
在默认设置下,矿车不能用作区块加载器。只有当矿车持续远离起点前进时旅程才会继续,因此循环、往返或未看守的熔炉矿车会因为超出容差范围而释放。
有一种关闭此功能的方法:enforcement: PERMISSIVE,这是一个单一设置,每次启动时会打印警告。仅在信任所有在你服务器上游玩的玩家时才设置它。
完整说明和你可自行运行的五分钟测试:请参阅 wiki。
命令
一个权限 chunkcarts.admin,默认由管理员持有。/ccarts 是别名。
/chunkcarts list: 当前活跃的旅程,以及哪些区块被占用及其原因
/chunkcarts reload: 重新读取 config.yml 而不中断正在进行的旅程
/chunkcarts debug: 切换每次轮询日志记录
常见问题解答
- 需要在客户端安装吗? 不需要。仅服务端。
- 与 TrainCarts / Create / 其他铁路模组兼容吗? 未经测试。它监控矿车实体且不触碰铁路行为,因此应该可以共存。
- 支持 Folia 吗? 不支持,这是故意设计的。
- 支持 Spigot 吗? 不支持。仅支持 Paper 或 Paper 分支。
- 需要 Fabric API 吗? Fabric 版需要,是硬性依赖。NeoForge、Forge 或 Paper 版无依赖。
- 添加物品、方块或配方吗? 不添加。
- 改变矿车速度或行为吗? 不改变。
- 面向玩家吗? 仅通过管理员命令。没有玩家界面。
- 如果旅程提前结束会丢失内容吗? 不会。矿车会停在恰好停止的位置,内容完好无损。
- 服务器重启后能幸存吗? 可以,旅程会持久化并恢复。
完整的常见问题解答请参阅 wiki。
配置
config.yml 在内联文档中记录了每个设置。默认值为推荐设置;文件可以保持不变。
enforcement: STRICT(默认)或 PERMISSIVE
departure-requirement: PLAYER_SEEN(默认)、PLAYER_ONLINE 或 NONE
progress-slack-chunks: 循环检测容差,默认值 16
journey-cooldown: 默认值 10m,如果玩家最近接触过矿车则豁免
在 STRICT 模式下,易被滥用的设置会被限制在合理的上限内,而不是完全信任。
完整的默认值和解释请参阅 wiki。
平台支持
Paper 及 Paper 分支、Fabric、NeoForge 和 Forge。十五个游戏版本,从 1.21 到 26.2(不包括 1.21.2)。
- Fabric 需要 Fabric API。
- Paper 支持仅限 Paper,不包括 Spigot。它依赖 Paper 的异步区块加载,因此在 Spigot 上拒绝运行而非无声降级。
- NeoForge 和 Forge 无任何依赖。
许可
LGPL-3.0-or-later。可自由包含在任何整合包中,无论公开还是私有,免费还是付费,无需征得同意。修改后的公共分支必须使用不同的名称和模组 ID。完整条款请参阅 wiki。
指标
向 bStats 报告匿名统计数据:服务器软件、游戏版本、玩家数量以及你的 enforcement/departure-requirement 设置。不包含玩家数据、世界数据、IP 地址或坐标。设置 metrics: false 可选择退出。
Minecarts load the chunks they travel through, so you can send items across long distances on a server where nobody is standing at the far end. Closed and looping tracks stop loading automatically.
The guarantee
On the default settings, a minecart cannot be used as a chunk loader. A journey is only allowed to continue while the cart is making progress away from where it set off, so a loop, a shuttle, or an unwatched furnace cart runs out of slack and gets released.
There is one way to turn this off: enforcement: PERMISSIVE, a single setting with a warning printed at every startup. Set it only if you trust everyone who plays on your server.
Full write-up and a five-minute test you can run yourself: see the wiki.
Commands
One permission, chunkcarts.admin, held by operators by default. /ccarts is an alias.
/chunkcarts list: active journeys, and which chunks are held and why
/chunkcarts reload: re-read config.yml without interrupting running journeys
/chunkcarts debug: toggle per-poll logging
FAQ
- Needs installing on clients? No. Server side only.
- Works with TrainCarts / Create / other rail mods? Untested. It watches minecart entities and doesn't touch rail behaviour, so it should coexist.
- Works on Folia? No, deliberately.
- Works on Spigot? No. Paper or a Paper fork only.
- Needs Fabric API? Yes on Fabric, hard dependency. No dependencies on NeoForge, Forge, or Paper.
- Adds items, blocks, or recipes? No.
- Alters cart speed or behaviour? No.
- Player facing? Only through admin commands. No player UI.
- Anything lost if a journey ends early? No. The cart stays exactly where it stopped, contents intact.
- Survives a server restart? Yes, journeys persist and resume.
Full FAQ on the wiki.
Configuration
config.yml documents every setting inline. Defaults are the recommended settings; the file can be left alone.
enforcement: STRICT (default) or PERMISSIVE
departure-requirement: PLAYER_SEEN (default), PLAYER_ONLINE, or NONE
progress-slack-chunks: loop detector tolerance, default 16
journey-cooldown: default 10m, waived if a player has touched the cart since
In STRICT mode, the abusable settings are clamped to sane ceilings rather than trusted.
Full default values and explanations on the wiki.
Platform support
Paper and Paper forks, Fabric, NeoForge, and Forge. Fifteen game versions, 1.21 through 26.2 (1.21.2 excluded).
- Fabric requires Fabric API.
- Paper support is Paper only, not Spigot. It relies on Paper's asynchronous chunk loading, so it refuses to run on Spigot rather than degrade silently.
- NeoForge and Forge have no dependencies.
Licence
LGPL-3.0-or-later. Free to include in any modpack, public or private, free or paid, without asking. Modified public forks must use a different name and mod id. Full terms on the wiki.
Metrics
Reports anonymous stats to bStats: server software, game version, player count, and your enforcement/departure-requirement settings. No player data, world data, IPs, or coordinates. Set metrics: false to opt out.
评论 0
登录后参与评分
还没有评论,来抢沙发吧