Перейти к содержимому
Mineforgian

MTR: TransitManager

Server-side addon for the MTR Mod, adding several commands and tweaks

9K загрузок12 подписчиковMITfabric

Обновлён 5 июня 2026 г. · опубликован 6 мая 2023 г.

TransitManager 2.0.0 beta

This is a server-side addon for Minecraft Transit Railway 4.0 Mod, adding lower-level commands that allows you to have better control of traffic in MTR.

Available for Minecraft Fabric 1.20.4, port for older versions is planned in the future.

Commands

Command Description Permission Level
/mtr generatePath
/mtr clearTrains
Refresh a depot's path, or clear all trains of a depot OP Level 2
/mtrpath status
/mtrpath abort
Check, refresh and abort MTR Path generations.

- status: Show how many depots are currently regenerating path
- abort: Terminate the depot's path generation. (If it is still generating)
OP Level 2
/platform Give you the information of the nearest platform, including dwell,
transport type and route that goes via that platform.
OP Level 2
/train Provide the information of the nearest train, such as the train type, it's depot and siding, destination, dwell and more. OP Level 2
/train deploy This will find the nearest train to you, and manually deploy the train
if it is parked inside a depot, regardless of timetable and deploy order.
OP Level 2
/train clear This clears all trains from the siding of the nearest train. If that siding has multiple trains, all of them will be cleared. OP Level 2
/train skipDwell This skips the dwell time for the nearest train.
If the train is boarding, it will immediately depart and the door will close.
Otherwise, it will skip the dwell time in the next stop like a Turn Back Rail.
OP Level 2
/warpsta Warp to the specified station's midpoint. You'll be teleported to the nearest non-suffocatable Y level of the midpoint of the station area. OP Level 2
/warpdepot Warp to the specified depot's midpoint. You'll be teleported to the nearest non-suffocatable Y level of the midpoint of the station area. OP Level 2

Config

The config file are automatically generated in config/mtrate/server.toml once the server starts up.

Config Key Default Value Description
shearPSDOpLevel 0 This defines the OP Level required to shear the top part of the Platform Screen Doors in the MTR Mod. Server owners may want to bump this up to OP Level 1/2 to prevent non-builders from modifying Platform Screen Doors.

Bugs/Suggestion

If you have any questions or suggestions, feel free to open an GitHub issue here :)

License

This project is licensed under the MIT License.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.0.0-beta.1+mc1.20.4Бета1.20.4fabric5 июня 2026 г..jar (311 КБ)
1.3.1+mc1.19.4Релиз1.19.4fabric8 января 2025 г..jar (66 КБ)
1.3.0+mc1.19.4Релиз1.19.4fabric10 февраля 2024 г..jar (66 КБ)
1.3.0+mc1.19.3Релиз1.19.3fabric10 февраля 2024 г..jar (66 КБ)
1.3.0+mc1.19.2Релиз1.19, 1.19.1, 1.19.2fabric10 февраля 2024 г..jar (66 КБ)
1.3.0+mc1.18.2Релиз1.18, 1.18.1, 1.18.2fabric10 февраля 2024 г..jar (65 КБ)
1.3.0+mc1.17.1Релиз1.17, 1.17.1fabric10 февраля 2024 г..jar (65 КБ)
1.2.0+mc1.19.4Релиз1.19.4fabric13 декабря 2023 г..jar (61 КБ)
1.2.0+mc1.19.3Релиз1.19.3fabric13 декабря 2023 г..jar (61 КБ)
1.2.0+mc1.19.2Релиз1.19.2fabric13 декабря 2023 г..jar (61 КБ)
1.1.0+mc1.19.4Релиз1.19.4fabric10 июня 2023 г..jar (58 КБ)
1.1.0+mc1.19.3Релиз1.19.3fabric10 июня 2023 г..jar (58 КБ)
1.1.0+mc1.19.2Релиз1.19.2fabric10 июня 2023 г..jar (58 КБ)
1.19.3-1.0.0Релиз1.19.3fabric6 мая 2023 г..jar (56 КБ)
1.19.2-1.0.0Релиз1.19.2fabric6 мая 2023 г..jar (55 КБ)

Ченджлог

2.0.0-beta.1+mc1.20.4Бета1.20.4 · 5 июня 2026 г.

TransitManager for MTR 4 - 2.0.0-beta.1

For MTR 4.0.4 and above only!

This is the first beta release of TransitManager for MTR 4. Some features are not yet fully ported over, please see the updated README for details.

