Skip to content
Danae Dekker edited this page Aug 12, 2024 · 7 revisions

This page hopefully answers common questions you would have about GregoRail and its usage.

Can you add signs that trigger certain features of the plugin?

Most likely not soon. The commands in the plugin are primarily designed to use with command bocks in creative worlds, and signs would only add so much to the versatility of command blocks.

Can you add a command to set the state of powered rails?

No. Unfortunately manipulating the state of redstone-powered blocks in Spigot is harder than it probably should be. The state of powered rails can be changed in code using the Powered::setPowered() function, but this would cause an invalid state in the Minecraft world if the block isn't actually powered by another block, so Minecraft resets the state change back to a valid state. Using NBT editors is also not possible, because block state is separate from NBT data. Therefore there are no /grail power and /grail powerif commands present in the plugin.

As an alternative we suggest using commands similar to /grail block redstone_block <location> and /grail blockif <code> redstone_block <location> to set the block below a powered rail to a redstone block to provide power to the rail.

Can you add (insert feature)?

Probably. 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.

GregoRail has been developed by a single person in her spare time, and is primarily used on her own server, so generally only features that either are small and easy, or benefit from use on bigger rail networks will be implemented. If you want to make sure your feature will get added more likely, consider making a pull request with your own feature code.

Why is the plugin called GregoRail?

On the Arloheim creative world building server (in Dutch) the company GregoRail Railroad Innovations is in charge of developing new techniques of railroad transportation. The plugin has been made as a replacement from using cumbersome /data merge entity and /setblock commands in command blocks, into a sophisticated solution for routing minecarts on the extensive rail network in the world.

Clone this wiki locally