Repository navigation
Releases: plants13/Create-Trains-Scheduling
Release list
Create: Trains Scheduling v0.0.8-alpha-1.21.1Neo-C6
简体中文
新增
- 新增显示链接数据源"发车倒计时"(车站方块):不同于 Create 的"列车行程状态"(显示"X 秒 后发车"文本),
本数据源在目标为 CRN 高级显示器(simple/rich text 模式)时,以红色纯数字显示剩余秒数;
最后 1 秒切换为绿色横线,并持续 10 秒 - 倒计时对调度延迟、一天中的时间、动态延迟与 CRN 分隔列车条件精确;其它世界状态条件不显示数字
兼容性注意
- 从 0.0.8 起,客户端也必须安装本模组:0.0.8 往 Create 的同步注册表
create:display_source中新增了条目,
未安装模组的客户端会在注册表同步阶段被拒绝。0.0.7 及以前支持"仅服务端安装"。
English
Added
- New display link data source "Departure Countdown" for station blocks: unlike Create's "Train Schedule
Status" (which shows "Departs in Xs" text), this source shows the remaining seconds as red digits
on a CRN Advanced Display (simple/rich text mode); the last second switches to a green line that stays
for 10 seconds - The countdown is exact for scheduled delay, time of day, dynamic delay and CRN train separation;
world-state conditions show no digits
Compatibility note
- Since 0.0.8 the client must also install this mod: 0.0.8 adds an entry to Create's synced
create:display_sourceregistry, so clients without the mod are rejected during registry sync.
Server-only installs were supported up to 0.0.7.
Create: Trains Scheduling v0.0.7-alpha-1.21.1Neo-C6
简体中文
新增
- 地图调度菜单新增"导出时刻表":把列车当前时刻表与运行状态复制为 JSON 到剪贴板
- 地图调度菜单新增"导入时刻表…":从剪贴板读取 JSON,经服务端校验后写入列车;覆盖现有时刻表前会要求确认
- 导入时可以选择"导入并继续运行"或"导入并暂停"
- 导出的 JSON 包含当前运行步骤(
Progress);HTML 时刻表编辑器可以编辑该步骤并显示列车运行状态
English
Added
- New "Export schedule" entry in the map dispatch menu: copies the train's current schedule and runtime
state to the clipboard as JSON - New "Import schedule…" entry in the map dispatch menu: reads JSON from the clipboard, validates it
server-side and writes it to the train; replacing an existing schedule asks for confirmation - Import offers "import and continue" or "import and pause"
- Exported JSON includes the current run step (
Progress); the HTML schedule editor can edit that step and
display the train's runtime state
Create: Trains Scheduling v0.0.6-alpha-1.21.1Neo-C6
简体中文
新增
- 新增命令
/cts getcrn:把 CRN 线路、种类、全部车站名,以及已注册的指令/条件 id 复制为 JSON 到剪贴板(供外部编辑器使用) - 新增命令
/cts getsch:把手持时刻表物品复制为 JSON 到剪贴板 - 新增命令
/cts writesch:读取剪贴板 JSON,经服务端校验后写入手持时刻表物品 /cts writesch具有服务端校验,可一定程度上预防经由本mod的恶意行为
变更
cts_station.getTrains()默认只返回本站所在轨道网络上的列车;getTrains(true)返回全部轨道网络
迁移提示
-- 旧行为(全部轨道网络):station.getTrains()
-- 新行为(默认本站网络):station.getTrains()
-- 需要全部网络时: station.getTrains(true)English
Added
- New command
/cts getcrn: copies CRN lines, categories, all station names and the registered instruction/condition ids to the clipboard as JSON (for the external editor) - New command
/cts getsch: copies the held schedule item to the clipboard as JSON - New command
/cts writesch: reads JSON from the clipboard, validates it server-side and writes it into the held schedule item /cts writeschperforms server-side validation, which limits malicious behavior through this mod to some extent
Changed
cts_station.getTrains()now returns only trains on the station's track network by default;getTrains(true)returns all track networks
Migration notes
-- old behavior (all track networks): station.getTrains()
-- new default (station's own network): station.getTrains()
-- all networks again: station.getTrains(true)Create: Trains Scheduling v0.0.5-alpha-1.21.1Neo-C6
简体中文
改动
- 移除
cts_station外设中与 Create 自带 CC 集成重复的方法:getStationName、getTrainsAtStation、getSchedule、getStation - 移除事件
cts_train_arrival、cts_train_departure(迁移到 Create 的train_arrival、train_departure) - 移除该外设的到站/离站事件轮询与服务器 tick 监听,外设改为纯只读查询
迁移提示
-- 站名: Create_Station.getStationName()
-- 停靠列车: Create_Station.isTrainPresent() / getTrainName()
-- 时刻表: Create_Station.getSchedule()
-- 到站/离站: os.pullEvent("train_arrival") / os.pullEvent("train_departure")English
Changes
- Removed
cts_stationmethods that duplicated Create's built-in CC integration:getStationName,getTrainsAtStation,getSchedule,getStation - Removed the
cts_train_arrivalandcts_train_departureevents (use Create'strain_arrivalandtrain_departureinstead) - Removed the peripheral's arrival/departure event polling and server tick listener; it now performs read-only queries only
Migration notes
-- station name: Create_Station.getStationName()
-- present train: Create_Station.isTrainPresent() / getTrainName()
-- schedule: Create_Station.getSchedule()
-- arrival: os.pullEvent("train_arrival") / os.pullEvent("train_departure")Create: Trains Scheduling v0.0.4-alpha-1.21.1Neo-C6
简体中文
新增
- ComputerCraft / CC:Tweaked 桥:Create 车站方块现在提供一个只读外设
cts_stationgetStationName()/getStation()— 站名、坐标、维度getTrains()/getTrain("车名或UUID")— 列车状态:自动运行、暂停、时刻表、越红灯授权、CRN 线路/终点/种类getSchedule("车名或UUID")— 时刻表站序(type / text / conditions)getCircuit("车名或UUID")— CRN 交路:线路 / 交路终点 / 种类getTrainsAtStation()— 当前停靠本站的列车- 事件:
cts_train_arrival/cts_train_departure(queueEvent,参数为车名、站名)
- 软依赖:未安装 CC:Tweaked 时不加载桥接类,完全不影响现有功能;不打包 CC:T 的任何类
English
Added
- ComputerCraft / CC:Tweaked bridge: Create station blocks now expose a read-only
cts_stationperipheralgetStationName()/getStation()— name, position, dimensiongetTrains()/getTrain("name or UUID")— train state: automatic, paused, schedule, red-signal override, CRN line/terminus/categorygetSchedule("name or UUID")— schedule stops (type / text / conditions)getCircuit("name or UUID")— CRN circuit: line / terminus / categorygetTrainsAtStation()— trains currently standing at this station- Events:
cts_train_arrival/cts_train_departure(viaqueueEvent, args: train name, station name)
- Soft dependency: the bridge class is only loaded when CC:Tweaked is installed; no CC:T classes are bundled
Full Changelog: v0.0.3b-alpha-1.21.1Neo-C6...v0.0.4-alpha-1.21.1Neo-C6
Create: Trains Scheduling v0.0.3b-alpha-1.21.1Neo-C6
简体中文
新增
- 快捷目的地:点列车打开菜单后,直接左键点击地图上的车站,立即把该站作为目的地下发(等同"设定目的地"),菜单随之关闭
- 点菜单内部仍走菜单项;点空白仍关闭菜单
- 沿用服务端权限校验与"重名站精确导航回退"
- 客户端未获得
dispatch权限时不会发送请求
English
Added
- Quick destination: after opening the train menu, left-clicking a station on the map immediately dispatches it as the destination (same as "Set destination") and closes the menu
- Clicks inside the menu still use menu items; clicks on empty space still close the menu
- Keeps server-side permission checks and the duplicate-station exact-navigation fallback
- No request is sent when the client lacks the
dispatchpermission
Full Changelog: v0.0.3a-alpha-1.21.1Neo-C6...v0.0.3b-alpha-1.21.1Neo-C6
Create: Trains Scheduling v0.0.3a-alpha-1.21.1Neo-C6
简体中文
修复 / 改进
- 调度菜单、进路确认面板改为在地图 Screen 渲染完成后(
ScreenEvent.Render.Post)绘制,不再被 Create 的线路与车站图标覆盖 - 进路规划状态下不再错误地重复绘制列车菜单
- 已知问题:Create 的列车图标仍可能盖住菜单
English
Fixed / Changed
- The dispatch menu and route confirm panel now render in
ScreenEvent.Render.Postafter the map screen finished drawing, so they are no longer covered by Create's track lines and station icons - Route planning no longer draws the train menu behind the confirm panel
- Known issue: Create's train icons may still cover the menu
Full Changelog: v0.0.3-alpha-1.21.1Neo-C6...v0.0.3a-alpha-1.21.1Neo-C6
Create: Trains Scheduling v0.0.3-alpha-1.21.1Neo-C6
简体中文
本版本按 Minecraft 1.21.1 / NeoForge / Create 6(C6) 构建(版本名后缀)。
新增
- 多站自定义进路:点列车 → "规划进路…" → 地图上依次点车站(显示 1、2、3 编号)→ 右键撤销 → 确认下发;空白处左键可正常拖动地图
- 途经站"通过不停车":检测到 Steam 'n' Rails 时,中途站使用其
waypoints指令通过不停车(运行时按指令 id 构造,无编译依赖/不打包);未装 SnR 时退回正常停靠 - CRN 交路数据:菜单"显示状态"新增 线路 / 交路终点 / 种类(来自 CRN 公开快照 API)
- 叠加层跟随 Create 自带 train map overlay 的开关,实时生效
- 所有自定义网络包改为 optional 并发送前检查通道:客户端未安装本 mod 也能进服,服务端未安装时客户端也不会崩溃
修复 / 调整
- NOTICE 增加 SnR(LGPL-3.0)运行时可选集成说明
依赖
Minecraft 1.21.1 / NeoForge 21.1.219+ / Create 6.0.10 / Create Railways Navigator 0.10.0-C6+(硬依赖)/ DragonLib 3.0.28+;客户端另需 Xaero's World Map 或 JourneyMap;SnR 可选(途经不停车需要)。
English
This build targets Minecraft 1.21.1 / NeoForge / Create 6 (C6).
Added
- Multi-stop custom routes: click a train → "Plan route..." → click stations in order (numbered 1, 2, 3) → right-click to undo → confirm. Left-clicking empty space still drags the map
- Pass-through intermediate stops: when Steam 'n' Rails is installed, intermediate stations use its waypoint instruction (built at runtime by instruction id; no compile dependency, not bundled). Falls back to normal stops without SnR
- CRN circuit data: the status panel now shows line / terminus / category from CRN's public snapshot API
- Overlay follows Create's own train map overlay toggle in real time
- All custom payloads are registered optional with channel checks before sending: clients without this mod can join, and the client does not crash when the server lacks the mod
Fixed / Changed
- NOTICE now documents the optional SnR (LGPL-3.0) runtime integration
Dependencies
Minecraft 1.21.1 / NeoForge 21.1.219+ / Create 6.0.10 / Create Railways Navigator 0.10.0-C6+ (hard dependency) / DragonLib 3.0.28+; the client also needs Xaero's World Map or JourneyMap; SnR optional (required for pass-through waypoints).
Full Changelog: v0.0.2-alpha...v0.0.3-alpha-1.21.1Neo-C6
Create: Trains Scheduling v0.0.2-alpha
简体中文
新增
- JourneyMap 支持:与 Xaero 共用同一套调度叠加层(车站标记、逐车厢高亮、点列车菜单、选站)
- 功能权限系统:一般玩家默认没有任何调度权限;OP 通过
/cts perm grant|revoke <玩家> <dispatch|override|schedule>按功能授予/剥夺,授权保存在存档内(重启不丢),并实时同步到客户端用于菜单灰显 - 手动时刻表"禁用"改为打断保留:手动放置的时刻表会暂停并保留、可恢复;只有自动/本 mod 下发的时刻表才会被真正清除
- 菜单新增 恢复时刻表;状态详情显示服务端权威的"已暂停 / 自动时刻表"信息
- 权限不足时菜单项自动灰显
修复
- "可自动运行 / 有时刻表"改为向服务端查询,不再因客户端同步延迟而显示错误
依赖
Minecraft 1.21.1 / NeoForge 21.1.219+ / Create 6.0.10 / Create Railways Navigator 0.10.0-C6+(硬依赖)/ DragonLib 3.0.28+;客户端另需 Xaero's World Map 或 JourneyMap。
English
Added
- JourneyMap support: shares the same dispatch overlay as Xaero (station markers, per-carriage highlight, train menu, station picking)
- Per-feature permission system: normal players have no dispatch rights by default. OPs grant/revoke
dispatch/override/schedulevia/cts perm grant|revoke <player> <permission>. Grants are stored in the world save (survive restarts) and synced to the client to grey out menu items - Disabling a manually placed schedule now interrupts it (paused and kept, resumable) instead of destroying it; only auto / mod-created schedules are cleared
- Menu gains Resume schedule; status shows server-authoritative paused / auto-schedule info
- Menu items grey out when the player lacks permission
Fixed
- "Can run automatically / has schedule" is now queried from the server instead of relying on possibly stale client sync
Dependencies
Minecraft 1.21.1 / NeoForge 21.1.219+ / Create 6.0.10 / Create Railways Navigator 0.10.0-C6+ (hard dependency) / DragonLib 3.0.28+; the client also needs Xaero's World Map or JourneyMap.
Full Changelog: v0.0.1-alpha...v0.0.2-alpha
Create: Trains Scheduling v0.0.1-alpha
Create: Trains Scheduling v0.0.1-alpha
首个 Alpha 版本:在 Xaero 世界地图上直接调度 Create 列车。
功能
- 地图叠加层:车站标记、列车逐车厢悬停高亮
- 点列车弹出调度菜单
- 设定目的地(在地图上点选车站;按站点 UUID 下发,重名车站不会走错)
- 允许越过下一个红灯(事件制:真正通过信号后自动失效)
- 查看状态(服务端权威:可自动运行 / 有时刻表 / 越红灯授权)
- 清除时刻表
- 命令:
/cts trains、/cts stations、/cts route、/cts override、/cts clear、/cts selftest - 中英双语(en_us / zh_cn)
依赖
| 组件 | 版本 |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.219+ |
| Create | 6.0.10 |
| Create Railways Navigator | 0.10.0-C6+(硬依赖) |
| DragonLib | 3.0.28+ |
| Xaero's World Map | 1.21.1(客户端) |
安装
- 客户端:Create + CRN + DragonLib + Xaero's World Map + 本 mod
- 服务端:Create + CRN + DragonLib + 本 mod(Xaero 不需要)
已知限制
- 仅支持 Xaero's World Map(暂不支持 JourneyMap / 小地图)
- 车站重名时自动退回"精确导航",此时 Create/CRN 的时刻表显示不会出现该行程
- Alpha 版本,请先备份存档
许可
MPL-2.0。第三方组件许可见 NOTICE。
Full Changelog: https://github.com/plants13/Create-Trains-Scheduling/commits/v0.0.1-alpha