How to Create a Personal Minecraft Server

Table of contents:

How to Create a Personal Minecraft Server
How to Create a Personal Minecraft Server
Anonim

This guide explains how to create and host a personal Minecraft server on a Windows or Mac computer. If you want to create a server in Minecraft PE, you need to pay a subscription to the Realms service.

Steps

Part 1 of 5: Configure the Router

Make a Personal Minecraft Server Step 1
Make a Personal Minecraft Server Step 1

Step 1. Open your router's web page

To set a static address (which does not change over time) for your computer and forward the port used by your Minecraft server, you need to access the router page. You can do this by entering the IP address of the device in a browser.

Since so many router models have different configuration menus, check the specific instructions on how to assign IP addresses and forward ports on your router in the user manual or documentation available on the internet

Make a Personal Minecraft Server Step 2
Make a Personal Minecraft Server Step 2

Step 2. Log in if asked

If the router asks you to log in with your username and password, enter the correct credentials in the appropriate fields.

If you've never set up these credentials but still need to enter them, check your router's manual to find out the default username and password

Make a Personal Minecraft Server Step 3
Make a Personal Minecraft Server Step 3

Step 3. Assign a static IP to your computer

In this way, you will be sure that the computer will never be assigned an IP other than the one you choose and therefore you will not have to change the port forwarding or server settings in the future:

  • Find the page of devices connected to the router;
  • Select your computer;
  • Change your computer's IP if necessary.
Make a Personal Minecraft Server Step 4
Make a Personal Minecraft Server Step 4

Step 4. Save your changes

Click the button Save or Apply, then wait for the router to restart if necessary.

Since the router will assign a new address to the computer after reboot, which is usually needed after configuring the ports, it is very important to assign a static IP to the system

Make a Personal Minecraft Server Step 5
Make a Personal Minecraft Server Step 5

Step 5. Find the "Port Forwarding" section

You can usually find it in the advanced settings, but search all the configuration pages if you don't see it.

Again, the router configuration menus are very different from each other, so read your model's documentation if you don't know where to look for the "Port Forwarding" page

Make a Personal Minecraft Server Step 6
Make a Personal Minecraft Server Step 6

Step 6. Create a new rule with the name "Minecraft"

On some routers, just type Minecraft in the description field; on others, you will have to click New rule (or a similar button) and then enter the necessary information.

Make a Personal Minecraft Server Step 7
Make a Personal Minecraft Server Step 7

Step 7. Enter your computer's static IP address

Type the system IP (usually "192.168.1.number") in the "IP" or "Address" section of the rule.

Make a Personal Minecraft Server Step 8
Make a Personal Minecraft Server Step 8

Step 8. Select both TCP and UDP protocols

In the "TCP" or "UDP" drop-down menu, next to the rule name, click TCP & UDP.

Make a Personal Minecraft Server Step 9
Make a Personal Minecraft Server Step 9

Step 9. Forward the Minecraft port

Enter 25565 in both port fields.

Port 25565 is the default for Minecraft servers

Make a Personal Minecraft Server Step 10
Make a Personal Minecraft Server Step 10

Step 10. Activate the rule

If it is not enabled by default, check the required box or click the button Hon.

Make a Personal Minecraft Server Step 11
Make a Personal Minecraft Server Step 11

Step 11. Save your changes

Click on Save or Apply, then wait for the router to reboot if necessary. When finished, you can continue with the installation of the Minecraft server on your Windows or Mac computer.

Part 2 of 5: Installation on Windows

Make a Personal Minecraft Server Step 12
Make a Personal Minecraft Server Step 12

Step 1. Make sure Java is up to date

Go to https://java.com/it/download/installed.jsp with Internet Explorer (other browsers would not work), then click on Accept and continue and follow the onscreen instructions.

If your computer's Java version is out of date, you may have problems running the server

Make a Personal Minecraft Server Step 13
Make a Personal Minecraft Server Step 13

Step 2. Install the Java JDK if you haven't already

This step is required to run Java commands on your computer:

  • Go to the JDK web page;
  • Check the "Accept License Agreement" box under the heading "Java SE Development Kit 8u201";
  • Click on the link jdk-8u201-windows-x64.exe to the right of the entry "Windows x64";
  • Double-click on the installation file, then follow the on-screen instructions.
Make a Personal Minecraft Server Step 14
Make a Personal Minecraft Server Step 14

Step 3. Download the server file

Go to https://minecraft.net/en-us/download/server with your computer browser, then click on minecraft_server.1.13.2.jar in the center of the page.

