Client Area
Guide

How to Set Up a Minecraft Server

Minecraft··4 min read
Minecraft: Bedrock Edition server hosting

There are two ways to run a Minecraft server: host it yourself on your PC, or rent a dedicated server that stays online 24/7. This guide covers both, then shows the fastest path to a server your friends can join in under a minute.

Self-hosting vs a dedicated host

Running the server on your own PC is free, but your world is only online while your machine is on, your home IP is exposed, and your upload bandwidth limits how many players can join smoothly. A dedicated Minecraft server stays online around the clock, has a proper network with DDoS protection, and is built for low latency — which is why most communities rent one.

How much RAM do you need?

  • Vanilla, 2–5 players: 2 GB RAM
  • A few plugins or 5–10 players: 3–4 GB
  • Modpacks (Forge/Fabric) or 10–20 players: 6–8 GB+
  • Large modded networks: 8–12 GB+

CPU clock speed matters as much as RAM — Minecraft is largely single-threaded, so a high-clock AMD Ryzen core keeps tick rate (TPS) at a smooth 20.

Java, Bedrock or both?

Java Edition has the deepest modding scene (Paper, Spigot, Forge, Fabric). Bedrock is for console and mobile crossplay. Want both on one world? A Paper server with Geyser lets Bedrock players join your Java server.

Set it up on GGameHost in 4 steps

  1. Choose a plan. Pick a Minecraft plan sized to your player count and mods. Start small — you can upgrade RAM in one click.
  2. Deploy. Check out and your server is online in under 60 seconds, with console access right away.
  3. Configure. Pick your server type (Paper/Forge/Fabric) and install plugins or a modpack from the one-click installer, or upload your own via FTP.
  4. Invite friends. Share your server IP and you are playing — the server stays online even when you log off.

Useful first settings

  • Set difficulty, gamemode and max-players in server.properties (editable in the panel).
  • Turn on white-list for a private SMP.
  • Schedule automatic restarts and backups so you never lose progress.

Deploy a Minecraft server →

Related guides

Share:Twitter / XFacebookRedditWhatsApp
Reference

Ports, config and common failures

Ports to open for a Java Edition server

A Java Edition server listens on TCP port 25565 by default, set by server-port in server.properties. Two optional services have their own port settings, and both are disabled by default.

ServiceDefault portProtocolProperty
Game traffic25565TCPserver-port
Query (server list stats)25565UDPquery.port / enable-query
RCON (remote console)25575TCPrcon.port / enable-rcon

The wiki warns that exposing RCON ports to the internet is dangerous: RCON is not encrypted and can be subject to man-in-the-middle attacks.

If you run the server on a non-standard port, an SRV record at _minecraft._tcp.<your-domain> with the value formatted <weight> <port> <target> lets players connect using the bare domain name instead of typing a port.

Matching the Java runtime to the server JAR

If the installed Java runtime is older than the version the server JAR was built for, startup fails with java.lang.UnsupportedClassVersionError. A JAR compiled for Java 21 carries class file version 65.0; a runtime that only recognizes class file versions up to 61.0 is Java 17 and will not load it.

The usual fix is to upgrade Java rather than to downgrade the server JAR.

server.properties settings worth knowing

The table below lists vanilla defaults, allowed values, and the wiki's description of what each setting controls.

SettingDefaultValuesWhat it controls
view-distance103–32The amount of world data the server sends the client, measured in chunks in each direction
simulation-distance103–32The maximum distance from players at which living entities may be located in order to be updated
max-players200–2147483647Players allowed on the server at the same time; extremely large values break the client-side user list
network-compression-threshold256integerPacket size in bytes at or above which packets are compressed; -1 disables compression entirely, 0 compresses everything

For both distance settings, the wiki recommends reducing the value if a player has major lag.

Installing Geyser for Bedrock clients

Which Geyser build you need depends on the server software and Minecraft version you run:

  • Geyser-Fabric and Geyser-NeoForge run only on a 26.2 server.
  • Geyser only works with server-side mods.
  • If your Paper/Spigot server or proxy runs a version older than 26.2, you also need ViaVersion.
  • Standalone Geyser requires Java 21 or higher.

Geyser's default port is 19132, and because Bedrock Edition uses UDP, that port must allow UDP traffic. Bedrock's own dedicated server (BDS) uses the same 19132/UDP default, which is separate from the 25565/TCP the Java server listens on.

Where plugins and mods go

Paper and Spigot plugins go in the plugins folder in the root directory of the server; restart the server afterwards so the plugin loads. Fabric server mods go in the mods folder of the server installation instead, and the Fabric wiki notes that any mod labeled CLIENT can be excluded from the server mods folder.

The majority of Fabric mods also require Fabric API, which can be downloaded from Modrinth or CurseForge.

If a file does not load, check that it matches the server software. Paper's troubleshooting section addresses the usual mix-up directly: a file you downloaded that is in fact a mod for Forge, Fabric, or similar will not run on Paper.

Ready to play?

Deploy your server in under 60 seconds — 7-day money-back guarantee.

Browse games