HomeJavaModsRegexRails
RegexRails
RegexRails — screenshot 1RegexRails — screenshot 2RegexRails — screenshot 3

RegexRails

A Minecraft Paper plugin that enables smart minecart management through configurable signs and detector rails. Control minecart flow based on their display names using powerful comparison modes and modification options.

Features

Installation

  1. Place the plugin jar file in your Spigot (Or any compatible) server's plugin directory
  2. Restart the server or run /reload confirm

Usage Guide

Compare Mode

Configure your sign with:

Line 1: Compare
Line 2: equals/contains/regex
Line 3: [comparison value]

The ! sign inverts the output of the comparison. For example, !equals will activate the detector rail when the minecart's name does not match the comparison value.

Example:
Line 1: Compare
Line 2: equals
Line 3: Coal Cart

The detector rail will activate when a minecart named exactly "Coal Cart" passes over it.

Set Mode

Configure your sign with:

Line 1: Set
Line 2: New Name
Line 3: [empty]
Example:
Line 1: Set
Line 2: Iron Ore Cart
Line 3:

Any minecart passing over the detector rail while powered by redstone will have its display name changed to "Iron Ore Cart".

Append Mode

Configure your sign with:

Line 1: Append
Line 2: Text to append
Line 3: [empty]
Example:
Line 1: Append
Line 2: [Full]
Line 3:

Minecarts passing over the detector rail while powered by redstone will have "[Full]" added to their current display name.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more