Make a Personal Minecraft Server Step 15
Make a Personal Minecraft Server Step 15

Step 4. Create a new folder

Right click on the desktop, select New one, click on Folder and type Minecraft Server before hitting Enter.

Make a Personal Minecraft Server Step 16
Make a Personal Minecraft Server Step 16

Step 5. Move the server file into the "Minecraft Server" folder

Drag the downloaded JAR file into the folder you just created, then drop it.

You can also click on the server file to select it, then press Ctrl + C, open the "Minecraft Server" folder and finally press Ctrl + V to paste the file

Make a Personal Minecraft Server Step 17
Make a Personal Minecraft Server Step 17

Step 6. Run the server file

To do this, double click on the Java file server inside the "Minecraft Server" folder. You should see some files and folders appear.

Make a Personal Minecraft Server Step 18
Make a Personal Minecraft Server Step 18

Step 7. Accept the terms of use

Once you see the "eula" text file appear in the "Minecraft Server" folder, follow these steps:

  • Double click on the "eula" file;
  • Replace the string "eula = false" with "eula = true";
  • Press Ctrl + S to save the changes;
  • Close the text document.
Make a Personal Minecraft Server Step 19
Make a Personal Minecraft Server Step 19

Step 8. Restart the server

A window will open and more files will be added to the "Minecraft Server" folder.

Make a Personal Minecraft Server Step 20
Make a Personal Minecraft Server Step 20

Step 9. Shut down the server after execution

Once "Done!" at the bottom, in the main server window, click the text field in the lower right corner, type stop and press Enter.

Make a Personal Minecraft Server Step 21
Make a Personal Minecraft Server Step 21

Step 10. Find the "server.properties" file

You will see it inside the "Minecraft Server" folder.

Make a Personal Minecraft Server Step 22
Make a Personal Minecraft Server Step 22

Step 11. Rename the file

Right click on the "server.properties" file, click on Rename, delete the period from the name, then press Enter. This way, you will get a simple file called "serverproperties", which you can open normally.

Make a Personal Minecraft Server Step 23
Make a Personal Minecraft Server Step 23

Step 12. Open the "serverproperties" file

You can do this by double clicking, then double clicking on Block notes in the window that appears.

Make a Personal Minecraft Server Step 24
Make a Personal Minecraft Server Step 24

Step 13. Add your computer's static IP address to the file

Find the string "server-ip =", then type the static IP of the system you set earlier, just to the right of the "=" symbol.

For example, if your computer's static IP address is "192.168.1.30", type server-ip = 192.168.1.30 into the file

Make a Personal Minecraft Server Step 25
Make a Personal Minecraft Server Step 25

Step 14. Save the file

Press Ctrl + S, then close Notepad.

Make a Personal Minecraft Server Step 26
Make a Personal Minecraft Server Step 26

Step 15. Create a boot file

Although you can start the server by double clicking on the file server, in doing so the memory available to the server would be limited. You can fix this by creating a startup file inside the "Minecraft Server" folder:

  • Open Notepad (to find this program click on Start

    Windowsstart
    Windowsstart

    and type notepad);

  • Type java -Xmx3G -Xms1G -jar server.jar in Notepad;
  • Click on File, then click on Save with name… within the menu;
  • Type run.bat in the "File Name" text field;
  • Click on the "Save As" menu, then click on All files;
  • Select "Minecraft Server" as the save path;
  • Click on Save.

Part 3 of 5: Installation on Mac

Make a Personal Minecraft Server Step 27
Make a Personal Minecraft Server Step 27

Step 1. Make sure Java is up to date

Go to the page https://java.com/en/download/, click on Free Java Download, open the installation file and follow the instructions.

If your computer's Java version is out of date, you may have problems running the server

Make a Personal Minecraft Server Step 28
Make a Personal Minecraft Server Step 28

Step 2. Install Java JDK if you haven't already

This step is required to run Java commands on your computer:

  • Go to the JDK web page;
  • Check the "Accept License Agreement" box under the heading "Java SE Development Kit 8u201";
  • Click on the link jdk-8u201-macosx-x64.dmg to the right of the entry "Mac OS X x64";
  • Double click on the DMG file, then drag the Java icon into the "Applications" folder;
  • Follow the onscreen instructions.
Make a Personal Minecraft Server Step 29
Make a Personal Minecraft Server Step 29

Step 3. Download the server file

