Do you want to configure a Minecraft server but you do not know how to start? In this tutorial, I’ll try to explain how you can set up your Minecraft server.
First of all, you have to know that there are two large platforms: Vanilla and Bukkit.
Vanilla is the original, unmodified server. Bukkit created CraftBukkit, a modified customer on which you can install plug-ins to improve your server and player experience.
I’ll explain in this article how to set up a Bukkit server only.
The first step is to download the following:
– the latest version of Craftbukkit. If it not the right one for your Minecraft version you can also download a beta or a development but there might be some bugs.
– the latest version of 32-bit or 64-bit Java (depending on your OS).
– (optional) the essential plugins for any Bukkit server: Essentials and World Edit.
Install the latest Java version in case you did not update it, and now we can start installing the server.
1. Create a folder, anywhere (it does not matter where), and name it for example, ‘Minecraft Server’ and you can save it on Desktop.
2. Copy or move to the folder you just created, the Craftbukkit version you downloaded before.
3. Like any Jar file, the server must be opened with Java, and because Bukkit does not have the graphical interface, it needs to be opened with a .bat file. Open a Notepad document and write the following code:
@ECHO OFF
java -Xmx1920M -Xms1080M -jar craftbukkit.jar
PAUSE
Xmx and Xms indicate the minimum and maximum RAM allocated to the server (1024M = 1G). You need 1 GB for every 5-10 players, but you can change the value by preference. If you have 4GB, you should input 1-2 GB, maximum 2.5GB.
Save the file as run.bat in the server folder, where craftbukkit.jar is also located. Make sure that the extension is run.BAT, not run.txt!
4. Click on run.bat and open the console, wait for the rest of the files to be generated, and then close the window (or you can write stop in the console and press enter).
Now anyone in the network can connect to the server by writing localhost in Minecraft’s Multiplayer.
5. The server folder should contain now a server.properties file. Open it with Notepad or what text editor you use, and check server-ip, server-port and online-mode.
For server-ip, after ‘=’ you have to write the intern IP of your computer. To find it out you have to open CMD (Start > CMD), and you write the command ipconfig and look for IPv4 Address. The IP you find should be something like 192.168.0.xxx. That’s the IP you write to server-ip.
At the server-port is written the server port which by default is 5600. If you do not have another server open on this port, you should not change it.
For online mode, you have to change from true to false. If true, only those with a premium account can access it, if false everyone can connect to them.
6. Have a second look in the server.proprieties file to see if you want to change something. You can activate PVP by modifying pvp = false in pvp = true. Then open the server.
7. Connect to the server to see if everything works. Go into Minecraft at Multiplayer and connect to localhost or the IP from IPv4 Address. Now you should be OP to have access to all the commands. Write in OP console your_game_name and press enter, then you should be able to use all the commands. Type /help while you are inside the game to see all the commands, or help in the console.
8. Done! If you’re using wired internet, you’re done. Now you just have to share with your friends your external IP. If you are using a Wi-FI connection, you need to create port forwarding rules to allow the game server to connect to the internet.