
RegexRails
Add redstone logic for your detector rails. Compare minecart names, change them, and add to them.
- Загрузки
- 161
- Подписчики
- 3
- Обновлён
- 6 марта 2025 г.
- Лицензия
- MIT
Опубликован 19 февраля 2025 г.
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
- Three operation modes: Compare, Set, and Append
- Multiple comparison options: equals, contains, regex
- Real-time minecart detection and modification
- Redstone-controlled name modifications
- Simple sign-based configuration
Installation
- Place the plugin jar file in your Spigot (Or any compatible) server's plugin directory
- 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.
Ченджлог
1.0.10Релиз1.21.2, 1.21.3, 1.21.4 · 6 марта 2025 г.
Can now use lecturns in place of signs.
Lecturns work the same as signs, but only takes the input from the current page.
1.0.9Релиз1.21.2, 1.21.3, 1.21.4 · 23 февраля 2025 г.
- Add not (!) operator to equals and contains.
1.0.8Релиз1.21.2, 1.21.3, 1.21.4 · 21 февраля 2025 г.
- Add rename cart command
1.0.7Релиз1.21.2, 1.21.3, 1.21.4 · 21 февраля 2025 г.
- Use original sign value in regex mode.
Previously, the sign would compare stuff case insensitive. Now it only does that on equals and contains.
1.0.6Релиз1.21.2, 1.21.3, 1.21.4 · 21 февраля 2025 г.
- Minecarts don't cost anything to rename in an anvil now.
- Remove console log spam.
1.0.5Релиз1.21.2, 1.21.3, 1.21.4 · 20 февраля 2025 г.
- Check directly North, South, East, and West for redstone.
- Ignore detector rails as redstone input.
1.0.4Релиз1.21.2, 1.21.3, 1.21.4 · 20 февраля 2025 г.
- Remove whitespace during mode check
1.0.3Релиз1.21.2, 1.21.3, 1.21.4 · 20 февраля 2025 г.
Initial Release
Комментарии
Загружаем…