Source-checkedBuilding & decoration

hsrails

by ergor · for Minecraft

High Speed Rails to make minecarts worth building

5.8KDownloads
17 mo agoLast updated
Spigot · PaperLoaders
1.21Latest game version

About hsrails

From SpigotMC

High Speed Rails to make minecarts worth building

High Speed Rails
A spigot/bukkit plugin to make minecarts worth building.

Place a powered rail on a boost block ( redstone block by default) to build high-speed rail. Place on any other block to get a regular powered rail.

[​IMG]

High-speed rails are by default 4x faster than regular powered rails, ie. 32 m/s, or 115 km/h. This is as fast as rocket powered elytra flight.

The high-speed rail multiplier can be temporarily changed with the /hsrails command, or permanently changed in the config. The boost block is also configurable. See Usage section for commands and config options.

To help cope with the higher speeds, there is also a hard brake block available ( soul sand by default). If you place an unpowered power rail on a hard brake block, the cart will decelerate faster than default. See Usage section for configuration options.

Note: please read the Design sections on how to keep your carts from derailing at high speeds.

Note: there seems to be a game limitation for speed but not momentum, and it seems to be around multiplier of 4x. Multipliers higher than 4x usually result in increased momentum, but not higher top speeds. That means the carts will coast for longer, even though they appear to have the same top speed.

Note: the plugin is compatible with the Improved Minecarts experiment. It will simply apply the multiplier on top of the minecartMaxSpeed gamerule.

Usage

Commands
Use /hsrails <multiplier> to tweak how fast high-speed rails are. Multiplier must be between 1 and 8.

Example: set multiplier to 4

Code (Text):
/hsrails 4
Config
This is the default HsRails/config.yml:
Code (Text):
speedMultiplier: 4.0
boostBlock: "minecraft:redstone_block"
hardBrakeMultiplier: 8.0
hardBrakeBlock: "minecraft:soul_sand"
Allowed values are:
  • speedMultiplier:
    • >= 1
    • <= 8
  • boostBlock:
    • Namespaced block. Look up the ID name in the id list and prefix it with minecraft:. For example, type in "minecraft:stone" for stone block as boost block.
    • If you type in "any", every powered rail will be a high speed powered rail.
  • hardBrakeMultiplier:
    • >= 1
  • hardBrakeBlock:
    • Any namespaced block (see info on boostBlock for details). any is not allowed here.
Design considerations
You must be aware of a couple of things while building high-speed tracks:
  • Acceleration is not instantaneous.
  • Entering turns at high speed will derail you.
  • Entering/exiting slopes at high speed will derail you.
  • While traveling at high speeds, a regular powered rail will slow you down.
Derailing at high speeds is a limitation of the game itself, and is probably the reason why rails are so slow in vanilla Minecraft. Thus, when designing your high-speed tracks, you will have to design them like real high-speed train tracks: long stretches with smooth turns.

Design guidelines
These are my recommendations for building efficient high-speed tracks:
  • Allow room for acceleration: it takes a while to reach top speed. Place several high-speed rail sections close together at the start of your track.
  • Minimize number of turns: you only need at most one turn to get to any destination. An optimal track looks like an L from above.
  • Minimize number of slopes: build tunnels, bridges, etc. to stay on the same level.
  • Before turns and slopes, put one (or sometimes a couple of) regular powered rails to slow down and avoid derailment.
  • After turns and slopes, allow room for acceleration again.
  • To maintain top speed in high speed state, place a high speed rail every 30 blocks (ie. 1 powered rail + 29 iron rails; rinse and repeat)
To maintain high speeds you must of course build your tracks out of high-speed rails, because regular powered rails will slow you down. Only mix in regular powered rails in turns and slopes as mentioned above.

If you want to stop a high speed cart quickly, for example if you have stations/stops on your route, you can use hard brake blocks with unpowered powered rails.

Credits
Adapted from varesa's Minecart Speedplus.

Thanks to:
  • LordNinka for discovering the effects of speed vs. momentum at high multipliers.
  • TheWallaceman105 for bringing forth the idea of hard brake blocks and helping during development by testing.
  • Janicki92 for key insights that finally resolved the infinite momentum bug.
  • GoodrichDev for testing on Folia.
  • gavinft for submitting code to support the new minecartMaxSpeed gamerule.

Highlights

From source data

Game versions

Supports 9 Minecraft versions, the newest being 1.21.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

hsrails on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.5.0, released 2025-06-17

Game versions by loader

LoaderGame versionsNewest
Paper1.14 to 1.21 (9 versions)1.21
Spigot1.14 to 1.21 (9 versions)1.21

From 10 recorded builds of hsrails.

Recent builds

BuildReleasedGame versionsLoaders
1.5.02025-06-171.14 to 1.21 (9 versions)Spigot, Paper
1.4.12024-10-29n/aSpigot, Paper
1.4.02024-10-27n/aSpigot, Paper
1.3.12023-10-25n/aSpigot, Paper
1.3.02023-02-02n/aSpigot, Paper
1.2.02021-10-07n/aSpigot, Paper

Run hsrails on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Plugins”

Building & decoration

Blocks, furniture, decorations and building tools.

Runs on your server

From source side support

SpigotMC lists hsrails as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.21 and 8 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓Authorergor, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

hsrails, answered

Generated from the mod’s own source data.

Do my players need to install hsrails?

SpigotMC lists hsrails as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. hsrails is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run hsrails on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add hsrails in one click.