Introduction: Host Your Own Minecraft Server (windows)

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.

Download java here.

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

max-tick-time=60000

generator-settings=

allow-nether=true

force-gamemode=false

gamemode=0

enable-query=false

player-idle-timeout=0

difficulty=1

spawn-monsters=true

op-permission-level=4

announce-player-achievements=true

pvp=true

snooper-enabled=true

level-type=DEFAULT

hardcore=false

enable-command-block=false

max-players=20

network-compression-threshold=256

resource-pack-sha1=

max-world-size=29999984

server-port=25565

server-ip= Your local IP

spawn-npcs=true

allow-flight=false

level-name=world

view-distance=10

resource-pack=

spawn-animals=true

white-list=false generate-structures=true

online-mode=true

max-build-height=256

level-seed=

prevent-proxy-connections=false

motd= test server

enable-rcon=false

Step 4: Static Ip & Port Forwarding

Static IP

A static IP ensures that the router no longer change your ip. That 's important for the Port forwarding.

here is a guide

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

here is a good guide

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 false

  • /whitelist add username

  • /whitelist remove username