Minecraft server basics: from jar to first players
Most failed Minecraft servers I have seen died on one of four things: wrong Java, an unaccepted EULA, a closed port or online-mode turned off in panic. This guide goes through them in the order you meet them.
6 steps
-
Install the right Java
Minecraft 1.20.5 and newer needs Java 21. Check with java -version in a terminal. Older versions of the game ran on Java 17 or even Java 8, so match the Java to the Minecraft version, not the other way round.
-
Download a server jar
Take the vanilla jar from minecraft.net, or Paper from papermc.io if you want plugins and better performance. Put it alone in a new folder, because the server will dump a dozen files next to it.
-
First run and EULA
Start it with java -Xms2G -Xmx4G -jar server.jar nogui. It stops after a few seconds and writes eula.txt. Open it, change eula=false to eula=true and start again. 4 GB is a sane start for a small plugin server.
-
Edit server.properties
Stop the server first, then set motd, max-players and view-distance (8 is easier on the CPU than the default 10). Leave online-mode=true: turning it off lets anyone log in under any name. Add white-list=true while you are testing.
-
Open the port and test it
Java edition listens on 25565 TCP. Forward it on the router or open it in the host firewall (Bedrock uses 19132 UDP). Then run the address through the Server Ping Checker from outside your network.
-
Add Votifier and test it
Install NuVotifier in plugins, restart, and note port 8192 and the key in plugins/Votifier/rsa/public.key (or the token in config.yml). Send a test vote with the Votifier Tester before you add vote links anywhere.
Tools for this guide
Game Server Ping & Status Checker
Enter an IP and port, pick the game and see if the server answers: response time, players, server name and map. Free, no login.
Minecraft Votifier & NuVotifier Tester
Send a test vote to your Minecraft server. Supports Votifier v1 (RSA key) and NuVotifier v2 (token) with clear errors. Keys are never stored.
Terms explained
More guides
How to create a Discord server
Make a Discord server in 10 minutes: template, channels, roles, safety settings and a permanent invite link you can check before you share it.
Read the guide → · 6 stepsHow to create a TeamSpeak server
Run your own TeamSpeak 3 server: download, first start, privilege key, the three ports to open and how to check that players can reach it.
Read the guide → · 6 stepsHytale server basics: files, port 5520 and first test
Start a Hytale server without guessing: get the server files, match the Java version, open UDP port 5520, test it from outside and list it.
Read the guide → · 6 stepsHow to add your server to PlayServerList
Get a game server or Discord community listed: what to prepare, the fields to fill in, how to write a description that reads well and what happens next.
Read the guide → · 6 stepsWhat is a query port and how to check yours
A query port lets a server list read your name, players and map without joining. Learn which games use it, how to open it and how to test it.
Read the guide → · 6 steps