
Deploy Minecraft Java Server (Paper) with plugins
Paper Minecraft Java server with plugin support and a persistent world
Minecraft Paper Server
Just deployed
/data
Deploy and Host Minecraft Java Server (Paper) with plugins on Railway
Run your own Paper Minecraft Java server on Railway and play with friends from the normal Minecraft Java Edition multiplayer menu. The world, configs and plugins are kept on a volume, the server saves the world before every restart, and you choose the Minecraft version, memory, operators and whitelist from the service Variables.
About Hosting Minecraft Java Server (Paper) with plugins
The template runs the open source itzg/minecraft-server:latest image (https://github.com/itzg/docker-minecraft-server) as one Railway service. The Minecraft server listens on port 25565, and Railway's TCP proxy gives it a public address that players connect to. A volume is mounted at /data for the world and all server files, so nothing is lost on restarts and redeploys, and the server gets time to save before Railway stops it.
Common Use Cases
- A private survival server for friends and family, online around the clock
- Running Paper plugins such as EssentialsX, LuckPerms or WorldEdit
- Testing plugins and server settings without keeping your own PC on
Dependencies for Minecraft Java Server (Paper) with plugins Hosting
- No other services: one container plus a volume
- Minecraft on PC, using the multiplayer or join by IP menu
- A Railway plan with enough memory: 2 GB or more is recommended
Implementation Details
Before the first start, set EULA to TRUE to accept the Minecraft EULA. After the deploy finishes, open the service, go to Settings, Networking and copy the TCP proxy address, for example something.proxy.rlwy.net:12345. In Minecraft, add a server with that address and port and join. The first start downloads the server and creates the world, which takes a minute or two; follow it in the deploy logs.
Drop Bukkit, Spigot or Paper plugin jars into /data/plugins, or let the image download them for you: set PLUGINS to a comma separated list of download URLs, or MODRINTH_PROJECTS to Modrinth project slugs.
The Java heap is sized automatically from the service memory, so the server fits any plan. For more players or heavy modpacks, give the service more memory (2 GB or more); set MEMORY only if you want a fixed heap.
Why Deploy Minecraft Java Server (Paper) with plugins on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Minecraft Java Server (Paper) with plugins on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Minecraft Paper Server
itzg/minecraft-server:latestEULA
Type TRUE to accept the Minecraft EULA (https://aka.ms/MinecraftEULA). The server does not start until you do.
