I want to understand how servers work and if it was possible for me to make the Minecraft server private so only myself and a select few of my friends could play?

4 Answers 4


Once you have run the server software and port forwarded, in a file named server properties, set whitelist to true. When you've done that, there will be another file called whitelist where you can list the players names that are allowed to join.

  • Where is the file? Mar 21, 2015 at 20:46
  • thw whitelist file and the properties file can be found in the same folder as your minecraft-server.jar file! or maybe if you are using plugins it may be in another folder!
    – mike6715b
    Mar 22, 2015 at 20:13

In addition to the whitelisting option mentioned, you can simply turn on your server when only you and your friends are playing and turn it off when you're done (this will save your progress and no one else will be able to log in without you knowing). Just leave the server address as the default external IP. It's extremely unlikely that anyone will find it and log in. I host my own mini server all the time and only people we know have ever logged in.


To create your server for free, follow these steps:

If you want to know How To play Minecraft with friends on pc for free then follow :

  1. Make sure you have installed Java on your PC. If not, then go to this link.
  2. Download the correct version of Java as it is necessary to create your Minecraft server. Download the 64-bit version for the 64 bit and 32-bit version for the 32-bit computer.

  3. Next, you want to download is the Minecraft Server Software from here.

  4. Create a New Folder on Desktop for the Minecraft Server (you can name it whatever you want)

  5. Copy and Paste the downloaded server.jar file on this folder.

  6. If you are not able to see the extension like I do in the above photo, then click on View>Options.

And than Uncheck the “Hide extensions for known file types.”

  1. Then you will be able to see the .jar extension.

  2. Next, you need to make a new text document and open it with notepad.

  3. Paste this code in that file:

    java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.jar nogui

  4. Next, you need to edit the “minecraft_server.1.15.2.jar” with “server.jar” as shown:

  5. Press Enter and type “PAUSE” because we want to pause the script when it runs, and then we will be able to see if there is an error with the script or not.

  6. Then Save the file as start.bat.

Make sure you select “All Files” as shown(you can give the file whatever name you want but make sure that you insert .bat extension at the end)

  1. Delete the .txt file.

  2. Double click on the start.bat file and let it run. (this will start your server)

  3. Now you will see that it failed to load. So now you have to open the eula.txt file.

  4. Edit the “eula=false” to “eula=true” and save it.

  5. Rerun the .bat file. And you will see that the server has loaded this time.

  6. When you see Done, then type “stop” and hit enter to stop the server. (because you do not want to exit out of your server as exiting out will not save your progress in the Minecraft game)

  7. Now right-click on ‘server.properties‘ and open it with notepad. You can now see your server settings.

  8. Now open the start.bat file again to run your server and let it load.

  9. Open Minecraft, click on Multiplayer and then click on Add Server.

  10. And now, you have to add the Server Name and Server Address.

You can add any Server Name you want, but in the Server Address field, you have to type – ‘localhost.’

And then click on Done, you will see that the server is online and you can join it.

  1. For the next step, you have to go to this link.

  2. Now, this step is kind of different for everybody as everyone is going to have a different router. In this step, you have to port forward your router.

Here you will have to find your router. (For example – If your router is TP-Link than go to the letter T and search for TP-Link and click it)

  1. For this step, you have to physically go up to your router and see for yourself to know the Model number.

Look for the same Model number on this website. ( For Example – If your TP-Link Model number is Archer C20 than you click on that)

  1. This page is going to give you the rundown on how to port forward your router. And you will get your Username and Password on this page as well as the IP Address.

  2. Now open a New Tab in Google Chrome and write your IP Address, as shown below:

  3. Enter your Username & Password, as shown in step 26.

  4. Then you will get to this page.

  5. Then go to Forwarding>Virtual Servers and click on Add New. You will get to this page.

  6. Enter the following information in the respective fields:

Service Port: 25565

Internal Port: 25565

IP Address:

Protocol: All

Status: Enabled

Common Service Port: –

Then Press Save and your Port Forwarding are created.

  1. Go to Google and type in “what is my IP address.” And you will get your IP.

  2. Now share this IP Address with your friends who want to join your server, and they will be able to connect it via this IP Address.

  3. Go to Minecraft> Multiplayer> Add Server & add this IP Address in the Server Address field and click Done.

So this is how you create your own Minecraft Server for free without any payment or monthly fees. Now you can make your own Minecraft Servers yourself.

Go here if you have any problems: How to Play Minecraft with friends on PC


In game or in the console you can do /whitelist on which will only allow certain players to join. To add a player to the list do /whitelist add {player name}. To remove: /whitelist remove {player name}. To see the list of people on the whitelist, do /whitelist and it will give you more information! If you are using a console (above) do not use the "/" in front of the command!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .