Download Article
An in-depth guide to create a Minecraft: Java Edition server without spending money
Download Article

Do you want to host a free multiplayer Minecraft server for yourself and your friends? If you have Java, you'll be able to download and edit the server setup needed to customize your own server. To allow friends to join you, you'll need to set up port forwarding and share your IP address. Be sure to only share this information with trusted individuals. This How.com.vn will show you how to make a Minecraft: Java Edition server for free using your Windows, Mac, or Linux computer.

Things You Should Know

  • Download the server setup for Minecraft. Create a "Server" folder on your desktop.
  • Change "eula.txt" agreement from "false" to "true", then run "sever.jar" again. Customize your settings.
  • You must set up port forwarding on your router to host friends outside of your Wi-Fi network.
Part 1
Part 1 of 2:

Creating the Server

Download Article
  1. How.com.vn English: Step 1 Download the server setup for Minecraft Java Edition.
    Go to https://www.minecraft.net/en-us/download/server in a web browser and download the latest version update.[1]
    • The download will have a file named "server.jar".
    • This method will only work with the Java Edition of Minecraft.
    • Make sure you have Java installed on your computer.
  2. How.com.vn English: Step 2 Create a new...
    Create a new folder. Name it Server or another name that will help you differentiate it. This folder will be for your Minecraft server. For easy access, create the folder on your desktop. You can always change its location later.
    • On Windows, right-click the desktop → NewFolder.
    • On Mac, click a blank spot on your desktop → FileNew Folder.
    Advertisement
  3. How.com.vn English: Step 3 Move the server.jar file into the Server folder.
    Locate your recent downloads on your computer to find the "server.jar" file.
    • Click and drag the file into the Server folder.
  4. Step 4 Double-click the "server.jar" file.
    This will run the file.
    • As the file runs, you'll see new files appear in the Server folder:
      • logs folder
      • eula.txt
      • server.properties
  5. Step 5 Right-click "eula.txt" and click Edit.
    A text file will open with an agreement.
  6. How.com.vn English: Step 6 Delete false and enter true.
    The end of your text agreement should look like: eula=true.
  7. How.com.vn English: Step 7 Click File, then Save.
    This will save your agreement.
  8. Step 8 Double-click the "server.jar" file again.
    This will run the file again and open the Minecraft server application window.
    • As the file runs, Windows Defender Firewall may pop-up with a block warning.
      • Check the box to allow Private networks, such as my home or work network.
      • Click Allow access.
  9. How.com.vn English: Step 9 Wait for Minecraft server to finish preparing.
    You can see the progress in the Log and chat section on the right of the window.
    • It will take some time to prepare the spawn area. Do not close the Minecraft server window.
    • When it's finished, you should see the following files in the Server folder:
      • logs folder
      • world folder
      • banned-ips.json
      • banned-players.json
      • eula.txt
      • ops.json
      • server.jar
      • server.properties
      • usercache.json
      • whitelist.json
  10. Advertisement
Part 2
Part 2 of 2:

Configuring the Server

Download Article
  1. How.com.vn English: Step 1 Open the server.properties file.
    Right-click server.properties → click Open with → click More apps → select Notepad → click OK. On Mac, the program will be TextEdit.
    • Make sure the box is checked for Always use this app to open .properties files.
    • The server.properties file will open. This is where you can edit your game settings.
  2. How.com.vn English: Step 2 Edit your server settings.
    In the server.properties file, you'll see a list of settings you can edit.
    • Change your server name by editing motd=A Minecraft Server into motd=Your Server Name.
    • If you want to turn a setting on, delete false and replace with true.
    • To turn a setting off, delete true and replace with false.
    • For other settings,
    • When finished, click FileSave. Close the server.properties file.
  3. How.com.vn English: Step 3 Restart the Minecraft server application.
    You'll need to restart the server for some of the setting changes to take effect.
    • Click the X in the corner, then double-click server.jar again.
  4. How.com.vn English: Step 4 Launch Minecraft Java Edition.
    Click the Minecraft Launcher, then Play to open Minecraft.
    • Make sure you run the same version of Minecraft as the server setup.
  5. How.com.vn English: Step 5 Click Multiplayer.
    This will be underneath Singleplayer.
  6. How.com.vn English: Step 6 Click Add Server.
    This will be next to Direct Connection.
  7. Step 7 Under "Server Address", enter localhost.
    This will work for yourself and other people on your Wi-Fi network.
    • If desired, you can enter a name under Server Name.
  8. How.com.vn English: Step 8 Click Done.
    The server will be added underneath the Play Multiplayer header. If you have other servers added, you may need to scroll down to find yours.
  9. How.com.vn English: Step 9 Double-click your server.
    You'll begin to connect to your server.
    • You can now start building and exploring.
  10. How.com.vn English: Step 10 Set your character as the admin (optional).
    Once you're loaded into your server's world, you can set your character as the admin.
    • Switch to the "Minecraft server" application window. This should always be running in the background as you host your server.
    • In the "Log and chat" field, enter op [username] and press Enter.
      • If your username is "player_one", the command should look like op player_one.
    • You'll see the success prompt: "Made player_one a server operator".
  11. How.com.vn English: Step 11 Invite other players...
    Invite other players (optional). To play with others, you must set up port forwarding on your router. Once this is completed, you'll be able to find and share the server address.
    • Find your IP address.
      • If you don't know your IP address, open Google and search "what is my ipv4 address".
      • You'll see your public IP address in the search results.
    • Find your server port number.
      • Open the "server.properties" file.
      • Locate server-port. In most cases, the number will be 25565.
    • Find your complete server address. This will be your IP address and server port number separated by a colon (:).
      • For example, this will look like 77.232.22.133:25565.
    • Friends will need to launch Minecraft, click MultiplayerDirect Connection → input 77.232.22.133:25565.
    • You'll now be able to play Minecraft with your friends.
  12. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Do I need to pay if I create a server with these methods?
    How.com.vn English: Community Answer
    Community Answer
    No. These methods are free. However, if you want simpler, easier to work with servers, then you will have to pay on a different website.
  • Question
    How do I make it creative?
    How.com.vn English: Community Answer
    Community Answer
    You can go into the "Server Command" section on Home in your Dashboard, and type /gamemode c@p.
  • Question
    What happens if I don't port forward?
    How.com.vn English: Community Answer
    Community Answer
    Nothing. It will simply give a request refused error as if you didn't have a Minecraft Server at all.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Rain Kengly
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Rain Kengly. Rain Kengly is a How.com.vn Technology Writer. As a storytelling enthusiast with a penchant for technology, they hope to create long-lasting connections with readers from all around the globe. Rain graduated from San Francisco State University with a BA in Cinema. This article has been viewed 924,120 times.
      53 votes - 61%
      Co-authors: 44
      Updated: May 9, 2024
      Views: 924,120
      Categories: Minecraft Servers
      Article SummaryX

      1. Go to https://www.minehut.com.
      2. Create an account.
      3. Enter a name for the server.
      4. Select a server type and click Create.
      5. Click Dashboard.
      6. Click Activate Server.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 924,120 times.

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement