EN · $ USD
Minecraft Server Guides

How to Set Up a Minecraft Server: Step-by-Step Guide

7 min read Updated: OyunBulut technical team

In short

The easiest way to set up a Minecraft server is to rent a ready-made game server plan. After ordering, you pick the server software (Paper for most people) and version in the web panel, set eula=true in eula.txt after the first start, adjust the basics in server.properties, give yourself OP from the console and share the IP:port address with your friends. The whole process takes about 15 minutes.

In this guide
  1. Before you start: Java or Bedrock?
  2. Step 1: Pick a plan that fits your player count
  3. Step 2: Order and automatic setup
  4. Step 3: Choose the server software and version
  5. Step 4: First start and accepting the EULA
  6. Step 5: Basic settings in server.properties
  7. Step 6: Give yourself operator (OP) permissions
  8. Step 7: Invite your friends
  9. Step 8: Set game rules and take your first backup
  10. The most common mistakes in the first 15 minutes
  11. What's next?

The fastest, most hassle-free way to set up a Minecraft server is to rent a ready-made game server plan, pick your version in the web panel, accept the EULA and start the server. This guide walks you through the roughly 15-minute process from placing your order to your friends' first login, in the same order you'll see the screens in the panel. No router settings, no port forwarding and no leaving your PC on 24/7.

Before you start: Java or Bedrock?

Minecraft comes in two separate editions, and their servers don't connect to each other directly:

  • Java Edition: The edition played on PC (Windows, macOS, Linux). Almost the entire plugin and mod ecosystem lives here.
  • Bedrock Edition: The mobile, console and Microsoft Store edition.

This guide covers a Java Edition server. If you want Bedrock players to join too, you can later bridge them to your Java server with the Geyser plugin. First, let's get the server up and running properly.

Step 1: Pick a plan that fits your player count

On a Minecraft server, RAM is the deciding resource, followed by the CPU's single-core speed. A rough rule of thumb to start with (a guideline, not a guarantee):

  • Vanilla survival for 2–5 players: 2 GB RAM may be enough.
  • 5–15 friends with a few plugins: 4–6 GB RAM is a comfortable start.
  • Modpacks or a large community: 8 GB or more.

For most first-time server owners, the OB-MC-2 Minecraft plan with 6 GB RAM is a balanced choice: you won't need to upgrade right away when your friend group grows or when you add essential plugins like EssentialsX and LuckPerms. For a detailed table by player count, see our article How much RAM does a Minecraft server need.

Step 2: Order and automatic setup

  1. Choose your plan on the Minecraft server plans page and add it to your cart.
  2. Complete checkout. OyunBulut plans include automatic setup, so your server is prepared by the system once your payment is confirmed.
  3. When the service status in your client area shows “Active,” you'll see the login details for the web panel where you manage your game server, plus your server address (IP and port).

Servers run in our data center in Istanbul and plans include DDoS protection, so you never have to share your home IP address with anyone.

Step 3: Choose the server software and version

Before you start the server for the first time in the web panel, decide which software it will run. Menu names can vary slightly by panel, but the options are usually:

  • Vanilla: Mojang's official server. No plugin support.
  • Paper: An optimized, plugin-ready version of Vanilla. The right starting point for most people.
  • Fabric / Forge / NeoForge: If you want to install mods. Players need to install the same mods too.

For a detailed comparison, check out our Paper vs Spigot vs Purpur comparison.

Keep two rules in mind when choosing a version. First, the server version must match the players' game version; otherwise you'll get an “Outdated client” or “Outdated server” error. Second, each Minecraft version requires a specific Java version:

Minecraft versionRequired Java
1.20.5 and later (including the 1.21 series)Java 21 or newer
1.18 – 1.20.4Java 17
1.17Java 16 or newer
1.16.5 and earlierJava 8 (for most older modpacks)

If the panel has a field for choosing the Java version, set it according to this table. The wrong Java version shows up in the console as an UnsupportedClassVersionError error.

Step 4: First start and accepting the EULA

When you click Start in the panel, the server runs for the first time, generates the files it needs and most likely stops right away. You'll see a line like this in the console:

[Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

This isn't an error. Mojang requires everyone who runs a server to accept the Minecraft End User License Agreement (EULA). Some panels open a confirmation prompt for this; if yours doesn't:

  1. Open the panel's File Manager.
  2. Edit the eula.txt file in the root directory.
  3. Change the eula=false line as shown below and save.
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA).
eula=true

Restart the server. The first boot can take a bit longer because the world is being generated. Once you see the Done (...)! For help, type "help" line in the console, your server is ready.

Step 5: Basic settings in server.properties

The settings that define your server's character live in the server.properties file in the root directory. On day one, reviewing these lines is enough:

