← BACK TO NEWS
AUGUST 30, 2026 · karlos_

How to Set Up a Dedicated Minecraft Server (2026 Guide)

The complete 2026 guide to creating your own Minecraft server. Deploy instantly in under 30 seconds with SLASHPLAY — pay-as-you-go from $0.03/hour, no subscription — or follow our deep-dive manual guide for high-performance PaperMC, Java 21, Aikar's flags, and Bedrock crossplay.

How to Set Up a Dedicated Minecraft Server (2026 Guide)

How to Set Up Your Own Dedicated Minecraft Server (2026 Guide)

Minecraft is best experienced with friends — whether you are starting a fresh survival SMP, building an automated redstone kingdom, or hosting mini-games and custom plugins. But getting a multiplayer world online in 2026 often leaves players stuck between clunky free hosts with long queues and expensive monthly hosting subscriptions that charge you even when nobody is playing.

In 2026, you have two primary ways to set up a dedicated Minecraft server:

  1. The Instant Way — A cloud-managed Minecraft server with SLASHPLAY (deployed in under 30 seconds, zero port forwarding, pay only while you play).
  2. The Manual Way — A fully self-hosted, high-performance PaperMC server running on your own PC or dedicated hardware with Java 21, Aikar’s GC flags, and Bedrock crossplay.

This guide walks you through both methods step-by-step so you can choose the right setup for your needs.


Why Host Your Own Dedicated Minecraft Server?

Unlike singleplayer LAN games or basic realm subscriptions, a dedicated server gives you complete sovereignty over your world:

  • 24/7 Availability & Persistence — The world stays alive even when the host player logs off. Farms keep running, animals stay fed, and anyone can hop on at any hour.
  • Full Plugin & Mod Support — Run Bukkit, Spigot, and Paper plugins like CoreProtect (anti-grief rollbacks), EssentialsX (/sethome, /tpa), and LuckPerms (ranks and permissions).
  • Bedrock & Java Crossplay — Enable players on iOS, Android, Xbox, PlayStation, Nintendo Switch, and PC to explore the exact same world together via GeyserMC.
  • No Player Limits or Artificial Throttling — Forget free-tier servers that kick you after 5 minutes of inactivity or force you to wait in 20-minute queues.
  • Custom Hardware & Lag-Free Chunk Generation — Take advantage of modern multi-threaded chunk loading, optimized tick rates, and pre-generated worlds.

If your goal is to jump into the game with friends in minutes rather than spending your afternoon configuring port forwarding and Java arguments, SLASHPLAY is the fastest, cleanest solution available.

SLASHPLAY lets you spin up dedicated game servers directly from Discord or via a slick web dashboard. You get enterprise-grade EU hosting, automated world snapshots, and true pay-as-you-go hourly pricing.

Why Host Minecraft on SLASHPLAY?

  • Up in under 30 seconds — Click deploy, copy the connect address, and play.
  • Vanilla & PaperMC ready — Run pure unmodified Vanilla or high-performance Paper on the latest release or pinned versions like 1.21.
  • No monthly subscriptions — You only pay for the hours your server is online. Stop the server when you go to bed and billing stops instantly; saving your world costs just pennies a month.
  • Zero networking friction — No router port forwarding, dynamic DNS setup, or exposing your personal home IP address to the internet.
  • Automated world snapshots — Every session is safely backed up. Roll back accidental TNT explosions or griefing with a single click.
  • Automated playtime schedules — Set your server to turn on at 4 PM on weekdays or strictly on weekends. It sleeps overnight with 0 idle cost.
  • Manage from Discord or Web — Full parity between the SLASHPLAY Discord bot and the web dashboard.

Step 1: Access SLASHPLAY

  1. Log into the SLASHPLAY Dashboard with your Discord account, or
  2. Invite the SLASHPLAY Bot to your Discord community.

Step 2: Deploy Your Minecraft Server

