Heart Internet Blog Focusing On All Aspects Of The Web

From Fun's Silo
Jump to: navigation, search

Minecraft was the second most popular video game in 2018, with over 144,000,000 copies sold.



Why is it so beloved? It's more than a videogame. It's an educational tool that teaches kids how to code, how to solve problems and how to exercise creativity. And it's also an open platform to be expanded by mod developers.



If you're new to the game, go and buy the game and start playing. But if you want to enjoy the full Minecraft experience, you'll need to set up your own private Minecraft server.



This guide will walk you through how to set up a Minecraft server on Windows or Mac. If you already have a dedicated server from us, you can use these steps to set up your server and start playing.



How to create a Minecraft server for Windows, Mac, or Linux



At the very core, these are the steps you'll need to follow to set up a Minecraft server:



1. Java 2 should be updated. Choose a location for your server 3. Download the Minecraft server software 4. Start the Minecraft server 5. Check to make sure that your server remains accessible



Take a look at your options



If you want to run a Minecraft server from home, make sure you have a powerful system that allows it to run smoothly.



If you don't wish to host your server at your home for security reasons, or any other reason you have, you can use a provider that hosts game servers. A Dedicated server from Heart Internet is a good choice. It prevents you from exposing your home network and saves you the trouble of managing server hardware.



Let's get started!



Setting up a Minecraft server on Windows



Get the latest version of Java



Minecraft is a Java-based video game. Minecraft Servers Make sure you have the most recent version of Java. Go to java.com/en/download. Download and install the latest Java version.



Next, you will need to select the location where you would like to set up and manage the server. We recommend creating a folder to keep all files organized.



Once you've chosen a location, go ahead and download the latest Minecraft server setup software from the official site.



This will download as an.jar file. Move it to the location you chose in step two and double-click it to start the server.



You must also agree to the EULA agreement. Edit the eula.txt to change eula=false and eula=true.



Now you're ready to start the Minecraft server.



Go to the Minecraft server folder where you installed the server files and initiate the server by executing this command:



To start the server, you can double-click on the.jar file. In this case, you might need to allow the Minecraft server through the firewall.



That's it. Now that your server's up and running you can invite others to connect through your local IP address as well as via your external/public IP adress.



Enter your IP address into the Minecraft Server Status Checker to check if your server is accessible.



Mac OS X: How to set up a Minecraft server



Install or update Java



Java is automatically installed if you are using a recent version of MacOS. If you're using an older version, you may need to download and install a legacy Java version from the Apple website.



Create a dedicated folder for all your Minecraft server files so everything is organised and easy to find.



Download the Minecraft server setup software from the official website.



This downloads in a.jar format, which you should save at the location you specified in the previous step.



Next, open TextEdit. Change the format to plaintext. Copy and paste these instructions into your file:



exec java -Xms1024M -Xmx1024M -jar minecraft_server.jar nogui



Save the file as start.command in the same folder where the other Minecraft server setup files are located.



To make it work you will need to grant permission.



Open Terminal, and type chmod.a+x after the command. Drag and drop the file start.command into the terminal window, and then press enter.



Start the server



Double-click the start.command folder to open a new terminal window.



You might get error messages or missing file warnings if you are running the server for first time. This is normal so it's nothing to be alarmed about.



There you go! Your server is now running. This means that you can invite people to connect to it via either your local IP address, or via your public/external IP address.



Make sure your server is accessible



Don't forget to enter your IP address into the Minecraft Server Status Checker to check if your server is accessible.



Setting up a Minecraft server on Linux



As mentioned before, if you don't want to take on the risks or the hassle of hosting a server at home, you can always get a game server hosting plan like a Dedicated Server from Heart Internet.



Next, connect to your hosting via SSH. If you aren't familiar with the process, the support article explains it.



While SSH'd into your host as the root user, enter the following command:



This will return a list of OpenJDK packages that are compatible with Java. Let's select openjdk-7.jdk which is the OpenJDK 7 development kit.



To update the list packages from remote repositories use the following command



Next, install the chosen software package.



Now press "Y" and the installation will be authorized.



Choose a location for your Minecraft server files



Create a new folder on your host where you'd like to save all your Minecraft server files. Then, navigate to that folder.