Minecraft on Railway
A Minecraft Java server with backups and a web console, on Railway. Vanilla, Paper, Fabric, Forge or modpacks.
Minecraft: Java Edition can be self-hosted as a dedicated server, so you and your friends or community play on a world you control. A server is a single Java process that needs a fixed amount of memory, a reachable TCP port and durable storage for the world.
It supports vanilla, Paper with plugins, Fabric, Forge and NeoForge, and Modrinth or CurseForge modpacks. Typical uses are a private survival or creative server, a small plugin-based community server and a test server for plugin or datapack development.
The server software is downloaded at runtime from Mojang and the server-type projects. You must accept the Minecraft EULA. Bedrock Edition clients are not supported.
What Minecraft can do
- Vanilla, Paper, Fabric, Forge, NeoForge and modpack support
- Persistent volume for the world
- Scheduled compressed backups to a Railway Bucket
- Password-protected web console for commands
- TCP proxy address for players
- Restore from the latest or a named backup
What people use it for
- Private survival or creative server for friends and family
- Paper server with plugins for a small community
- Modded play with Modrinth or CurseForge modpacks
- Test server for plugin or datapack development
Videos
Running Minecraft on Railway
The Railway template deploys the Minecraft server (built on the pinned itzg/minecraft-server image), a Caddy web console behind basic auth, and a Railway Bucket for world backups. Players connect through a Railway TCP proxy address. The world lives on a volume, and backups run every 6 hours by default with 7 days of retention. The default is Paper with a 3 GB heap, so cost is driven mainly by the memory and CPU the server uses, plus volume and bucket storage.
Minecraft templates on Railway
Tracklayer templates are listed first. Other Minecraft templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about Minecraft
Do I need to accept the EULA?
Yes. Read the Minecraft EULA and set EULA to TRUE on the Minecraft service before the server will start.
Can Bedrock players join?
No. The template supports Java Edition clients only, because Railway does not provide UDP.
How do players connect?
Copy the TCP proxy address from the Minecraft service's Networking settings and add it as host:port in the Java client.
How are backups handled?
A scheduler backs up the world to a Railway Bucket every 6 hours by default and keeps 7 days. To restore, set RESTORE_BACKUP to latest or a file name and redeploy.
How much memory should I give modpacks?
The template suggests raising MEMORY to 6G to 8G for modpacks, within your Railway plan limits. Keep one replica, since a world runs in one process.
Guides
Similar apps
Tracklayer maintains the templates marked as such; Minecraft is a trademark of its owners and this site is not affiliated with them.