Go to https://minecraft.net/en-us/download/server with your computer browser, then click on minecraft_server.1.13.2.jar in the center of the page.

Make a Personal Minecraft Server Step 30
Make a Personal Minecraft Server Step 30

Step 4. Create a new folder

Click on the desktop, then click on File, on New folder, type Minecraft Server and finally hit Enter.

Make a Personal Minecraft Server Step 31
Make a Personal Minecraft Server Step 31

Step 5. Move the server file into the "Minecraft Server" folder

Drag the downloaded JAR file into the folder you just created, then drop it.

You can also click on the server file to select it, then press ⌘ Command + C, open the "Minecraft Server" folder and finally press ⌘ Command + V to paste the file

Make a Personal Minecraft Server Step 32
Make a Personal Minecraft Server Step 32

Step 6. Start the server

To do this, double click on the Java file server inside the "Minecraft Server" folder. You should see some files and folders appear.

Make a Personal Minecraft Server Step 33
Make a Personal Minecraft Server Step 33

Step 7. Accept the terms of use

Once you see the "eula" text file appear in the "Minecraft Server" folder, follow these steps:

  • Double click on the "eula" file;
  • Replace the string "eula = false" with "eula = true";
  • Press ⌘ Command + S to save the changes;
  • Close the text document.
Make a Personal Minecraft Server Step 34
Make a Personal Minecraft Server Step 34

Step 8. Restart the server

A window will open and more files will be added to the "Minecraft Server" folder.

Make a Personal Minecraft Server Step 35
Make a Personal Minecraft Server Step 35

Step 9. Shut down the server after execution

Once "Done!" at the bottom, in the main server window, click the text field in the lower right corner, type stop and press Enter.

Make a Personal Minecraft Server Step 36
Make a Personal Minecraft Server Step 36

Step 10. Find the "server.properties" file

You will see it inside the "Minecraft Server" folder.

Make a Personal Minecraft Server Step 37
Make a Personal Minecraft Server Step 37

Step 11. Open the file

Click on "server.properties", then click File, select Open with and click on TextEdit to open it.

If you can't open the file, click on it, click on File, then on Rename, delete the point between "server" and "properties" (if necessary, first click on the arrow to the right of the "Name" field and remove the check mark from "Hide extensions"), finally click on Save.

Make a Personal Minecraft Server Step 38
Make a Personal Minecraft Server Step 38

Step 12. Add your computer's static IP address to the file

Find the string "server-ip =", then type the static IP of the system you set earlier, just to the right of the "=" symbol.

For example, if your computer's static IP address is "192.168.1.30", type server-ip = 192.168.1.30 into the file

Make a Personal Minecraft Server Step 39
Make a Personal Minecraft Server Step 39

Step 13. Save the file

Press ⌘ Command + S, then close TextEdit by clicking on the red circle in the upper left corner of the window.

Make a Personal Minecraft Server Step 40
Make a Personal Minecraft Server Step 40

Step 14. Create a boot file

Although you can start the server by double clicking on the file server, in doing so the memory available to the server would be limited. You can correct this problem by creating a startup file inside the "Minecraft Server" folder.

  • You open Spotlight

    Macspotlight
    Macspotlight

    type textedit, double click on TextEdit, finally click on New Document.

  • Type the following text into TextEdit:
  • #! / bin / bash
  • cd "$ (dirname" $ 0 ")"
  • java -Xmx3G -Xms1G -jar server.jar
  • Click on Format, then click on Simple text come on OK.
  • Click on File, then on Save in the menu that appears.
  • Type run in the "Name" field, then click the arrow to the right of "Name".
  • Uncheck the "Hide extension" box, then replace ".txt" in the "Name" field with.command.
  • Select the "Minecraft Server" folder as the save path, click on Save, then Use.command when asked.

Part 4 of 5: Installation on Linux

Make a Personal Minecraft Server Step 41
Make a Personal Minecraft Server Step 41

Step 1. Download the server file from

Make a Personal Minecraft Server Step 42
Make a Personal Minecraft Server Step 42

Step 2. Create a new folder called Minecraft Server

Make a Personal Minecraft Server Step 43
Make a Personal Minecraft Server Step 43

Step 3. Move the file into the new folder

Make a Personal Minecraft Server Step 44
Make a Personal Minecraft Server Step 44

Step 4. Open the folder in the terminal and type the following commands:

  • chmod + x *
  • sudo java -jar *
Make a Personal Minecraft Server Step 45
Make a Personal Minecraft Server Step 45

Step 5. Accept the eula

