
train-ticket
A server ticket plugin for server railways. 一个服务器车票插件,用于服务器铁路。
Список изменений
English
-
Completed the web management panel for stations and lines, supporting the creation, deletion, modification, and querying of lines and stations, as well as fare settings and ticket management.
-
Fixed and improved ticket persistence (SQLite “tickets” table) and PDC-based item identification to ensure consistency between ticket validation and cancellation.
-
Enhanced GUI: Localized all prompts and decision logic into Chinese; fixed issues with the purchase interface and destination selection; added tooltip display for ticket vending machines showing name, ID, and price.
-
Configuration options expanded: web.port (default 2345), sync.stations.url, sync.lines.url (default empty; empty values are skipped during synchronization), and these values are now written to config.yml.
中文
-
完成车站/线路的 Web 管理面板,支持线路与站点的增删改查、价格设置与车票管理。
-
修复并完善车票持久化(SQLite tickets 表)与基于 PDC 的物品标识,确保检票消费与撤销一致性。
-
增强 GUI:中文化所有提示与判断逻辑,修复购买界面与终点选择问题,售票机悬停显示包含名称/ID/价格。
-
配置项扩展:web.port(默认 2345)、sync.stations.url、sync.lines.url(默认空,空值跳过同步),并将这些值写入 config.yml。
