Hosting your Own Minecraft Server Minecraft Server



Mojang allows players to host their own Minecraft servers by using the server JAR file. By hosting your own Minecraft server, you have the ability to alter the servers settings and play with other players.
Minecraft online



Open your command prompt to determine the Java version is installed on your computer. It is possible to install the latest version, but running the command "java --version" will enable you to verify that you're running Java 7.



Lastbut not least, download Minecraft_Server.exe. This will launch the JAR file in Windows with the appropriate parameters. The official Minecraft website offers the download.



If you wish to change the allotted RAM (server memory) you can create a batch file which will launch the Minecraft_Server.exe. Simply open Notepad and copy the following code:



64bit



"C:Program Files (x86)Javajre7binjavaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.exe"



32bit



"C:Program FilesJavajre7binjavaw.exe" -Xms1024m -Xmx1024m -jar "Minecraft_Server.exe"



Replace 1024 with the amount of RAM you would like to allocate to your server in megabytes. Then save the file as "start.bat". Google can be used to perform gigabyte-togigabyte calculations. The moment you open this file, it will start your server.



Once you have your server up and running, you and other players to the same network can join the server by opening the Minecraft client and connecting to the server IP "localhost". Port forwarding on your router is required for allowing outside connections to connect to your server in order to play online with friends. Hamachi is a program that grants you a public address can also be installed. This is a complex process and most homes have internet connections that are not able to handle the large number of users online.



To configure your server, you need to open the server.porperties file which was created when you first started your Minecraft server. The server.porperties file contains the basic settings of your server. After making any edits you should stop the server and then restart it to ensure that the changes take effect. The server's directory will include a file called ops.txt. This text file allows you to list all the users who have administrative rights on your server. After placing your username in the file, save it and restart the server. Your banned-players.txt list can be a valuable tool for combatting criminals and the whitelist.txt file may be used to block any player other than those who are listed.