How to Set Up a Minecraft Java Server: The Complete 2026 Guide
Why Minecraft Java Edition?
Minecraft Java Edition remains the definitive version for dedicated server hosting. While Bedrock Edition has cross-platform support, Java Edition offers superior mod support, more mature server software, and a thriving plugin ecosystem. According to Mojang, Minecraft has surpassed 300 million copies sold, with Java Edition accounting for a significant share of the active multiplayer community.[1]
Java Edition servers support Forge, Fabric, Paper, Spigot, and hundreds of thousands of community-created plugins and mods. For a comprehensive overview of your hosting options, see our complete game server hosting guide.
Step 1: Choose Your Hosting Method
You have two main options: self-host on your own hardware, or use a managed hosting provider. Self-hosting gives you full control but requires port forwarding, firewall configuration, and keeping a machine running 24/7. Managed hosting handles all of that for you.
For most players, managed hosting is the better choice — you get guaranteed uptime, DDoS protection, and a control panel for easy management. If you're weighing the options, our game server hosting vs VPS comparison breaks down the pros and cons in detail.
Step 2: Pick the Right Server Software
The server software (JAR file) you choose determines your server's performance and mod compatibility. Here are the main options:
Vanilla — The official Mojang server software. No mods or plugins, pure Minecraft. Simple to set up but lacks performance optimizations.
Paper — The most popular choice for production servers. Paper is a high-performance fork of Spigot with hundreds of optimizations over vanilla. It supports all Bukkit and Spigot plugins.[3]
Forge — Required for content mods that add new blocks, dimensions, and mechanics. The CurseForge platform hosts over 100,000 Minecraft mods. Forge servers are heavier on RAM — plan for 4-8 GB depending on modpack size. Check our best mods for Minecraft servers guide for recommendations.
Fabric — A lightweight alternative to Forge that loads 40-60% faster on startup. Fabric has a growing mod ecosystem and is popular for performance-focused modpacks and technical Minecraft gameplay.
Step 3: Size Your Server
RAM is the most critical resource for Minecraft servers. Here are general guidelines based on real-world usage:
1.5 GB — Vanilla, 1-10 players, small world. Suitable for a friends-only server with no mods.
4 GB — Paper/Spigot with plugins, 10-25 players. The sweet spot for most community servers.
8 GB — Modded (Forge/Fabric) with 50-100 mods, or large vanilla servers with 25-50 players.
8+ GB — Heavy modpacks (100+ mods) like All the Mods, RLCraft, or large public servers. Use our Minecraft RAM Calculator for a personalized estimate.
Storage type matters too. NVMe SSDs are several times faster than SATA SSDs at the random I/O a Minecraft world generates, which directly affects chunk loading speed and world save times.
Step 4: Configure server.properties
The server.properties file controls core gameplay settings. Here are the most important ones to configure:
view-distance=10 — Controls how many chunks are loaded around each player. Lower values (8) reduce server load; higher values (12-16) look better but consume more RAM and CPU.
simulation-distance=8 — Controls how far from players entities are actively ticked. Keep this at or below view-distance for the best balance of performance and gameplay.
max-players=20 — Set this to your expected player count plus a small buffer. Don't set it to 999 just because you can — it signals to players that your server capacity is unlimited when it isn't.
online-mode=true — Keep this enabled. It authenticates players through Mojang's servers and prevents cracked clients from joining. Disabling it opens your server to security risks.
Step 5: Install Essential Plugins
If you're running Paper or Spigot, plugins are what make your server unique. According to SpigotMC, the platform hosts over 90,000 plugins with 500+ million total downloads.[5] Here are the essentials:
EssentialsX — Core utility commands: /home, /tpa, /spawn, /warp, /kit. The foundation of most servers.
LuckPerms — Permission management. Define groups (admin, mod, member) and control who can do what.
WorldGuard + WorldEdit — Region protection and world editing. Prevent griefing and build faster.
Vault — Economy API that connects plugins like shops, auction houses, and player markets.
Upload .jar files to the /plugins directory and restart. Each plugin creates its own config folder for customization.
Step 6: Optimize for Performance
Once your server is running, there are several optimizations that can dramatically improve performance:
Use Aikar's JVM flags — These are the community-standard Java garbage collection flags for Minecraft servers; they tune G1GC to smooth out lag spikes. HostSimple's Paper launch uses plain -Xms/-Xmx settings — email support if you want Aikar's flags applied to your server.
Pre-generate your world — New chunk generation is the single most CPU-intensive operation on a Minecraft server. Use a plugin like Chunky to pre-generate a world border area before opening to players. A 5,000-block radius takes 20-30 minutes to generate and eliminates chunk gen lag entirely.
Monitor TPS — Use /tps (Paper built-in) or a plugin like Spark to monitor your server's ticks per second. Healthy is 20.0 TPS. Below 18 TPS, players notice lag. Below 15 TPS, the server feels unplayable. For more optimization tips, see our guide on reducing game server lag.
Step 7: Go Live
Share your server IP or hostname with players. If you're using a managed host like HostSimple, you'll get a clean address. Set up a whitelist (/whitelist on, /whitelist add PlayerName) if you want to keep it private.
Consider listing your server on Minecraft Server List or similar directories to attract new players. Set up a Discord server for your community, and use a plugin like DiscordSRV to bridge in-game chat with Discord channels.
Ready to get started? HostSimple's Minecraft plans start at $4.99/mo with a 48-hour money-back guarantee — NVMe storage, DDoS protection, and Pterodactyl panel included.
Start your Minecraft server
A HostSimple Java server is live in about a minute with the version and connection details ready to share.
Frequently asked questions
- Do I need to port forward with a hosting provider?
- No. Port forwarding is only needed when you host from your own PC. A hosted server comes with a public address you paste into Minecraft and share with friends.
- How much RAM does a Minecraft server need?
- A vanilla or Paper server uses roughly 200 MB per player, so 4 GB comfortably runs 1 to 10 players, 6 to 8 GB handles 10 to 30, and modded servers want at least double the vanilla figure. Each plugin adds a few hundred MB. The Minecraft RAM calculator sizes it precisely.
- Can I use plugins and mods?
- Yes. Paper supports Bukkit and Spigot plugins, and Forge or Fabric run mod packs. Plugins reload without a full reinstall; mod packs need the matching server type and a restart.
- How do my friends join?
- Once the server is online, share the connection address. Friends open Minecraft, choose Multiplayer, Add Server, paste the address including the port, and join. No accounts or setup on their end.
- What Minecraft version does the server run?
- You control the version. HostSimple servers can run the latest release or a pinned version to match a modpack, and update on restart when you are ready.
