How To Create a Minecraft Server for Friends

While there’s nothing wrong with playing Minecraft alone, the game is extra fun when a few friends join you. Many players create servers for lengthy building projects or play with mods because endless possibilities exist. However, not everyone knows how to make one because the process contains slightly confusing steps.

How To Create a Minecraft Server for Friends

Look no further if you’re searching for the instructions. We’ll also cover the steps Mac users must use to make one.

Creating a Local Minecraft Server for Friends on Windows

These steps in this section will only work for Minecraft: Java Edition. If you play on Bedrock Edition, you must consult different instructions. You’ll need the latest version of Java on your computer, as this program is the only one that can run JAR files. Minecraft should include an embedded version (always up to date), but you can modify the location to point towards a stand-alone version.

Your PC should prompt you to update Java using the stand-alone option whenever it detects a newer version. If using the Minecraft embedded Java, it auto-updates every time the game launches.

Part 1

  1. Download the Minecraft Java Edition server file.
  2. Create a folder on your desktop and name it “Minecraft Servers” or whatever you prefer.
  3. Drag the “minecraft_server.1.xx.x.jar” JAR file into the folder.
  4. Type “Command Prompt” on the Windows search bar and open it. Admin privileges are not needed.
  5. Go back to “Windows Explorer” and copy the directory.
  6. Type “cd” and paste the address before executing the command.
  7. Type” Java -jar filename.jar” and press “Enter.” You should get a failure to load prompt.
  8. Open “eula.txt” in the server folder.
  9. Set “eula=false” to “eula=true” before saving. Now, it will open successfully in the future step.

Part 2

  1. Right-click “” and select “Open with -> Notepad.”
  2. Write down the setting for “query.port=” because this number will be required for port-forwarding later.
  3. Type your “PC IP address” (IPv4) in the “server-ip=” setting. You can obtain it using “ipconfig /all” in the “Command Prompt.” Others use this address to connect to your PC’s Minecraft server.
  4. Type “survival” or “creative” after “gamemode=” to set the mode.
  5. Modify “spawn-protection” if you wish.
  6. Type “yes” or “no” for “allow-nether.”
  7. Set up the difficulty to “peaceful,” “easy,” “normal,” or “hard.”
  8. Choose whether you want PVP by typing “true” or “false.”
  9. Designate the maximum amount of players the server can hold.
  10. After “level-seed,” you can type a seed if you need to add a particular world.
  11. Finish setting up the “” file with other preferences as needed, then click “File ->Save” and close “Notepad.”

Part 3

  1. Go back to the “Command Prompt.”
  2. Type “cd” and paste your “Minecraft Servers” folder (or whatever you named it) address, then press “Enter” to execute the command.
  3. Type” Java -jar filename.jar” and press “Enter.” This time, the command should work successfully.
  4. Launch your “server.jar” file within the “Server” folder.
  5. Refer to the server port in the file, which is always “25565,” and add that number to the TCP and UDP port lists in your router settings. See your router’s manual for details.

For the complete list of configurable server properties, visit this page for the details. In addition to some of the aspects we covered above, you can adjust some obscure settings.

Creating a Minecraft Server on Mac

While Macs use an entirely different operating system, they can still run the same Minecraft server file as Windows users. It can be downloaded here. You’ll be running commands using the Terminal as well.

Part 1

  1. Download the Minecraft Java Edition server JAR file.
  2. Open “TextEdit” and set the format to “plain text.”
  3. Paste the following lines in the file:
    cd "$(dirname "$0")"
    exec java -Xmx1G -Xms1G -jar minecraft_server.jar
  4. Save the file as “start.command” without quotation marks.
  5. Open “Terminal” on your Mac.
  6. Type “chmod A+x” without quotes and drag “start.command” into the Terminal to provide the right path.
  7. Press “Enter” to save the changes.
  8. Double-click the file to start the server.
  9. Exit the server.

Part 2

  1. Go to the server command line and type “/op <Minecraft username>” without quotes (“”) or brackets (< >) and with your Minecraft username. When you log in to the server using your Minecraft account, this will provide you administrator rights.
  2. Open “”
  3. Configure the server to your preferences. Insert your “PC IP address” in the “server-ip=” setting for private play with friends.
  4. Check your “query.port” number and record it. It should be “25565.”
  5. Save the file.
  6. Access your router settings and add the TCP and UDP port number “25565” to the firewall. Ensure you consult the exact instructions for your router since they differ.

As for getting a public IP address to use for public players, it only takes one Google search and several seconds. If you go that route, you’ll change the PC IP address to the public one.

This website will help you find your IPv4 address for private play with friends.

Minecraft Server Creation FAQs

How much is a private Minecraft server?

Private Minecraft servers are extra secure, but you must pay to use them. The cheapest options cost less than $5 a month, but some plans are more expensive because of additional protection against DDoS attempts and other threats.

How much is a Minecraft Realm?

Minecraft Realms are personal multiplayer servers that Minecraft runs. They’re active even after everyone logs off. A Minecraft Realm costs $7.99 a month.

Who’s Around?

With the help of Minecraft servers, friends can collaborate on a grand reconstruction of the pyramids of Giza or survive in the wild together. Servers for public use can be free, but private ones are available as subscriptions if you want extra protection. However, you only need your PC’s IP address to play with trusted friends. Hosting your own server requires some RAM, but that’s doable with a gaming PC.

Leave a Reply

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

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Todays Highlights
How to See Google Search History
how to download photos from google photos