Set Up a Minecraft Server on Mac With These Quick Steps

Do you wish to set up a Minecraft server for Mac computer and don’t know how? Read below to find out all the steps.

A bit difficult, a bit tricky, but we are here with you for each step. Besides being the second-largest loved game in the world, it is also a platform to teach kids how to code.

Ready to find out how to connect the PC Mac Minecraft server with any other computer on the same network around the corners of the world?

How to Set Up a Minecraft Server on Mac

Server Setup

  • Download Minecraft Server Files by visiting the link. Afterward, download JAR files from there.
  • Next, please create a new folder on your computer for Server files and name it how you want.
  • Move the downloaded files in the folder created.
  • Rename the files to “Minecraft_Server.jar.”
  • Start the TextEdit application from the Applications folder. From the desktop, click the Go menu and then select “Applications.”
  • Click on the “Format” menu and select “Plain Text” to switch the new document to a plain text document.
  • In the plain Text file, paste the command to start the server:

#!/bin/bash

cd “$(dirname “$0″)”

exec java -Xms1G -Xmx1G -jar minecraft_server.jar

Note: By replacing -Xms1G -Xmx1G with -Xms2G -Xmx2G you can improve the RAM for the server from 1 GB to 2 GB.

  • Now save the file with the name “start.command” in the same folder where JAR files are stored.
  • Then From the desktop, click on the Go menu and select the “Utilities folder” and click on Terminal.
  • Type chmod(click space) a+x(click space) in the Terminal Window and Put “start.command” file here.
  • Click return to run the command. This will change the permissions of the “start.command” file, allowing your server to start.
  • Double-click on “start.command” to start the server.
  • After running for the first time, the server will stop, and you will see some error messages.
  • Open the “Eula.txt” file, newly created in the folder, and Change the “eula=false” line to “eula=true.”
  • Again, Double-click on “start.command” to start the server. This process will take some time.
  • Type “/op <username>” into the server command line and Replace <username> with your Minecraft username to get privileged access to the server from the Minecraft account.
  • Edit “server.properties” file to change game mode entry and level too. You can choose 0,1,2,3 for game mode entry for Survival, Creative, Adventure, and Spectator respectively.

Connect Server and LAN

  • The server’s IP address is needed when you connect to the server from other computers on the same network. Click the menu, select “System Preferences,” then select “Network.” Select Network connection and note down its IP address. *
  • Open Minecraft on another system of your network.
  • Select “multiplayer” on the second computer thus begin scanning for the available games on the second computer.
  • Click “Direct connect” button, and this will allow you to enter the address.
  • Enter the address, and you will connect to the game directly.
  • How to play Minecraft on PC and Xbox together

Connect Server and Internet

  • Find Server’s Local IP address by the same method as shown above.
  • Configure the router to connect to the server over the internet to allow incoming connections. To do this, you’ll have to access your router’s settings.
  • Open the Port Forwarding section and Open TCP port 25565 for your server’s IP address. Enter your server’s IP address, then enter 25565 into the Port field. Select “TCP” as protocol and save changes.
  • Find your public IP address by open Google on the server computer’s web browser and type “my IP.” Your public IP will be displayed at the top of the search results. Your friend needs this public IP to connect with you. Enter the server’s public IP in the Direct Connect menu on another computer.
  • Remember to check your server’s public and local IP address regularly.

And that’s everything that you need to know about how to set up a Minecraft server on Mac.

You May Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *