HomeJavaModsatrain
ModsJava

atrain

atrain is a Minecraft Paper 1.21 station plugin with BlueMap integration, A* instant route pathfinding, anti-overlap, auto coupling minecarts and auto…

⬇ Download on Modrinth

Build a rail experience on your Minecraft server with station names, travel direction, and arrival and departure feel. No commands to memorize. Sneak and right-click a gold block to create and edit stations. Minecarts automatically couple into trains, cruise at full speed on straights, slow on curves, and depart together after a full consist stops at the platform.

atrain is a Minecraft Paper train plugin and minecart station plugin for servers that need zero command station setup, auto coupling minecart trains, and optional station auto stop. Build gold block stations on rails with sneak right click, ideal for railway RPG, city survival, metro, and scenic line servers.


Why atrain?

Want vanilla minecart physics back? Vanilla minecarts are ignored by default, or just set train_control to false.


Requirements

Item Version
Server Paper 1.21+
Java 21 or 25+

Quick Start

  1. Download atrain-x.x.x.jar and place it in plugins/ (Install BlueMap if desired)
  2. Restart the server
  3. Place rails on top of a gold block → sneak + right-click to open the station GUI
  4. Set station name and direction; optionally place a diamond block under the rails as a speed block
  5. Place minecarts on the track — adjacent carts auto-couple, full speed on straights, auto slowdown on curves
  6. (Optional) Enable auto_stop in config.yml for full-consist station stops

Features

Station info (gold block)

Web Map Integration (BlueMap)

Coupled trains & Anti-overlap

Route recording & Guided transit

Speed blocks & Hang rail


Permissions (OP by default)

Permission Description
atrain.admin Full admin access
atrain.gui Open /train admin GUI
atrain.station.edit Sneak + right-click to edit gold block stations
atrain.speed.edit Sneak + right-click to edit speed diamond blocks
atrain.cart.spawn Right-click station to spawn a minecart
atrain.block.break Break registered stations and speed blocks

Use LuckPerms or similar to grant permissions to specific groups.


Commands

Command Description
/train / /train gui Admin GUI
/train stops Station list
/train reload Reload config
/lang <locale> Switch language (zh_TW, zh_CN, en_US, ja_JP)

在 Minecraft 伺服器裡打造有站名、方向、進出站感的鐵道體驗,不用背指令,蹲下右鍵金磚就能建站、調整站點資訊;礦車還能自動連結成列車,直線滿速、彎道減速,整列進站停靠後自動發車。

atrain 是一款專為 Minecraft Paper 伺服器設計的火車插件與礦車站點插件。如果你正在找不用指令就能建站、礦車自動連結成列車、進出站自動停車的鐵道系統,atrain 用金磚站點加鐵軌即可完成設定,適合鐵道 RPG、城市生存、捷運模擬與觀光路線伺服器。


為什麼選 atrain?

想回歸原版礦車物理?原版礦車不受插件接管,或關掉 train_control 即可。


環境需求

項目 版本
伺服器 Paper 1.21+
Java 21或25+

快速開始

  1. 下載 atrain-x.x.x.jar,放入 plugins/ 資料夾(如有 BlueMap 可一併安裝)
  2. 重啟伺服器
  3. 金磚上方鋪鐵軌 → 蹲下 + 右鍵 開啟站點 GUI
  4. 設定站名、方向;旁邊可放鑽石塊作調速方塊(鐵軌正下方)
  5. 放礦車上軌——相鄰礦車會自動連結,直線跑滿速、彎道自動減速
  6. (可選)在 config.yml 開啟 auto_stop,整列進站自動停靠

核心功能一覽

站點資訊(金磚)

線上地圖整合(BlueMap)

連結列車與防重疊

軌道錄製與導引

調速方塊與懸浮軌道


權限(預設僅 OP)

權限 說明
atrain.admin 管理員全權
atrain.gui 開啟 /train 管理介面
atrain.station.edit 蹲下右鍵編輯金磚站點
atrain.speed.edit 蹲下右鍵編輯調速鑽石塊
atrain.cart.spawn 站點右鍵召喚礦車
atrain.block.break 拆除已註冊站點與調速方塊

可用 LuckPerms 等插件開放給特定身分組。


常用指令

指令 說明
/train / /train gui 管理介面
/train stops 站點列表
/train reload 重新載入設定
/lang <語言> 切換語言(zh_TW、zh_CN、en_US、ja_JP)

相關連結

Verified by MCModsHub

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

Explore more