From the web dashboard:

  1. Click New Server and choose Minecraft.
  2. Select your desired engine:
    • Paper (latest) — Best performance, optimized chunk loading, and full plugin support (Recommended).
    • Paper 1.21 — Pinned build for compatibility with specific plugins.
    • Vanilla (latest) — The 100% pure, unmodified Mojang experience.
  3. Pick a size tier:
    • Small (2 GB RAM / 1 CPU) — Great for 5–10 casual friends.
    • Medium (4 GB RAM / 2 CPU) — Ideal for active SMPs with plugins.
    • Large (8 GB RAM / 4 CPU) — For large communities, intensive redstone, and heavier plugin stacks.
    • XLarge (16 GB RAM / 8 CPU) — Maximum performance for mega-servers.
  4. Click Deploy.

(Prefer Discord? Simply run /play or /server start in your Discord server and follow the interactive prompts).


Step 3: Connect & Share with Friends

Within 30 seconds, your server is online and assigned a clean, low-latency connect address:

  1. Copy your server address from the dashboard or Discord card (e.g. play.slashplay.gg:25565).
  2. Launch Minecraft, open Multiplayer > Direct Connection (or Add Server), paste the address, and hit Join Server.
  3. Share the address with your Discord server or squad — you’re ready to build.

Step 4: Manage Whitelists, Ranks & Live Console

You do not need an SSH terminal to manage your world. Through the web dashboard or Discord slash commands:

  • Run live console commands (e.g. /op YourName, /whitelist add friend, /gamemode creative).
  • View live RAM, CPU, and connected player counts in real time.
  • Stop, restart, or restore earlier world saves instantly.

Pay-As-You-Go Pricing Breakdown

SLASHPLAY eliminates the monthly hosting lock-in using a simple token system:

  • 1 token = $0.01 USD.
  • Minecraft servers start at just $0.03/hour (3 tokens/hr for the base tier).
  • No contracts or monthly fees — buy $5 or $10 in tokens and spend them at your own pace.
  • Team Wallets — Create a team balance so your whole friend group or clan can chip in without one person shouldering the bill.

Learn more on our Minecraft Server Hosting page or check the Pricing calculator.


Method 2: Manual Self-Hosted Minecraft Server Setup (Advanced)

If you have dedicated hardware at home, a spare Linux box, or enjoy managing network topology and JVM garbage collection parameters yourself, here is the complete 2026 guide to building a high-performance self-hosted server.

Hardware & System Requirements

Community SizeRecommended RAMCPU ThreadsStorageRecommended Software
Small SMP (2–6 players)4 GB2+ Cores @ 3.0GHz+15 GB SSD/NVMePaperMC / Fabric
Medium Community (6–15 players)6–8 GB4 Cores @ 3.5GHz+30 GB NVMePaperMC
Large Server (15–30+ players)10–16 GB6+ High-IPC Cores60+ GB NVMePaperMC / Purpur

Note: Minecraft server ticking is predominantly single-thread bound. A fast single-core clock speed (high IPC) matters far more than having 16 slow CPU cores.


Step 1: Install Java 21 (LTS)

Modern Minecraft versions (1.20.5, 1.21, and newer) strictly require Java 21 (or Java 25). Older runtimes (like Java 8 or Java 17) will fail to launch modern builds.

On Windows:

  1. Download the latest Eclipse Temurin JDK 21 (LTS) installer from Adoptium.
  2. Run the .msi installer. Ensure “Set JAVA_HOME variable” and “Add to PATH” are checked.

On Ubuntu / Debian Linux:

sudo apt update
sudo apt install -y openjdk-21-jre-headless

Verify Your Installation:

Open your Command Prompt or Terminal and run:

java -version

Confirm the output reports openjdk version "21.x.x" or higher.


Step 2: Download PaperMC

While Mojang provides a standard server.jar, the community consensus for 2026 is that running vanilla software for multiplayer is inefficient. PaperMC is the industry standard fork that optimizes entity ticking, fixes critical exploits, speeds up world loading, and allows you to use Bukkit/Spigot plugins without compromising vanilla mechanics.

  1. Create a dedicated folder for your server (e.g. C:\minecraft-server or ~/minecraft-server).
  2. Download the latest Paper .jar from the official PaperMC download portal.
  3. Place the downloaded .jar file inside your server directory and rename it to paper.jar.

