Want to play with friends in your own Minecraft world? You’ll need your own server. In this guide, you’ll learn about the different options, how they compare, and how to create your Minecraft server step by step, from choosing an edition to connecting for the first time with your friends.
There are three main ways to create a Minecraft server:
| Self-hosted (your own PC) | Free service | Rented game server | |
|---|---|---|---|
| Cost | Electricity and your own hardware | Free | Rental fee for your plan |
| Availability | Only while your PC is running | Often only while someone is playing; shuts down when inactive | Around the clock |
| Setup | Java, server software, EULA, port forwarding in your router | A few clicks, usually a queue during startup | A few clicks, no router configuration |
| Performance | Depends on your PC and upload speed | Shared, limited resources | Dedicated resources included in your plan |
| Mods and plugins | Unrestricted | Often limited | Unrestricted, with variants and modpacks available in a few clicks |
You can also run a server on your own computer. For the Java Edition, download the official server software from Mojang and make sure you have a Java version that matches your Minecraft version. When you start the server for the first time, it creates the eula.txt file. Set eula=true in that file to accept the license terms. To let friends join from outside your network, forward port 25565 (TCP) to your PC in your router. The Bedrock Edition has its own server software and uses port 19132 (UDP) by default.
This option works well for short sessions. Keep in mind, though, that the server is online only while your PC is running, your home IP address is visible to everyone playing, and the game and server share your computer’s resources.
Free server providers are a good way to get started and try things out. However, their servers usually don’t run continuously, may take time to start, and shut down when inactive. Performance, storage, and mod selection are often limited.
A rented game server runs around the clock in a data center, with dedicated resources and DDoS protection. You don’t need to change any router settings, and your home IP address stays private. The next steps show you how to do this with ZAP-Hosting.
Before creating a server, decide which edition you need. Java and Bedrock servers aren’t directly compatible:
- Java Edition: For Windows, macOS, and Linux. The right choice for mods, plugins, and modpacks.
- Bedrock Edition: For consoles, smartphones, tablets, and the Windows version from the Microsoft Store.
If your friends play on different devices, find out more in the Java / Bedrock comparison. With GeyserMC, Bedrock players can also join a Java server. See Java-Bedrock crossplay with GeyserMC.
- Open Minecraft game servers in the shop. For the Bedrock Edition, select the game Minecraft Bedrock Edition.
- Choose a variant or modpack, such as Vanilla, Paper, or a ready-made modpack. You can change this at any time.
- Choose a plan or put together your own configuration. The shop provides a RAM recommendation for the selected variant or modpack. Every plan includes unlimited slots, and the price is based on the plan, not the number of players.
- Choose a location as close as possible to you and your players. You can also set a server name now if you like.
- Review your order at checkout and complete it by clicking Order with obligation to pay.
Not sure how much RAM you need? The Minecraft RAM calculator estimates your requirements based on the number of players, variant, and mods.
How to place your first order with ZAP-Hosting also explains the general ordering process.
After you place your order, your server is set up automatically and appears under My services. Open it to access the dashboard. In Overview, you’ll see your server’s status, IP address and port, as well as its current resource usage. If the server is stopped, you can start it here.
You can follow the startup process live in the Console. Once the server has finished loading, players can join. For a tour of all the sections, see Minecraft: Dashboard overview.
Under Games & variants, choose what to run on your server. In the Install panel, first select the Installation type for Minecraft: a ready-made modpack or a server type. Then, if needed, choose the Version and confirm by clicking Install & activate.
- Vanilla: Unmodified Minecraft, ideal for getting started.
- Paper or Spigot: For plugins such as permission management, minigames, or protected areas. Players can still connect using the regular Minecraft client.
- Forge or Fabric: For mods. Players need the same mods and mod loader installed on their computer.
- Modpacks: Ready-made collections of mods that you can install with a click.
Each installed variant keeps its own data folder. If you switch back, your world will still be there. Find all the details in Switch games and manage variants. How to install plugins is explained in Install and Manage Plugins. For information about mods and modpacks, see Install mods / modpacks.
The server and players must use the same Minecraft version. It’s best to create a backup before changing the version, as switching to an older version can damage a world.
- Copy your server’s IP address and port from Overview. Alternatively, use the free address in the DNS section, which is easier to remember.
- Start Minecraft and open Multiplayer.
- Click Add Server, enter a name, and enter the address.
- Share the address with your friends so they can connect in the same way.
For detailed instructions and solutions to common connection issues, see Minecraft: Connect to the server. For the Bedrock Edition, including on consoles, see Minecraft Bedrock: Connect to the server.
To prevent just anyone from joining, enable the whitelist. Give yourself admin permissions with OP permissions.
Under Configuration, you can change the most important server.properties settings using easy-to-understand form fields, such as the game mode, difficulty, PvP, or the message shown in the server browser (MOTD). Restart the server after saving for the changes to take effect.
- Your own world or seed: Add your own world or Custom world seed
- Server icon: Add or change the server icon
- Performance: Optimize server performance
- All settings in detail: Server configuration settings
Your Minecraft server is set up, runs around the clock, and is ready for your friends to join. If you want to try plugins, mods, or a completely different modpack later, you can switch at any time under Games & variants. Don’t have a server yet? You can rent a Minecraft server here.