How to Make a Minecraft Server – Step-by-Step Guide [2025]

create a minecraft server

There comes a time when you get bored of playing solo mode in the Minecraft game. You desire to play it with your family and friends. In this situation, playing game with Minecraft servers is the best solution if you want to play multiplayer mode. In this article, we will explain how to make a server in Minecraft with smooth game-play experience.

A Minecraft Server is a server where you can play with your family and friends or even other players in the same world. This server can keep your world, and you can join it from anywhere. With Minecraft servers, players can modify anything in the game, like setting up different game modes, adding plugins, restricting players’ access if they want, and much more. Players can create Local Servers and WLAN servers as well to connect with different players from around the world. And players can also set these servers to private or public. When it comes to Minecraft Servers, Minecraft Java has more features than any other Minecraft’s Edition.

  • Before creating a server in Minecraft, make sure that you have
  • Stable internet connection.
  • Java is installed with the latest version.
  • Minimum 4 GB RAM, but recommended is 8 GB.
  • Basic knowledge of the command prompt (CMD).

Minecraft Server

Install Java

  • Minecraft server runs on Java. Ensure you have installed latest Java version.
  • Install Java, then check the installation using CMD command: Java -version.
  • Run the Server.
  • Open the folder where .jar file is saved.
  • open command prompt by typing CMD in address bar.
  • Type given phrase: Java -Xmx1024M -Xms1024M -jar server.jar nogui.
  • Based on system’s RAM players can change RAM memory accordingly.
  • The server will run but you might face a message of accepting EULA.

Accept EULA

  • Search for the eula.txt file in the server folder.
  • Once found, open that file and search for “eula=false”.
  • Now change the value of  “eula=false” to “eula=true”.
  • Save the file and close.

Run Server Again

  • Enter the commands again: Java -Xmx2048M -Xms1024M -jar server.jar nogui
  • This time, the server will start properly and create more files.

Server Settings

  • You can set your server properties by opening the ‘server.properties’ file.
  • You can set each line mentioned in the table below according to your choice.
  • Setting Lines Description: gamemode survival, Survival, creative, or adventure.
Setting LinesDescription
gamemode survivalSurvival, creative, or adventure.
max-player=10Adjust the number of players.
difficulty=normalNormal, hard, easy.
level-name=worldYou can name anything.
online-mode=truetrue.
pvp=truefalse to disable.
motd=Welcome to my server.Write any message you want to display.

Firewall 

  • If you face a prompt to ask for permissions for the Firewall from Java, enable the allow access option so other players can join your server.

Port Forwarding Settings

These settings allow players playing from other networks (not LAN) to join your server. If these settings are not configured, then only players playing on the same WIFI can join; others cannot.

  • Check your device to find the IP address.
  • Once IP found access to the router with that IP
  • Find the print forwarding option and configure the settings given in the table.

With the given commands, you can set Port Forwarding settings:

FieldRecommended Entry
Service Name:Minecraft Server
Port Range25565
Local IP Address:Your IPv4 address
Local Port25565
ProtocolTCP/UDP
Statusenabled
  • Open Minecraft APK on your PC.
  • Click on multiplayer and choose direct connect.
  • Enter “localhost” in the given field.
  • Players with the same wifi can enter their local IP. You can easily find it by typing ipconfig in the CMD.
  • Players on other networks can share their public IP. Players can easily find it on https://whatismyipaddress.com/ 
  • Do not share your IP address to anyone.
  • Players can use a whitelist to allow only specific users.
  • Make sure that your world is backed up.
  • Use a firewall to limit unwanted access.
  • If players face some lag in the game, they can upgrade the server’s RAM.

Yes, but it uses different methods, such as using apps like MCPE Server Maker or hosting services.

Yes!  But you need to use a server version like Forge or Fabric to play mods on the server.

Yes, your friends can join your server from anywhere only if the port forwarding setting on the router is configured.

Yes, you can set the game mode in server settings while creating the server.

You can set the player limit in the server file, whereas 5-10 players are recommended to join the server.

Similar Posts