How to Create a Free Minecraft Server (2022)

How to Create a Free Minecraft Server (2022)

 Players may use professional services to run a Minecraft server, but this isn't the only option. Because the game's foundations are in Java, gamers may operate their own server on their own PC hardware for free. Mojang strongly supports gamers in constructing their own Minecraft server, even providing them with the required tools.

Minecraft gamers may run their own servers on their own computers
Minecraft gamers may run their own servers on their own computers

The essential files may be downloaded from the game's official website. They may connect to their server with friends and play the game together after a little configuration.

A step-by-step approach to hosting your own Minecraft Java server

For individuals who are unfamiliar with file transfer and editing, setting up a Java-based Minecraft server might be difficult. However, the work is not as difficult as it appears at first look.

Mojang also provides a tutorial to aid users through the procedure on the game's official website. Players will have a base server that they may alter to their taste or play straight away in version 1.19 with just one folder and a few files. Because Mojang supplies many versions of the game's server file, this solution also applies to prior versions of the game.

Online gamers may run their own server for free by following the methods outlined below:

  1. Navigate to the game's main website, which hosts the server Java file. 1.19 players should make sure to download the server. The current server build's 1.19.0.jar file.
  2. Players should create a folder in which to save the downloaded.jar file for easy access. It can be called whatever the player wants, although something along the lines of "Minecraft Server" will suffice. After creating their folder, gamers should insert their downloaded.jar file inside.
  3. Gamers must then open the command prompt and type cd followed by the path of the folder containing the.jar file. C: UsersAdminDesktopMinecraft Server, for example, or whichever directory the folder is in. Open the server folder and look at the top of the window to see this directory.
  4. Players should then type Java -jar server.1.19.0.jar and click enter. Players will see an error, which is intentional since it will produce the required EULA file.
  5. Players should return to the server folder and open the EULA.txt file with their favorite text editor, such as Notepad.
  6. Before saving changes and closing the text editor, look for the line that says "eula=false" and replace it with "eula=true". A server.properties file should also be present, which should be opened with a text editor. To open this file successfully, some players may need to click "Open With" and manually pick their text editor.
  7. Players need to take notice of the line that says "query. port", as it will show the ports that they will need to forward on their router if appropriate. This isn't always essential, depending on a player's hardware configuration. Traditionally, players must forward the default port of 25565 in their network settings, however, the port may alter in rare cases. The remaining server properties file will govern how the server functions. To set the server's default game mode, for example, "gamemode" can be set to Survival, Creative, or Adventure. Players may also customize the difficulty, PvP access, maximum player count, and whether or not the Nether is accessible.
  8. After making all of the necessary modifications to server.properties, players can save the changes. Then, to run their server, participants must repeat Steps 3 and 4. If everything is done successfully, the.jar file should start the server and players should be able to connect to it.
  9. If players did not specify an IP address in their server settings file, the server IP address will be assigned to their computer. For example, if a player's PC address is, the server's IP will be the same. Players may connect to the server by providing the IP address followed by the forwarded port in Minecraft's multiplayer interface. For example, may be an IP for players to connect to. From the multiplayer menu, the person running the server can also type localhost to connect directly to their server.

After completing these steps, Minecraft players and the server administrator should be able to log in to the server and begin playing. If any of the above settings need to be changed in the future, the administrator can reopen the server.properties file in their text editor and make the necessary adjustments.

See Also