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

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 wikiHow 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

  1. 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. 2
    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. 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. 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. 5
    Right-click "eula.txt" and click Edit. A text file will open with an agreement.
  6. 6
    Delete false and enter true. The end of your text agreement should look like: eula=true.
  7. 7
    Click File, then Save. This will save your agreement.
  8. 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. 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

  1. 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. 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. 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. 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. 5
    Click Multiplayer. This will be underneath Singleplayer.
  6. 6
    Click Add Server. This will be next to Direct Connection.
  7. 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. 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. 9
    Double-click your server. You'll begin to connect to your server.
    • You can now start building and exploring.
  10. 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. 11
    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

  • Question
    Do I need to pay if I create a server with these methods?
    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?
    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?
    Community Answer
    Community Answer
    Nothing. It will simply give a request refused error as if you didn't have a Minecraft Server at all.
Advertisement

About This Article

Rain Kengly
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Rain Kengly. Rain Kengly is a wikiHow 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 824,421 times.
2 votes - 100%
Co-authors: 43
Updated: March 24, 2023
Views: 824,421
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?
Advertisement