Step 1: Install Java The first step in setting up a Minecraft server is to install the latest version of Java. You can download the Java installer from the official Oracle website. Once you have downloaded the installer, simply run it and let Java install on your system.
Step 2: Download the Server File Next, you will need to download the server file from a reliable source. You can find the server file for the latest Minecraft version on websites like mcversions.net. Once you have downloaded the server file, create a folder on your computer to store the server files.
Step 3: Create a Server Folder After downloading the server file, create a new folder on your computer to store the server files. This folder will serve as the location for your Minecraft server.
Step 4: Create a Server Starter In the server folder, create a text file and name it “server starter.” Change the file extension from “.txt” to “.cmd.” Then, edit the cmd document and add the following line of code: java -Xmx1024M -Xms1024M -jar minecraft_server.1.18.2.jar nogui. You can adjust the amount of RAM allocated to the server by changing the values in the code.
Step 5: Edit the EULA In the server folder, you will find a file called “EULA.” Edit this file by changing “eula=false” to “eula=true.” This step is necessary to accept the Minecraft End User License Agreement (EULA).
Step 6: Run the Server Double-click the server starter file to run the server. This will start the Minecraft server on your computer.
Step 7: Configure Firewall Rules To allow other players to connect to your server, you will need to configure firewall rules on your computer. This involves adding a new firewall rule called “Minecraft” and specifying the query port number as the source port. You will also need to create TCP and UDP rules in both inbound and outbound settings.
Step 8: Share Your IP Address Once your server is up and running, you will need to find your IP address and share it with your friends. This will allow them to connect to your Minecraft server and start playing with you.
For Hamachi Users If you are using Hamachi to create a virtual private network (VPN) for your Minecraft server, you can download the Hamachi software from their official website and follow the instructions to set up a network for your server.
In conclusion, setting up a Minecraft server is a straightforward process that involves installing Java, downloading the server file, creating a server folder, configuring firewall rules, and sharing your IP address. By following these steps, you can create a fast and reliable Minecraft server for you and your friends to enjoy. Happy gaming!