To create a Minecraft server, you should know some important things.
1: To always keep open the server, the computer on which the server runs on need to be always on.
2: The Minecraft server will use a portion of your RAM and a part of your processor. Therefore it could be that your computer slows down.
3: If you want to open your server for players outside your home network then you will need to port forward. Make sure you definitely have installed a good firewall on your computer.
4: 8GB of ram. and a processor speed of 2.0GHz at least.
5: If you are going to make a public server, I recommend to have this done by a professional company. Click here for a host company.
If all goes well, we can start with the tutorial.
Step 1: Installing Java
Minecraft is a java build. So it needs java to work.Test whether Java is installed on your computer. If Minecraft works is likely Java is already installed on your computer.
And update java to the latest version.
Step 2: Preparing the Server
1: Create a new folder and give it a name. (name of the server)
2: download the server file HERE and place it in the folder.
3: Rename the jar file to:"minecraft_server.jar"
4: open a text editor and type:"java -Xmx1024M -Xms1024M -jar minecraft_server.jar" and save it as "run.bat" in the server folder
5: Run the .bat file. The server wil start to make some text files.
6: open eula.txt and type true (change bold text).
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
#Thu Dec 31 16:34:06 CET 2015 eula=true
7: restart the server.
8: The server wil start making some more files now.
Step 3: Server Settings
Open the text file "server.properties" and paste text bollow.
(change bold text!) Click here to find public IP
#Minecraft server properties
#Sat Mar 04 13:47:28 CET 2017
server-ip= Your local IP
motd= test server
Step 4: Static Ip & Port Forwarding
A static IP ensures that the router no longer change your ip. That 's important for the Port forwarding.
Port forwarding is often different in countries. therefore it is difficult to explain how to do it right. sometimes you have to do it on the website of your provider, but it is usually through your router.
use port: 25565
Step 5: Testing the Server
The server is ready, now we'll see if it works.
1: start the server with "run.bath".
if you get the message "**** FAILED TO BIND TO PORT!"
then you have done something wrong in the port forwarding or server properties.
If you get any errors, your server is ready. Now you can join your server, just type in your public ip.
2: op yourself
type:"/op usernamen" in the consol.
Step 6: Some Commands
- /op username op a player
- /deop usernamen deop a player
- /stop stop the server
- /ban usernamen ban a player
- /pardon usernamen unban a player
- /whitelist true
/whitelist add username
/whitelist remove username