All Mods Resource Packs Data Packs Shaders Modpacks Plugins
MTR: TransitManager

MTR: TransitManager

by AmberFrost • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install MTR: TransitManager (Mod)

MTR: TransitManager by AmberFrost is verified for Fabric across Minecraft versions 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 2.0.0-beta.2+mc1.20.4, file size: 319 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded MTR: TransitManager file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.4
Fabric
4mo ago 1
1.20.4
Fabric
5mo ago 1
1.19.4
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.2
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.2
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.2
Fabric
last yr. 1
## TransitManager v2.0.0-beta.2 for MTR 4.0.5 has been released

### Change: More verbose train information
When using the /train command:
  • Rail Progress for train is now shown
  • Distance to Stop is now shown
  • Players blocking the train doors are now also listed separately
  • Added player count for "Riding players"

### New: More dwell control
  • /train skipDwell has been renamed to /train dwell skip
  • Added /train dwell reset (Reset elapsed dwell time)
  • Added /train dwell set <Elapsed time in milliseconds>

### New: Transport Simulation Core commands
  • Added: /tsc command
  • Provide overview for TSC (MTR 4's backend)
  • /tsc ping to measure response time from TSC (Max ~50ms is expected for normally)
  • /tsc freeze to pause/unpause MTR simulation in the current dimension (Debug only)

### New: /train jump
The /train jump command from MTR 3 transit manager is now brought back.
You may now also do /train jump distance <distance meter> to move the train forward/backward in a fine-grained manner.
## 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.3.1+mc1.19.4 by AmberFrost on Jan 08, 2025
Download
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.3.0+mc1.19.4 by AmberFrost on Feb 10, 2024
Download
  • 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.3.0+mc1.19.3 by AmberFrost on Feb 10, 2024
Download
  • 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.3.0+mc1.19.2 by AmberFrost on Feb 10, 2024
Download
  • 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.3.0+mc1.18.2 by AmberFrost on Feb 10, 2024
Download
  • 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.3.0+mc1.17.1 by AmberFrost on Feb 10, 2024
Download
  • 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.2.0+mc1.19.4 by AmberFrost on Dec 13, 2023
Download
## 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.
[1.2.0+mc1.19.3] 1.2.0+mc1.19.3 by AmberFrost on Dec 13, 2023
Download
## 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.
[1.2.0+mc1.19.2] 1.2.0+mc1.19.2 by AmberFrost on Dec 13, 2023
Download
## 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.
[1.1.0+mc1.19.4] 1.1.0+mc1.19.4 by AmberFrost on Jun 10, 2023
Download
  • TransitManager now supports 1.19.2 - 1.19.4
  • All command that manipulates the nearest train has been moved to the /train subcommand, changes as follows:
  • /deployTrain -> /train deploy
  • /trainCollision -> /train collision

  • /manualMode has been removed as it does not work on multiplayer servers.
  • Added /warpdepot, this works the same way as /warpstn except it warps you to a depot.
  • Added /train board, this allows you to get onboard the nearest train even without a driver key (And on trains that are auto)
  • Added /train clear, this clears the siding of the nearest train.
  • Added /train ejectAllPassengers, this ejects all passengers from the nearest train
  • Added /train jump, this allows you to teleport the nearest train to to the track infront/behind/next platform/siding
  • Added /train skipDwell, this skips the dwell time of the nearest train.
  • Added /train as an alias of /whattrain
  • /whattrain now also display the train destinated station/platform and remaining dwell time (If train is stopped)
  • In /whattrain, siding and depot has been combined into 1 field, you may also now click on the field to teleport to the siding.
  • In the "Train running via this route" in /whatplatform, it now also indicates if a route is hidden.

For more detail, you should check the updated README or mod description.
[1.1.0+mc1.19.3] 1.1.0+mc1.19.3 by AmberFrost on Jun 10, 2023
Download
  • TransitManager now supports 1.19.2 - 1.19.4
  • All command that manipulates the nearest train has been moved to the /train subcommand, changes as follows:
  • /deployTrain -> /train deploy
  • /trainCollision -> /train collision

  • /manualMode has been removed as it does not work on multiplayer servers.
  • Added /warpdepot, this works the same way as /warpstn except it warps you to a depot.
  • Added /train board, this allows you to get onboard the nearest train even without a driver key (And on trains that are auto)
  • Added /train clear, this clears the siding of the nearest train.
  • Added /train ejectAllPassengers, this ejects all passengers from the nearest train
  • Added /train jump, this allows you to teleport the nearest train to to the track infront/behind/next platform/siding
  • Added /train skipDwell, this skips the dwell time of the nearest train.
  • Added /train as an alias of /whattrain
  • /whattrain now also display the train destinated station/platform and remaining dwell time (If train is stopped)
  • In /whattrain, siding and depot has been combined into 1 field, you may also now click on the field to teleport to the siding.
  • In the "Train running via this route" in /whatplatform, it now also indicates if a route is hidden.

For more detail, you should check the updated README or mod description.
[1.1.0+mc1.19.2] 1.1.0+mc1.19.2 by AmberFrost on Jun 10, 2023
Download
  • TransitManager now supports 1.19.2 - 1.19.4
  • All command that manipulates the nearest train has been moved to the /train subcommand, changes as follows:
  • /deployTrain -> /train deploy
  • /trainCollision -> /train collision

  • /manualMode has been removed as it does not work on multiplayer servers.
  • Added /warpdepot, this works the same way as /warpstn except it warps you to a depot.
  • Added /train board, this allows you to get onboard the nearest train even without a driver key (And on trains that are auto)
  • Added /train clear, this clears the siding of the nearest train.
  • Added /train ejectAllPassengers, this ejects all passengers from the nearest train
  • Added /train jump, this allows you to teleport the nearest train to to the track infront/behind/next platform/siding
  • Added /train skipDwell, this skips the dwell time of the nearest train.
  • Added /train as an alias of /whattrain
  • /whattrain now also display the train destinated station/platform and remaining dwell time (If train is stopped)
  • In /whattrain, siding and depot has been combined into 1 field, you may also now click on the field to teleport to the siding.
  • In the "Train running via this route" in /whatplatform, it now also indicates if a route is hidden.

For more detail, you should check the updated README or mod description.
[1.19.3-1.0.0] 1.0.0-1.19.3 by AmberFrost on May 06, 2023
Download
Initial release
MTR: TransitManager Icon
Download MTR: TransitManager
Select game version
Select platform