GregoRail is a Spigot plugin containing powerful railroad management tools for Minecraft. Requires Spigot 1.20, tested on 1.20.1, 1.20.2, 1.20.4, and 1.21. See the wiki on GitHub for more information about GregoRail, installation instructions, and the supported commands.
Features
GregoRail provides useful commands that are meant to be used in a creative world to create a rail-based public transport system. All of the command can be used in command blocks to create your own rail route network that acts accordingly depending on which lines run on the rail. At its core, GregoRail uses a range of commands to manage codes for minecarts and change the world around it based on those codes.
The features of the plugin include:
- Assign codes to minecarts to identify them in your rail network. You can also define user-friendly aliases/display names for the codes using chat formatting codes, which will be used as names for the minecarts.
- Change the shape of rails, either unconditionally or dependent of the code of a minecart. Wildcard queries exist to act on multiple codes.
- Change the material of blocks, again either unconditionally or dependent of the code of a minecart, which is useful for powering rails on demand or custom rail signals.
- Change the speed of minecarts using commands, also optionally dependent on the code of a minecart.
- Automatically kill living entities in a specified range around a player when they are riding a minecart, of which the behaviour can be customized.
- Execute webhooks based on what's happening to carts with a code and changed blocks and rails.
Installation
- Download the latest release of GregoRail from the GitHub repository and place it in the plugins/ directory of your Spigot server. No additional plugns are required to run GregoRail, but this is subject to change if future features require advanced code to be implemented.
- Run the server and tweak the configuration in plugins/GregoRail/config.yml if necessary. To apply the changes in the configuration, either use the /gregorail reload command or restart the server.
- All set! Now you can use all useful commands and event handlers that GregoRail has to offer.
Issues and feature requests
GregoRail is always open for improvement! Should you encounter a bug while using the plugin or have a feature request, please create an issue or, if you have some plugin coding experience, make a pull request. Note that feature requests are judged on a case-by-case basis and are not guaranteed to be implemented immediately or at all.