-
Get in touch
- Servers99
611 Gateway Blvd ,
South San Francisco ,
CA 94080 United States - sales@servers99.com
System Requirements & Performance
Before you begin the minecraft server download, ensure your hardware can handle the load. Minecraft server performance is primarily dependent on single-thread CPU speed and available RAM.
| Component | Minimum Requirement (1-4 Players) | Recommended (10+ Players) |
|---|---|---|
| CPU | Dual-core 2.8GHz+ | High single-thread performance (Ryzen/Core i7) |
| RAM | 4 GB Dedicated | 6 GB - 8 GB+ |
| Storage | 5 GB SSD | 20 GB+ NVMe SSD |
| Network | 10 Mbps Up/Down | 100 Mbps+ (Wired Connection) |
Java Environment Setup
Minecraft: Java Edition requires the Java Runtime Environment (JRE) to function.
- Version Compatibility: Minecraft 1.20.5 and above requires Java 21, and Minecraft 1.18 to 1.20.4 requires Java 17.
- Installation: Download the OpenJDK build corresponding to your OS. You
can verify your installation by typing
java -versionin your terminal or command prompt.
Initial Server Installation
Following these steps will initialize the core server files:
- Download: Obtain the
server.jarfrom the official Minecraft website. - Directory: Create a dedicated folder (e.g.,
/MinecraftServer/) and move the.jarfile there. - First Run: Open your command line and execute:
java -jar server.jar --nogui - EULA Acceptance: The server will shut down immediately and generate a
eula.txtfile. Open this file and changeeula=falsetoeula=true
Professional Startup Scripts
To manage memory allocation effectively, do not run the server by double-clicking the file. Instead, use a startup script to define memory limits.
@ECHO OFF
java -Xms2G -Xmx4G -jar server.jar --nogui
pause
#!/bin/bash
java -Xms2G -Xmx4G -jar server.jar --nogui
♦️ -Xms is the starting RAM, and -Xmx is the
maximum RAM allocated.
Server Configuration & Management
The server.properties file is the heart of your
customization. You can edit this with any standard text editor.
- Gamemode: Set to survival, creative, or adventure.
- Difficulty: Set to peaceful, easy, normal, or hard
- Server-IP: Leave this blank to allow the server to bind to all available local network interfaces.
- White-list: Set to
trueto restrict access to approved players only.
To grant yourself administrative privileges, type
/op < YourPlayerName > directly into the server console. This allows you to
use in-game commands like /tp, /stop and /gamemode.
Networking & Publishing
To allow players outside your local network to join, you must configure your network path.
Port Forwarding
By default, Minecraft uses Port 25565. You must access your router settings and forward TCP/UDP port 25565 to your server machine's internal IP address.
Players will connect using your Public IP Address.
By default, Minecraft uses Port 25565. You must access your router settings and forward TCP/UDP port 25565 to your server machine's internal IP address.
play.yourdomain.com) linked via an A Record or SRV Record in your
DNS settings.
Essential Security Recommendations
Hosting a minecraft server exposes a port to the internet. Follow these protocols to remain secure:
- Enable Whitelisting: Use
/whitelist add < username >to prevent unauthorized griefers from entering. - Use a Dedicated User: On Linux, never run your server as the
rootuser. Create a limited-user account for the server process. - Regular Backups: Automate the backup of your
worldfolder to prevent data loss due to corruption or hardware failure. - DDoS Protection: If you are hosting a large public server, use a hosting provider like Servers99 that includes built-in DDoS mitigation.
🎮 Final Step: Connect & Play
Congratulations! Your high-performance Minecraft server is now running
in the background via Systemd. You can verify the status anytime using
systemctl status minecraft.
To join, simply open Minecraft: Java Edition, click Multiplayer > Add Server, and enter your Public IP Address.
Stop Hosting on Weak Hardware - Upgrade to Enterprise Performance
While this script optimizes your local machine, running a public server on a Home PC or
Standard VPS inevitably hits a wall. Residential internet isn't built for gaming traffic,
leading to rubber-banding during PvP, slow chunk loading while Elytra flying, and crucial
security risks like exposing your home IP to DDoS attacks.
At Servers99, we replace "Home Hosting Headaches" with professional-grade power. We provide
Dedicated Servers specifically tuned for Minecraft: Java Edition to ensure a flawless
experience.