You can do this by opening eula.txt and changing false to true.

Make a Personal Minecraft Server Step 46
Make a Personal Minecraft Server Step 46

Step 6. Restart the command:

sudo java -jar *.jar.

Make a Personal Minecraft Server Step 47
Make a Personal Minecraft Server Step 47

Step 7. Wait for the text "Done" to appear, then type stop

Make a Personal Minecraft Server Step 48
Make a Personal Minecraft Server Step 48

Step 8. Click on minecraft.properties and change the following settings:

  • If you want users using offline (cracked) versions of the game to be able to connect to your server, just change the online mode entry from true to false.
  • You can also change the game mode and other options.
Make a Personal Minecraft Server Step 49
Make a Personal Minecraft Server Step 49

Step 9. Add the computer's local IP address to this file

In the server-ip line add an ip, such as 192.168.1.16.

Make a Personal Minecraft Server Step 50
Make a Personal Minecraft Server Step 50

Step 10. Save the file and close the program

Make a Personal Minecraft Server Step 51
Make a Personal Minecraft Server Step 51

Step 11. Start the server

To do this, just use the command:

sudo java -jar *.jar

Part 5 of 5: Connecting to the Server

Make a Personal Minecraft Server Step 52
Make a Personal Minecraft Server Step 52

Step 1. Find your public IP address

This is the address that you will need to communicate to your friends who wish to connect to your server. Remember that all users who know this address can participate in your games.

If your friends are connected to the same network as your computer, they will need the local static IP address

Make a Personal Minecraft Server Step 53
Make a Personal Minecraft Server Step 53

Step 2. Start the server with the "run" file

Shut down the server if it is currently running, then double click on the file run that you created inside the "Minecraft Server" folder. Wait for the upload to finish.

The server window should always remain open as long as it is running

Make a Personal Minecraft Server Step 54
Make a Personal Minecraft Server Step 54

Step 3. Open Minecraft

Double-click the Minecraft app icon, which looks like a block of grass, then click PLAYS at the bottom of the launcher.

If you haven't opened Minecraft for a long time, you may need to log in with your email and password

Make a Personal Minecraft Server Step 55
Make a Personal Minecraft Server Step 55

Step 4. Click on Multiplayer in the Minecraft menu

Make a Personal Minecraft Server Step 56
Make a Personal Minecraft Server Step 56

Step 5. Click Add Server

You will see this button in the lower right part of the window.

Make a Personal Minecraft Server Step 57
Make a Personal Minecraft Server Step 57

Step 6. Choose the server name

Type your preferred name in the "Server Name" field.

Make a Personal Minecraft Server Step 58
Make a Personal Minecraft Server Step 58

Step 7. Enter your computer address

In the "Server Address" field, type in the static IP address of your system.

If you have changed the port, you should add ":", then the port number (ex: 192.168.1.30:5555). If you're using Minecraft's default port instead, you don't need to add it manually

Make a Personal Minecraft Server Step 59
Make a Personal Minecraft Server Step 59

Step 8. Click Done at the bottom of the window

You will see the server appear immediately.

Make a Personal Minecraft Server Step 60
Make a Personal Minecraft Server Step 60

Step 9. Select the server

Click on the name you just chose at the top of the window.

Make a Personal Minecraft Server Step 61
Make a Personal Minecraft Server Step 61

Step 10. Click on Join Server at the bottom of the window

After loading the game world will open.

Make a Personal Minecraft Server Step 62
Make a Personal Minecraft Server Step 62

Step 11. Invite your friends to join

You can do this by communicating your public IP address to up to 19 friends, who will need to connect by following these steps:

  • Open Minecraft and click on Multiplayer;
  • Click on Direct connection;
  • Enter the public IP address of your computer (different from the local one you used to host the server, unless they are connected to the same network);
  • Click on Log into the Server.
Make a Personal Minecraft Server Step 63
Make a Personal Minecraft Server Step 63

Step 12. If necessary, disable your firewall

If your friends can't connect to your server, you may need to turn off your computer's firewall. Remember that this makes your system vulnerable to attacks from potential intruders, so you should only do this when playing with people you trust.

Advice

  • The faster your computer, the more players you can host on a server with no side effects (20 players is the maximum limit of Minecraft servers).
  • Hosting a server over an ethernet connection is much safer and faster than hosting a server over a wireless connection.

Warnings

  • If your computer crashes or shuts down, the server will stop working too.
  • By opening the router ports, you expose your network to potential attacks by malicious people.

Recommended: