Minecraft – How to make a Minecraft Server private

minecraft-java-editionminecraft-java-edition-server

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?

Best Answer

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.