How to create a Minecraft server for friends

Jugo Mobile
By
Jugo Mobile
Jugo Mobile is a platform dedicated to high-quality content in gaming, sports, and tech. Engage with high-quality content and connect with fellow enthusiasts and experts. Explore...
8 Min Read

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

Look no further if you are looking for the instructions. We’ll also cover the steps Mac users need to follow to create one.

Create a local Minecraft server for friends on Windows

These steps in this p will only work for Minecraft: Java Edition. If you play Bedrock Edition, you should refer to different instructions. You will need the latest version of Java on your computer, since this program is the only one that can run JAR files. Minecraft should include a built-in version (always updated), but you can modify the location to point to a standalone version.

Your PC should prompt you to update Java using the standalone option whenever it detects a newer version. If you use Java built into Minecraft, it updates automatically every time you start the game.

Part 1

  1. Download the Minecraft Server Java Edition archive.
    1710682348 535 How to create a Minecraft server for friends
  2. Create a folder on your desktop and give it a name “Minecraft servers” or whatever you prefer.
    1710682348 875 How to create a Minecraft server for friends
  3. Drag the “minecraft_server.1.xx.x.jar” JAR file in the folder.
    1710682348 452 How to create a Minecraft server for friends
  4. Guy “Symbol of the system” in the Windows search bar and open it. No administrator privileges are needed.
    1710682348 478 How to create a Minecraft server for friends
  5. To return to “Windows Explorer” and copy the directory.
    1710682348 445 How to create a Minecraft server for friends
  6. Guy “CD” and paste the address before running the command.
    1710682348 507 How to create a Minecraft server for friends
  7. Guy” Java -jar filename.jar” and press “Get into.” An error message should appear when loading.
    1710682348 478 How to create a Minecraft server for friends
  8. Open “eula.txt” in the server folder.
    1710682348 370 How to create a Minecraft server for friends
  9. Set “eula=false” to “eula=true” before saving. It will now open correctly in the future step.
    1710682349 638 How to create a Minecraft server for friends

Part 2

  1. The right button of the mouse “properties.server” and select “Open with -> Notepad”.
  2. Note the setting for “query.port=” because this number will be needed for port forwarding later.
    1710682349 954 How to create a Minecraft server for friends
  3. Write your “IP address of the computer” (IPv4) in the “server-ip=” configuration. You can get it using “ipconfig /all” in the “Command Prompt”. Others use this address to connect to their PC’s Minecraft server.
  4. Guy “survival” either “creative” after “gamemode=” to set the mode.
    1710682349 821 How to create a Minecraft server for friends
  5. Modify “spawning protection” If you wish.
    1710682349 963 How to create a Minecraft server for friends
  6. Guy “Yeah” either “No” to “allow nothing.”
    1710682349 808 How to create a Minecraft server for friends
  7. Set the difficulty for “peaceful,” “easy,” “normal,” either “hard.”
    1710682349 853 How to create a Minecraft server for friends
  8. Choose if you want PvP by typing “TRUE” either “FAKE.”
    1710682349 23 How to create a Minecraft server for friends
  9. Designate the maximum number of players the server can host.
    1710682349 818 How to create a Minecraft server for friends
  10. After “seed level”, you can write a seed if you need to add a particular world.
    1710682349 200 How to create a Minecraft server for friends
  11. Finish configuring the “server.properties” file with other preferences as needed, then click “File ->Save” And near “Pad.”

part 3

  1. return to the “Symbol of the system”.
    1710682348 478 How to create a Minecraft server for friends
  2. Guy “CD” and paste the address of your “Minecraft Servers” folder (or whatever you call it), then press “Get into” to execute the command.
    1710682348 507 How to create a Minecraft server for friends
  3. Guy” Java -jar filename.jar” and press “Get into.” This time the command should work correctly.
  4. Throw your “server.jar” file inside the “Server” folder.
    1710682349 938 How to create a Minecraft server for friends
  5. Check the server port in the server.properties file, which is always “25565,” and add that number to the TCP and UDP port lists in your router configuration. See your router’s manual for more details.

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

Create a Minecraft server on Mac

While Macs use a completely different operating system, they can still run the same Minecraft server file as Windows users. It is downloadable here. It will also execute commands using Terminal.

Part 1

  1. Download the Minecraft Server Java Edition JAR file.
    How to create a Minecraft server for friends
  2. Open “Edit text” and set the format to “Plain text.”
    1710682350 114 How to create a Minecraft server for friends
  3. Paste the following lines into the file:
    #!/bin/bash
    cd "$(dirname "$0")"
    exec java -Xmx1G -Xms1G -jar minecraft_server.jar
    1710682350 979 How to create a Minecraft server for friends
  4. Save the file as “command.start” without quotation marks.
    1710682350 321 How to create a Minecraft server for friends
  5. Open “Terminal” on your Mac.
    1710682350 159 How to create a Minecraft server for friends
  6. Guy “chmod A+x” without quotes and drag “command.start” in the Terminal to provide the correct path.
    1710682350 202 How to create a Minecraft server for friends
  7. Press “Get into” to save the changes.
    1710682350 805 How to create a Minecraft server for friends
  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 without quotes (“”) or square brackets () and with your Minecraft username. When you log into the server using your Minecraft account, this will give you administrator rights.
    1710682350 531 How to create a Minecraft server for friends
  2. Open “server.properties”.
    1710682350 332 How to create a Minecraft server for friends
  3. Configure the server according to your preferences. Insert your “IP address of the computer” in the “server-ip=” configuration to play privately with friends.
    1710682350 276 How to create a Minecraft server for friends
  4. Check your “query.port” number and register it. It should be “25565”.
    1710682350 23 How to create a Minecraft server for friends
  5. Save the file.
    1710682350 155 How to create a Minecraft server for friends
  6. Go to your router settings and add the TCP and UDP port number “25565” to the firewall. Be sure to check your router’s exact instructions as they differ.

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

This website It will help you find your IPv4 address to play privately with friends.

Frequently asked questions about creating Minecraft servers

How much does a private Minecraft server cost?

Minecraft private servers are extra secure, but you have to pay to use them. The cheapest options cost less than $5 a month, but some plans are more expensive due to the added protection against DDoS attempts and other threats.

How much does a Minecraft kingdom cost?

Minecraft Realms are personal multiplayer servers that run Minecraft. They are active even after everyone logs out. A Minecraft Realm costs $7.99 per month.

Who is around here?

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

Share This Article
Follow:
Jugo Mobile is a platform dedicated to high-quality content in gaming, sports, and tech. Engage with high-quality content and connect with fellow enthusiasts and experts. Explore the latest trends and innovations in our vibrant community. Join us and experience the future today!
Leave a Comment
Grow your brand and reach a larger audience. Advertise with us today and get noticed by thousands.
© 2025 Jugo Mobile. All Rights Reserved.