2

I have a friend that also plays Minecraft. She lives a fair bit away from me and I am wondering how to start a private server where ONLY she can join. If any more information is needed please comment and ask. I'm all ears.

  • This is a pretty good guide, sadly it isn't as easy as most people think it will be. – Judge2020 Jan 14 '16 at 2:36
5

Step 1

First of all, you need to set up a normal Minecraft server. A good guide on this can be found here.
For troubleshooting, please refer to an already existing thread: here.

In addtion to both @jofri and @RimaNari, you could also choose another way of setting up a server like Minecraft Realms.


Step 2

Now, assuming that this was no problem for you we can go on and make sure only you and your friend can access this server.

  1. Make sure you are an OP and/or have access to the console.
  2. Run the command: /whitelist on
  3. For each player you want to have access to the server run the command:
    /whitelist add [playername]
  4. After all players are added, run the following command: /whitelist reload

Now only players whom are white listed on your server will be able to connect!


Sources:
- http://minecraft.gamepedia.com/Tutorials/Setting_up_a_server
- http://minecraft.gamepedia.com/Commands

|improve this answer|||||
  • In case you were unaware, this site supports Markdown, which is a much more convenient way of formatting answers than going all HTML. – MrLemon Jan 14 '16 at 17:41
  • My personal preference is HTML at the moment. But I'll keep it in mind. – creulcat Jan 15 '16 at 8:01
1

You also can checkout Minecraft Realms. It cost 10 € per month and is a Service by Mojang

|improve this answer|||||
1

There are generally two major ways of setting up a minecraft world for you and a very limited amount of others (1 in your case) to play on. First, you may want to rent a proper server, or second, you can create a local server. For only two people playing a local server might be the better alternative, as it does not cost anything. However, if money is in no way a problem for you, you might find a rented server more convenient.

Rented server

This obviously costs money. There are many different minecraft server hosting services available with varying quality and prices. The creators of minecraft itself offer such a service with Minecraft Realms.

  • Setting up such a server can be very easy as many services offer a control panel for you to configure your server without a big amount of knowledge.
  • You also have the advantage of your server running 24/7, even if nobody is on the server at the moment, which you may find useful (probably only if you do technical stuff in minecraft).
  • Obviously this way your minecraft world is also accessible from anywhere and at all times - however if your internet drops out you can not access your minecraft world.
  • Rented servers have less impact on your computer, so if you have very bad hardware and you can barely run minecraft using a rented server might prove helpful for you.
  • You can play with more then one friend on these servers at a time normally, but the amount it limited depending on the service you use and the money you want to spend.

Minecraft Realms is probably the easiest to set up, however also not the cheapest with currently 7.19 € (that's EURO not dollar!), less for longer subscriptions. The server hoster I am using charges 4.00 € monthly.

Local server

A local server runs on your own computer or another computer at your place, which means that

  • the server is accessible for you always, even if your internet drops out.
  • You do not need any additional hardware, so there aren't any costs involved, which is the major advantage.

On the downside it's generally more effort to set up then a rented server and

  • it uses your private internet connection for connections to other players then yourself, which, depending on bandwidth and reliability of your internet connection, may lag the game for the other player(s).
  • It has more impact on your computer's resources, as the computer has to run both client and server, except if you use another computer in your local network for running the server.
  • The amount of other players is not limited theoretically, but practically by your internet connection bandwidth.
  • The major disadvantage would be that the minecraft world is available to others only when you start the server. (Note that normally it is not cost-effective to run a server on your computer 24/7 then to rent a server that runs 24/7.) This means your friend will have to wait for you to be online to play on the world.

(A work-around for this last point would be to place the server files in your Dropbox/OneDrive/Google Drive folder (or any other cloud-hosting service's local sync folder) - this way after you shut down the server the changes to the minecraft world will be synchronized with your cloud storage, to which you can invite your friend, which will synchronize the server's files with her computer as well, enabling her to play on the world while you are offline.)

To set up such a local server follow Step 1 of creulcat's answer.

To make both a rented server and a local server accessible only for some players, you have to set up a white list (in case of Minecraft Realms only people you specifically invite to your Realms server can join).

|improve this answer|||||
-2

Make your Minecraft Server for Free To create your server for free, follow these steps:

  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.

Download-MinecraftMinecraft

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

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

Jar-file

  1. 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“.

View-dot-extension

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

jar-file

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

  2. Paste this code in that file:

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

Code-for-server

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

Server-jar

  1. 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.

add-pause

  1. 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)

bat-file

  1. Delete the .txt file.

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

start-bat

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

Eula-text

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

  2. Run the .bat file again. And you will see that the server has loaded this time.

  3. 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)

Server-load

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

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

Start-bat-file

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

  2. 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. READ MORE
|improve this answer|||||
  • no working links, you should be more specific on folders and files – Kerk Mar 27 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.