1
Thanks

A few words of thanks would be greatly appreciated.

How to create a Minecraft server?

Issue


How to create a (private) Minecraft server?

Solution

  • First download the package provided by Minecraft:
  • http://www.minecraft.net/minecraft-server.zip
  • Unzip the file and then launch "Start-server.bat"
  • If you have this error
    • "Java' is not recognized as ..."
    • Open Start-server.bat with notepad
    • Right click: Open with notepad for example.
    • You get this:

@echo off   
Java -Xms512M -Xmx512M -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer   
pause 
  • Replace Java by the exact path to access a java.exe
    • Example:

"C:\Program Files (x86)\Java\jre6\bin\java" -Xms512M -Xmx512M -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer   
pause  


Launch Start-server and if you get this message:
>Setting up!   
>Loading Level
.
Your server is launched!
A link will be generated in "External_url.txt" , share it with your friends.

Note that: If the other users can't connect to your server, you need to:
  • Enable the TCP and UDP port 25565 for the Minecraft server.
  • Enable Port forwarding (for port 25565) in your router/modem settings.


Thanks to lol952 for this tip
1
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Published by . Latest update on by deri58.

This document, titled "How to create a Minecraft server?," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).

0 Comments