Additional note-worthy changes as follows:

  • /train deploy still allows adhoc train deployment. However it now requires you to specify a departure index to serve as the timetable reference.
  • Added a new patch that manually remove players from TSC when they gets disconnected from server. This hopefully solves issues like ghost players, or trains getting stuck due to someone disconnecting on-board while blocking the train doors.
1.3.1+mc1.19.4Релиз1.19.4 · 8 января 2025 г.

Fix /warpstn and /warpdepot not working on 1.19.4.

This bugfix is only required for Minecraft 1.19.4, other version are not affected.

1.3.0+mc1.19.4Релиз1.19.4 · 10 февраля 2024 г.
  • Added /mtr generatePath <Depot Name>, which refreshes the path of a depot (Same as /mtrpath refresh, but is the preferred way to attempt retaining compatibility with MTR 4)
  • Added /mtr clearTrains <Depot Name>, which clears all the train from the specified depot.
  • A list of effects applied to the train (e.g. Halt Dwell) now shows up in the /train command in the "Effect applied:" entry
  • Now also supports 1.17.1 and 1.18.2, alongside 1.19.2 - 1.19.4
1.3.0+mc1.19.3Релиз1.19.3 · 10 февраля 2024 г.
  • Added /mtr generatePath <Depot Name>, which refreshes the path of a depot (Same as /mtrpath refresh, but is the preferred way to attempt retaining compatibility with MTR 4)
  • Added /mtr clearTrains <Depot Name>, which clears all the train from the specified depot.
  • A list of effects applied to the train (e.g. Halt Dwell) now shows up in the /train command in the "Effect applied:" entry
  • Now also supports 1.17.1 and 1.18.2, alongside 1.19.2 - 1.19.4
1.3.0+mc1.19.2Релиз1.19, 1.19.1, 1.19.2 · 10 февраля 2024 г.
  • Added /mtr generatePath <Depot Name>, which refreshes the path of a depot (Same as /mtrpath refresh, but is the preferred way to attempt retaining compatibility with MTR 4)
  • Added /mtr clearTrains <Depot Name>, which clears all the train from the specified depot.
  • A list of effects applied to the train (e.g. Halt Dwell) now shows up in the /train command in the "Effect applied:" entry
  • Now also supports 1.17.1 and 1.18.2, alongside 1.19.2 - 1.19.4
1.3.0+mc1.18.2Релиз1.18, 1.18.1, 1.18.2 · 10 февраля 2024 г.
  • Added /mtr generatePath <Depot Name>, which refreshes the path of a depot (Same as /mtrpath refresh, but is the preferred way to attempt retaining compatibility with MTR 4)
  • Added /mtr clearTrains <Depot Name>, which clears all the train from the specified depot.
  • A list of effects applied to the train (e.g. Halt Dwell) now shows up in the /train command in the "Effect applied:" entry
  • Now also supports 1.17.1 and 1.18.2, alongside 1.19.2 - 1.19.4
1.3.0+mc1.17.1Релиз1.17, 1.17.1 · 10 февраля 2024 г.
  • Added /mtr generatePath <Depot Name>, which refreshes the path of a depot (Same as /mtrpath refresh, but is the preferred way to attempt retaining compatibility with MTR 4)
  • Added /mtr clearTrains <Depot Name>, which clears all the train from the specified depot.
  • A list of effects applied to the train (e.g. Halt Dwell) now shows up in the /train command in the "Effect applied:" entry
  • Now also supports 1.17.1 and 1.18.2, alongside 1.19.2 - 1.19.4
1.2.0+mc1.19.4Релиз1.19.4 · 13 декабря 2023 г.

Config

  • forceKillMTRPathThread has been removed as TransitManager will no longer attempt to force kill path generation thread automatically. However the /mtrpath abort commands will now always forcibly kill the path generation thread.
  • shearPSDOpLevel is added, which allows server owner to define the op level required to use the shear on the MTR Platform Screen Doors.

Commands

  • /whattrain has been removed, please use /train from now on. (They do the same thing)
  • /whatplatform is changed to /platform
  • /train collision disable/enable is changed to /train toggleCollision
  • Time unit will now auto adapt (e.g. 72s -> 1m 12s) when using TransitManager commands.
  • /mtrpath status now also returns the time elapsed since the path generation was started.
  • /warpstn and /warpdepot will now find the nearest non-suffoctable area available instead of getting you stuck in the middle of the terrain
  • Add /train halt dwell which pauses the dwell timer entirely (So train never departs) (Re-run to disable)
  • Add /train halt speed which literally stops the train (Re-run to disable)
  • /train jump now always works even when the train is stopped in a platform or there's a train in-front, this is previously not the case
  • /train jump now works more reliably

For more detail, please check the updated README.md or the mod description.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…