Home Games How To Make a Minecraft Server

How To Make a Minecraft Server

by Geek Insider Staff

Minecraft’s current sales put it at the top echelon of popular video games globally. Having sold over 230 million copies so far, Minecraft is not only a game but a tool to learn to code. So, if you’re interested in the game’s experience, you can launch your private server and customize your own Minecraft world. But first, there are things to put in mind.

Factors To Consider Before Making the Minecraft Server

Having a basic understanding of networking and computer concepts is crucial to managing the server efficiently. At least you should be familiar and comfortable with the following;

  1. Networking 
  2. Network configuration
  3. Using the command line
  4. Home router configuration
  5. System configuration

You don’t need a high-end system to run the Minecraft server. A desktop would work just as fine. However, you’ll need a more powerful machine to run the Minecraft server and play the game on the same device. One more thing: If you can find a wired ethernet connection, the better, as a wireless connection for servers is unreliable. Now let’s get to the bare bones.

Make a Minecraft Server on Linux

Your Linux VPS hosting type choice depends on the number of players you expect. Moreover, you must connect to your hosting with SSH and follow the process below.

Install Java

  1. Connect to the SSH as the root user
  2. Enter the “apt-cache search OpenJDK” command for a list of java-installation packages.
  3. Install the selected software package
  4. Press “Y” on the prompt to create installation space
  5. Locate Java to verify that it has been installed successfully
  6. Create and name a directory to save your Minecraft server files. 

Download the Server Files

  1. Open the directory you just created in the previous step and run the “wget” command to download the files. 

Be sure to download the latest version from the Minecraft download page. 

  1. Install and run “yum install screen” for smooth running even when disconnected. 

Start The Server

  1. To start, run the “java -Xmx512M -Xms512M -jar minecraft_server.jar nogui” command.
  2. Run the “stop” command to enable file editing.
  3. Edit the file named “server. properties” and set it to “enable-query=true.”
  4. Save the file and reboot your server. 

Make a Minecraft Server on Windows

Install Java

  1. Open “Control Panel.”
  2. Click “Programs.”
  3. Locate “Java”
  4. Select “Update Now.”
  5. Enter ” java -version” on a command prompt to see the version number. 

If the available version is outdated or you can’t find Java, download it from the official website. 

  1. Dedicate a location for all your Minecraft server files (Desktop, Programs, Documents, etc.)

Download and Install the Server

  1. Locate the server software from the Minecraft website and save it in your selected location. 
  2. Double-click the “.jar” file to start the server
  3. Accept the EULA text file prompted by the start. 
  4. Edit “eula=false” to “eula=true” to start. 

Alternatively, you can right-click on the file to run it as administrator.

Start the Server

  1. Open Windows command prompt
  2. Locate the Minecraft server file and enter “java -Xmx1024M -Xms1024M -jar {server file name} nogui” to start

Now the server should be running and accepting requests. 

Now you have a running Minecraft server where other Minecraft game players can join. Test the server by inviting others via the local or public IP address.  

You may also like

Leave a Comment