If you are a Minecraft addict, you must know how to setup your own private server and how to connect to local servers. This Minecraft tutorial will guide you to make your own Minecraft server so that you and your friends can enjoy private LAN parties.
How to Setup Minecraft Private/Dedicated Server
Step 1|Setup Java (version 1.6) on your System
First of all you need to check which version of Java you are running on. To find this out open Command Prompt and type
If the result tells you the version of Java is 1.6, you are good to go, skip to step 2.
Otherwise you must download and install Java from here and check its version from command prompt again.
Step 2| Download Minecraft Server Files
Now you need to to download the server file “Minecraft_server.jar” from hereor here.
You will be given a compressed file, which you must extract in a folder named“Minecraft Server”.
Step 3| How to Set Up Minecraft Server
Open the bat file named “Start server.bat” (Run as Administrator in Win7/Vista).
The server will start, generating some new files, in order to configure your server you must edit these files. You will have to shutdown the server first.
Step 4| How to Configure Minecraft Server
Configure your server by opening “server.properties” in notepad.
Change settings as you wish, if you want a private server change Public to False. Other changes depend on you, mine were:
verify-names=true admin-slot=true port=25565 public=false server-name=Vendetta Minecraft Server max-players=16 max-connections=3 motd=Welcome to HELL\! grow-trees=true
You can add usernames of the admins who will have ‘op’ (operator) in “admin.txt”.
An admin with op rights can use these commands:
/op <name>. Makes the player with name <name> an OP. They have to be logged in.
/deop <name> . De-ops a player.
/kick <name>. Kicks a player
/ban <name>. Bans and kicks a player
/unban <name>. Pardons a banned player
/banip <name> . Bans a player by IP. Cannot be undone in game, you must manually change “banned-ip.txt”.
/say <message>. Broadcasts <message> across the entire server.
/setspawn. Sets the current location as the default spawn location for new players
/tp <name>. Teleports to a player.
/tp<target><user-location>. teleports to <user location>
/solid . Switches between placing normal and placing unbreakable stone
/pardon <name>. Removes the ban on the player with the typed name, allowing them to reenter the server.
Minecraft Port Forwarding
If you are behind a router, you must forward this port TCP/UDP 25565.
For more info on port forwarding visit portforward dot come.
Step 5| How to Connect to a Minecraft Server
To join your own server select “multiplayer” option in game client and type local IP address (like 192.168.1.2) and give port number 25565.
For other people connecting via internet, they must open this URL in their browsers
http://www.minecraft.net/play.jsp?server=<YOUR IP>&port=<SERVER PORT>
Note. YOUR IP here means your external IP address; you can check it from whatismyip, and server port is 25565 (default).
Minecraft Server Problems – FAQS and Troubleshooting Guide
1# Start Server batfile doesn’t work
‘java’ is not recognized as an internal or external command.
This is usually caused by a bad java installation, and has two fixes.
A. Reinstall java.
B. Do this method.
- Right click My Computer, select Properties
- Click Advanced tab
- Click Environment Variables
- Under System Variables, select Path, then Edit.
- Add at the end of the lower textbox your path to the java etc “;C:\Program Files\Java\jre6\bin” semicolon must be there.
Now you have successfully made your first Minecraft server, invite friends and enjoy your time. If you face any issue, comment and we will try to help you out.