Mojang allows players to host their own Minecraft servers using the server JAR file. By hosting your own Minecraft server you are able to alter the servers settings and play with friends.
The first thing you will need to do is open your command prompt and find out which version of Java is installed on your computer. You can just install the newest version, but running the command “java -version” will allow you to confirm that you are running Java 7. hypixel
The last step is to download the Minecraft_Server.exe file which will launch the JAR file inside Windows with the proper parameters. The download is available on Minecraft’s official website.
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 paste the following line of 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 wish to give your server in megabytes amd save the file as “start.bat”. You can use Google to do gigabyte to megabyte calculations. Opening this file will start your server.
After getting your server running you and friends connected on the same local network can join the server by opening the Minecraft client and joining the server IP “localhost”. If you would like to play with friends online, you must port forward your router so outside connections can connect to your server. You can also install Hamachi, a program which gives you a public IP address. This is a complicated process and most residential internet connections cannot handle a large amount of players online.
To begin configuring your server you can open the server.porperties file that was created when you first launched your Minecraft server. This file contains the main settings for your server, and after making edits you should stop the server and start it again for changes to take effect. Your server’s folder will also contain a file called ops.txt. This text file allows you to list players who should have administrative privleges on the server. After placing your username in the file, save it and restart the server. Your banned-players.txt list is a useful tool for combatting malicious users, and the whitelist.txt file may be used to block all players except those listed.