motd=Arkadaslarla Survival Sunucusu
max-players=20
difficulty=normal
gamemode=survival
pvp=true
online-mode=true
white-list=true
view-distance=10
simulation-distance=8
spawn-protection=16
  • online-mode=true: Only allows logins from official (paid) accounts. Turning it off (false) opens the door to account impersonation; leave it on unless you really need to change it.
  • white-list=true: Only people you add to the list can join. It's the simplest security measure for a server with friends.
  • view-distance / simulation-distance: Set how many chunks are loaded and processed per player. Lowering them reduces RAM and CPU load.

Don't change the server-port and server-ip lines; the panel manages these values, and a wrong port will keep the server from starting. You need to restart the server after changing settings.

Step 6: Give yourself operator (OP) permissions

Type the following commands in the panel's Console tab. You don't need to put a / in front of commands in the console:

whitelist on
whitelist add OyuncuAdiniz
whitelist add ArkadasAdi
op OyuncuAdiniz

The op command lets you use every admin command in game. Only give OP to people you trust; when you want to set up ranks later, a permissions plugin like LuckPerms is a far more controlled approach.

Step 7: Invite your friends

  1. Launch Minecraft Java Edition on the same version as your server.
  2. Go to Multiplayer > Add Server.
  3. In the server address field, enter the address shown in your panel in IP:port format. If the port is 25565, the IP alone is enough; if a different port was assigned, always include it.
  4. Your friends connect using the same address.

If you'd rather use an address like mc.alanadiniz.com instead of a long, hard-to-remember IP, add an SRV record to your domain and players won't need to type the port at all.

Step 8: Set game rules and take your first backup

Once the server is up, you can change most of the rules that shape gameplay from the console with gamerule commands. These are the most popular settings on servers with friends:

gamerule keepInventory true
gamerule playersSleepingPercentage 50
gamerule doInsomnia false
  • keepInventory: Players keep their items when they die. Takes the stress out for new groups.
  • playersSleepingPercentage: The percentage of players who need to sleep to skip the night. A value of 50 lets you skip the night without waiting for everyone to get in bed at once.
  • doInsomnia: Turns off Phantoms, which attack players who haven't slept in a long time.

These commands are saved per world and persist across restarts. Once you've generated your world and set things up, don't forget your first backup. The simplest method is to stop the server, archive the world folder in the file manager (plus the world_nether and world_the_end folders if you use Paper) and download it to your computer. World files copied while the server is running can be inconsistent, so take the backup with the server stopped, or first run save-all and temporarily pause saving with save-off, then turn it back on with save-on when you're done.

The most common mistakes in the first 15 minutes

  • Waiting without accepting the EULA: The server shuts itself down and won't start until eula.txt is edited.
  • Version mismatch: If a player's client doesn't match the server version, the login is rejected.
  • Wrong Java version: Older modpacks in particular need Java 8, while newer versions need Java 21.
  • Using the /reload command: It causes memory leaks and errors in plugins. Fully restart the server after changes instead.
  • Dropping plugins onto a Vanilla server: Vanilla doesn't run plugins; you need Bukkit-based software such as Paper.

What's next?

Your server is up and your friends are in. The logical next steps are taking regular backups, adding the plugins you need and scaling up resources as your player count grows. We cover plugin installation step by step in our how to install plugins on a Minecraft server guide.

If you don't have a server yet, you can get started right away with the OB-MC-2 plan and follow every step in this guide exactly, or compare all OyunBulut Minecraft server plans if you need something smaller or bigger. If you get stuck on any step, open a support ticket and our team will help you out.

Frequently asked questions

Does my computer need to stay on to run a Minecraft server?

Not if you use a hosted game server. The server runs 24/7 in a data center, so your friends can keep playing even after you turn off your computer.

What do I need to do in the eula.txt file?

Just change the eula=false line to eula=true, save the file and restart the server. This means you accept the Minecraft End User License Agreement.

Why can't my friends connect to my server?

The most common causes are a version mismatch, a missing port in the address, and the whitelist being on without the player added to it. Run whitelist add PlayerName in the console and share the address in IP:port format.

Which server software should I choose?

If you plan to use plugins, Paper is the best starting point for most people. If you want mods, choose Fabric, Forge or NeoForge, and players will need to install the same mods.

How many GB of RAM is enough for a Minecraft server?

As a guideline: 2 GB for a vanilla server with 2-5 players, 4-6 GB for a small friends server with plugins, and 8 GB or more for modpacks.

Can Bedrock players join my Java server?

Not directly, but you can install the Geyser plugin on a Paper server to let Bedrock players connect to your Java server.

For this guide

Recommended plans

The OB-MC-2 plan comes with automatic setup, a web panel and DDoS protection, plus enough RAM to follow every step in this guide in minutes and start playing with your friends.

OB-MC-1

Recommended

2 GB RAM

$3.54/mo

+VAT

  • Processor2 CPU
  • Disk20 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk45 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

8 GB RAM

$6.88/mo

+VAT

  • Processor4 CPU
  • Disk55 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

Minecraft — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.