Set up and host a private Minecraft server using a computer, learn networking basics, manage players and customize game settings with adult help.



Step-by-step guide to host a private Minecraft server
Step 1
Ask an adult to help you check that you have Minecraft Java Edition and a stable internet connection.
Step 2
Create a new folder on your computer named Minecraft Server to keep all server files in one place.
Step 3
Download the official Minecraft Java server file from minecraft.net and save it into the Minecraft Server folder as server.jar.
Step 4
With an adult open a command prompt or terminal in the Minecraft Server folder and run java -Xmx1024M -Xms1024M -jar server.jar nogui to generate initial files.
Step 5
Open the generated eula.txt file and change eula=false to eula=true then save the file.
Step 6
With an adult run java -Xmx1024M -Xms1024M -jar server.jar nogui again to start the server and finish creating world files.
Step 7
With an adult allow Java or TCP port 25565 through your computer firewall to let players connect.
Step 8
In the server console type whitelist on to turn the whitelist on and make the server private.
Step 9
In the server console type whitelist add
Step 10
In the server console type op
Step 11
Open the server.properties file and change settings like gamemode and max-players to what you want then save the file.
Step 12
With an adult log into your router and forward TCP port 25565 to your computer’s local IP address so outside friends can join.
Step 13
Have a friend on a different network join your server using your public IP address followed by :25565 to test that the private server works.
Step 14
Share your finished private Minecraft server project on DIY.org with details about how you set it up and what you customized.
Final steps
You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!


Help!?
What can we use if we can't get Minecraft Java Edition, Java, or can't download server.jar?
If you don't have Minecraft Java Edition or can't run the server.jar, ask an adult to use Minecraft Realms or a paid third-party host instead of downloading and running server.jar in the "Minecraft Server" folder.
My server won't start when I run the java command — what should we check?
If java -Xmx1024M -Xms1024M -jar server.jar nogui doesn't start, make sure server.jar is in the "Minecraft Server" folder, Java is installed and up to date, eula.txt is set to eula=true, and run the command from that folder with an adult to allow firewall or port 25565 prompts.
How can this activity be adapted for younger or older children?
For younger kids (under 10) have an adult perform steps 1–7 (installing Java, running server.jar, editing eula.txt) while the child picks gamemode in server.properties and adds friends to the whitelist, and for older kids let them handle port forwarding, op commands, and customizing server.properties and mods with supervision.
How can we extend or personalize the server after it's working?
After the server is running, personalize it by editing server.properties to change gamemode and max-players, installing mods or plugins into the "Minecraft Server" folder, managing ops and the whitelist for roles, and then share your custom setup on DIY.org.
Watch videos on how to host a private Minecraft server
Facts about computer networking and server hosting for kids
🧱 Minecraft is the best-selling video game ever, with over 200 million copies sold worldwide.
🌐 Minecraft Java Edition servers typically use port 25565 as the default connection port.
🧩 Mods and plugins (like Spigot, Bukkit, Fabric) let you add mini-games, protections, and custom rules to your server.
🔒 Private servers let you control access with whitelists, operator permissions, and invite-only setups to keep play safe.
🖥️ You can run a small Minecraft server on a home PC or a Raspberry Pi, but a steady upload speed reduces lag for players.


Only $6.99 after trial. No credit card required