Step 3: Accept the Minecraft EULA

  1. In your terminal or command prompt, navigate into your server folder and run the initial setup command:
    java -Xms2G -Xmx2G -jar paper.jar --nogui
  2. The server will initialize, generate basic configuration files, and automatically stop with a message asking you to accept the EULA.
  3. Open the newly generated eula.txt file in a text editor (e.g. VS Code, Notepad, or Nano).
  4. Change eula=false to:
    eula=true
  5. Save and close the file.

Step 4: Configure server.properties

Open server.properties to tune your gameplay and performance parameters:

# Network & Identity
server-port=25565
motd=A Dedicated 2026 Minecraft Server
online-mode=true
prevent-proxy-connections=false

# Performance Optimizations
view-distance=10
simulation-distance=6
network-compression-threshold=256
sync-chunk-writes=true

# Gameplay Settings
gamemode=survival
difficulty=hard
max-players=20
white-list=false
allow-flight=false
spawn-protection=0
  • simulation-distance=6: Separates entity ticking distance from visual render distance (view-distance=10). This single change can double your server’s tick rate (TPS) without compromising player view distance.
  • sync-chunk-writes=true: Prevents world corruption in the event of unexpected power loss or crashes.

Step 5: Startup Script with Aikar’s Garbage Collection Flags

Do not use simple java -jar paper.jar commands in production. Java’s default memory management causes periodic garbage collection pauses (“stop-the-world” freezes) that manifest as severe lag spikes in Minecraft.

Aikar’s Flags tune Java’s G1GC garbage collector specifically for Minecraft’s memory allocation patterns.

For Linux (start.sh):

Create a file named start.sh in your server folder:

#!/bin/bash
java -Xms6G -Xmx6G \
  -XX:+UseG1GC \
  -XX:+ParallelRefProcEnabled \
  -XX:MaxGCPauseMillis=200 \
  -XX:+UnlockExperimentalVMOptions \
  -XX:+DisableExplicitGC \
  -XX:+AlwaysPreTouch \
  -XX:G1NewSizePercent=30 \
  -XX:G1MaxNewSizePercent=40 \
  -XX:G1HeapRegionSize=8M \
  -XX:G1ReservePercent=20 \
  -XX:G1MixedGCCountTarget=4 \
  -XX:InitiatingHeapOccupancyPercent=15 \
  -XX:G1MixedGCLiveThresholdPercent=90 \
  -XX:G1RSetUpdatingPauseTimePercent=5 \
  -XX:SurvivorRatio=32 \
  -XX:+PerfDisableSharedMem \
  -XX:MaxTenuringThreshold=1 \
  -Dusing.aikars.flags=https://mcflags.emc.gs \
  -Daikars.new.flags=true \
  -jar paper.jar --nogui

Make it executable:

chmod +x start.sh
./start.sh

For Windows (run.bat):

Create a file named run.bat in your server folder:

@echo off
java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar --nogui
pause

Memory Rule: Set both -Xms and -Xmx to the same value (e.g. 6G for a 6 GB server). Always reserve at least 2 GB of RAM for your host operating system.


Step 6: Configure Port Forwarding & Networking

For outside players to connect to your local PC or home server, you must expose port 25565:

  1. Find your local IPv4 address:
    • Windows: Run ipconfig in CMD (e.g., 192.168.1.150).
    • Linux: Run ip addr show or hostname -I.
  2. Access your router’s administration portal:
    • Open your browser and navigate to your gateway (typically 192.168.1.1 or 192.168.0.1).
  3. Set up the port forward:
    • Locate the Port Forwarding / NAT section.
    • Forward TCP port 25565 to your local IPv4 address.
  4. Allow port through firewall:
    • Windows: Add an inbound firewall rule for TCP port 25565.
    • Linux (UFW): Run sudo ufw allow 25565/tcp.
  5. Share your Public IP:
    • Look up your public IP address on ipinfo.io and give YOUR_PUBLIC_IP:25565 to your friends.

