How to host a Minecraft Java server
Setting up a Minecraft Java server is mostly three choices: the software, the size, and who can join. Here is the whole path, from picking the type to your friends connecting.
1. Pick the software
This is the decision that matters most, because a server runs one kind of software and mods and plugins do not mix.
| Plugins | Mods | |
|---|---|---|
| Server type | Paper, Spigot or Purpur | Fabric or Forge |
| Do players install anything? | No, they join with plain Minecraft | Usually yes, the same mods or a matching modpack |
| Good for | Admin tools, permissions, homes and warps, protection, minigames | New blocks, items, dimensions and big gameplay changes |
If you only want friends to join with normal Minecraft, plain Vanilla is the simplest. If you want a few useful extras, pick Paper with plugins. If you want a modded game, pick Fabric or Forge, or install a ready-made modpack from Modrinth. You can change the type later from the Version tab, and your world stays. Back up first. The step-by-step is in how to add mods and plugins.
2. Pick the size
RAM is the setting people get wrong most often, and more is not always faster. Start from the RAM guide or the Minecraft RAM calculator. On PingByte you set RAM, vCPU and storage yourself and pay for only that, and you can resize later.
3. Create the server
- Open the store and choose Minecraft.
- Pick a size, then set the server name, the software and the Minecraft version. LATEST installs the newest release; mods and plugins usually need a specific version.
- Review and pay. The server starts as soon as the payment clears.
4. Let your friends join
- On your server's Overview tab, copy the address and port. It looks like
play.pingbyte.net:PORT, and the port is different for every server. - In Minecraft Java Edition, go to Multiplayer, then Add Server, and paste the address with the port.
- Wait for the console to say the server has finished starting. A server that is still loading refuses connections.
5. Keep it private and manage players
Run these from the console on the Overview tab, without the leading slash:
whitelist onandwhitelist add PlayerNamelet only the people you choose join.op PlayerNamegives admin powers, so only op people you would trust with the whole server.ban PlayerName reasonremoves someone for good.
More detail is in managing players: whitelist, op and bans.
6. Back it up
Every server has manual backups and scheduled backups and restarts, plus a file manager and SFTP for your world files. Make a backup before changing the software type or the version.
Hosting at home instead?
You can run a Minecraft server on your own PC. The trade-offs are that your PC has to stay on, the port has to be forwarded on your router, some internet providers share one public address between customers, and your game and the server compete for the same hardware. Renting removes those problems; it does not make a badly sized server fast, so size it properly first.
If something goes wrong
- Can't connect to your Minecraft server? What each error means.
- Minecraft server lag and what to change first.
- Server won't start or keeps crashing.
Minecraft is a trademark of Mojang Synergies AB. PingByte is not affiliated with or endorsed by Mojang or Microsoft.
Want a Minecraft server without the setup?
See Minecraft hosting
PingByte