Hosting Your Very Own Minecraft Server
Mojang allows players to host their own Minecraft servers with all the server JAR file. By hosting your own Minecraft server you are able to affect the servers settings and have fun with friends. - Minecraft Server Hosting
First thing you need to do is open your command prompt to see which form of Java is installed on your pc. Just install the latest version, but running the command "java -version" will assist you to concur that you're running Java 7.
The last step is to download the Minecraft_Server.exe file that will launch the JAR file inside Windows with all the proper parameters. The download can be obtained on Minecraft's official website.
If you need to alter the allotted RAM (server memory) you can create an order file that will launch the Minecraft_Server.exe. Simply open Notepad and paste the following distinct code:
"C:Program Files (x86)Javajre7binjavaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.exe"
"C:Program FilesJavajre7binjavaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.exe"
Replace 1024 with the amount of RAM you intend to give your server in megabytes amd save the file as "start.bat". You may use Google to complete gigabyte to megabyte calculations. Opening this file will start your server.
Once you have your server running you together with friends connected on a single local network can join the server by opening the Minecraft client and joining the server IP "localhost". If you want to play with friends online, you have to port forward your router so outside connections can connect with your server. You can also install Hamachi, a program giving you a public Internet protocol address. It is a complicated process and many residential web connections cannot handle a large amount of players online.
To begin with configuring your server you can open the server.porperties file which was created when you launched your Minecraft server. This file offers the main settings for the server, and after making edits you should stay away from the server and start it again for changes to adopt effect. Your server's folder may also have a file called ops.txt. This text file allows you to list players who needs to have administrative privleges on the server. After placing your username within the file, reserve it and restart the server. Your banned-players.txt list can be a useful gizmo for combatting malicious users, and also the whitelist.txt file enables you to block all players except those listed. - Minecraft Server Hosting