Security & Privacy Warning: Hosting from your home network exposes your residential public IP address to anyone who joins, which poses DDoS and privacy risks. If your ISP uses CGNAT (Carrier-Grade NAT), port forwarding will not work without reverse tunnels or cloud relays.


Step 7: Essential 2026 Plugin Stack

Once your Paper server is running, enhance your world with these essential plugins (place .jar files into the plugins/ directory):

  1. Chunky (World Pre-generation)
    • Generating new world terrain while players fly on elytras is the #1 cause of server stutter. Pre-generate your map in advance:
    /chunky radius 5000
    /chunky start
  2. CoreProtect (Anti-Grief & Logging)
    • Logs every block placement, chest transaction, and explosion. Roll back damage instantly:
    /co inspect
    /co rollback u:GrieferName t:2h r:20
  3. LuckPerms (Permissions & Ranks)
    • The modern standard for rank management with an intuitive web-based visual editor (/lp editor).
  4. GeyserMC + Floodgate (Bedrock Crossplay)
    • Enables players on iOS, Android, Nintendo Switch, PlayStation, Xbox, and Windows Bedrock to join your Java Edition server.
  5. EssentialsX (Core SMP Commands)
    • Provides player utilities like /sethome, /spawn, /tpa, and economy modules.
  6. Spark (Performance Profiler)
    • Diagnostic tool for inspecting tick rate (TPS), memory leaks, and CPU bottlenecks.

SLASHPLAY vs. Manual Setup: Head-to-Head

FeatureSLASHPLAY ManagedManual Self-Hosting
Setup Time< 30 seconds45–90 minutes
Technical DifficultyBeginner-friendly (1-click)Intermediate to Advanced
Java / Environment SetupHandled automatically in cloudManual Java 21 LTS install & tuning
Port Forwarding & CGNATNone requiredRequired on router & firewall
IP Privacy & DDoS ProtectionEnterprise EU Datacenter protectionResidential IP exposed to players
Cost ModelPay-as-you-go from $0.03/hrHardware + 24/7 home electricity
World BackupsInstant automatic snapshotsManual zip backups / bash cron jobs
Automated SchedulingBuilt-in (auto-sleep overnight)Manual OS task scheduler / cron
Management InterfaceWeb Dashboard + Discord BotCLI terminal / RCON

Frequently Asked Questions

What Java version is required for Minecraft servers in 2026?

Minecraft 1.20.5, 1.21, and newer releases require Java 21 LTS or higher. Running on older Java versions like Java 8 or Java 17 will result in an immediate UnsupportedClassVersionError startup crash.

How much RAM does a Minecraft server really need?

  • For 2–5 players on Vanilla or Paper: 2 GB to 4 GB RAM is sufficient.
  • For 5–15 players on a survival SMP with plugins: 4 GB to 8 GB RAM is recommended.
  • For heavily modded Forge/NeoForge modpacks or 20+ player networks: 8 GB to 16 GB RAM is required.

Can Bedrock (Console, Switch, Mobile) players join a Java server?

Yes. If you are self-hosting on Paper, install the GeyserMC plugin alongside Floodgate. This translates Bedrock network packets into Java packets so Bedrock players can join seamlessly without needing a separate Java account.

Why should I choose PaperMC over default Vanilla software?

PaperMC includes years of upstream performance optimizations, asynchronous chunk loading, memory leak fixes, and support for thousands of Bukkit/Spigot/Paper plugins while maintaining authentic vanilla gameplay mechanics.

What happens to my world when I stop my SLASHPLAY server?

When you stop a server on SLASHPLAY, the world state is gracefully saved and stored in automated cloud storage. Billing stops immediately, and maintaining your world data between sessions costs only a few cents per month. You can resume your adventure at any time.


Ready to Build Your World?

Whether you want a temporary weekend SMP with your friend group or a permanent community realm, hosting a Minecraft server in 2026 has never been more flexible.

Grab your diamond pickaxe and see you on the server!