Building a minecraft server computer

Building a minecraft server computer DEFAULT

Minecraft is the world’s second-most popular video game, having sold over million copies as of February

But Minecraft is so much more than just a game. It’s also a tool for teaching kids how to code; an open platform to be expanded by mod developers; and it’s the heart of a global community of creators.

If you’re interested in the full Minecraft experience, you can take it a step further by launching your own private Minecraft server. With a private server, you’re free to create a Minecraft world of your very own.

In this article we’re going to show you exactly how to do that. We’ll look at how to make a Minecraft server on a Windows PC, on a Mac, and on a Linux hosting plan.

Parents: Looking for projects to work on as a family? Why not create your own family website with GoDaddy&#;s Website Builder and share your story with the world? Prices start from just £ a month.

How to make a Minecraft server

At a very high level, making a Minecraft server on Windows follows a few basic steps:

  1. Install the latest version of Java
  2. Choose a location for your Minecraft server files
  3. Download and start the Minecraft server software
  4. Enable port forwarding on your router
  5. Start the Minecraft server
  6. Connecting to your server

Click here to jump to the guide on how to make a Minecraft server for a Mac, and here for the guide on how to make a Minecraft server with your own Linux server.

Things to keep in mind before you start:

Setting up a server takes some effort. You need a bit of technical know-how to properly configure a Minecraft server.

You should have a basic understanding of computer and networking concepts, which are fundamental to managing any kind of server.

Specifically, you should be comfortable and familiar with:

  • Using the command line
  • Networking (IP, DHCP, ports)
  • Your system configuration
  • Your network configuration
  • Your router configuration (for home setups)

Running a Minecraft server from home?

You don’t need a top-of-the-line system to run a Minecraft server; a desktop computer is ideal.

While you can run a Minecraft server and play on the same machine, you’ll need a more powerful system to do it.

And lastly, use a wired ethernet connection for your server instead of wireless. A wired connection is more reliable.

What if you don’t want to host your server at home?

Hosting any kind of server from home means you’re exposing your home network to the world.

If you’d rather not take that risk, then you can use a hosting provider instead. You’ll need to pay a monthly or annual fee, but you won’t have to deal with the hassle of managing the server hardware.

A GoDaddy Virtual Private Server is a good fit if you’re just getting started. Just keep in mind that you’re sharing hardware with other users, so keep an eye on resource usage.

If you need a little more oomph and you want to hook up a lot of players, you might try a dedicated server instead.

Make a Minecraft server on your Windows PC

1. Get the latest version of Java.

Open the Windows Control Panel. Under Programs, look for Java, and click Update Now.

Open a command prompt and enter . You should see a version number.

Check the Java website to see what the most recent version is.

If your version is outdated, or if you don’t have Java installed, download it from the official website.

2. Choose a location for your Minecraft server files.

Before you download the Minecraft server software, choose a location on your PC where you’d like to run the server from.

When you first run the server, it’ll create a few configuration files. It’s best to have all these files stored in a dedicated folder.

You could place this folder on your Desktop, in your Documents folder, in your Programs folder, or anywhere else you’d like. It’s entirely up to you.

3. Download and start the Minecraft server software.

Download the server software from the Minecraft website. It comes as a Java .jar file. Save it to the location you chose in the previous step.

Double-click the .jar file to start the server. It’ll create the server configuration files, which need to be modified before the server is ready to use.

Accept the EULA: A text file called eula.txt was created. Open the file in a text editor and change eula=false to eula=true. Failing to accept the EULA will prevent you from starting the Minecraft server.

What if you see a “Can’t save server properties” error? Run the Minecraft server as an administrator by right clicking the .jar file and selecting “Run as administrator”.

4. Enable port forwarding on your router.

Note: Port forwarding can be a security risk.

If you’re just hosting a server for players on your local network, you don’t need to worry about port forwarding. If, however, you want to make your server accessible to the world, you’ll need to enable port forwarding on your router. (To learn more about port forwarding, check out for tutorials.)

Refer to your router’s documentation to find specific instructions on how to configure port forwarding for your device. For Minecraft, you’ll need to forward TCP port 

You’ll also need to enter your server’s local IP address as the Output IP or Server IP for the forwarded port. This tells the router which device to point at. To find your server’s local IP, open a command prompt and enter ipconfig.

5. Start the Minecraft server.

To start the Minecraft server, open the Windows command prompt.

Navigate to the file path where the Minecraft server file (named something like “minecraft_serverjar”) was installed.

Start the server with the following command:

(Replace {server file name} with the actual server file name.)

If you’d rather use the server’s UI, exclude the “nogui” parameter:

You can also create a .bat file to batch the commands together.

Once the server is running, you can invite others to connect to your server via your local IP address if they’re on your home network, or via your external/public IP address if they’re not on your home network.

6. Connecting to your server

Players can join your server by following these steps:

  1. Selecting “multiplayer” in Minecraft.
  2. Clicking “add server”.
  3. Entering your server name.
  4. Entering your server address. Your server address is your IP address followed by the port number You can find your public IP address by searching for “my ip address” on Google. If you have an IPv6 address, you should put square brackets [] around it
  5. Clicking “done”.
  6. Minecraft should now connect to the server and players will be able to click “join server”.

If you encounter any problems, check if your server is accessible by entering your public IP address into the Minecraft Server Status Checker.

Make a Minecraft server on your Mac

1. Make sure you have Java installed.

Newer versions of MacOS includes Java by default. If you’re running an older version of MacOS (OS X), you may need to download the legacy version of Java from the Apple website.

2. Choose a location for your Minecraft server files.

Create a folder to contain your Minecraft server files. You could create the folder on your desktop, for example, but the choice is completely up to you.

3. Download the Minecraft server software.

Download the server software from the Minecraft website. It comes as a Java .jar file. Save it to the location you chose in the previous step.

Open TextEdit. Set the format to plain text. Enter the following:

cd &#;$(dirname &#;$0&#;)&#;

exec java -Xms1G -Xmx1G -jar {server file name} nogui

(Replace {server file name} with the actual server file name.)

Save the file as start.command in the same folder where the server’s .jar file is located.

Open the Terminal and grant permissions for the new start.command file so it can be run. Type chmod a+x with a space after the command. Drag and drop the start.command file into the terminal window. Press Enter.

4. Enable port forwarding on your router.

Note: Port forwarding can be a security risk.

If you’re just hosting a server for players on your local network, you don’t need to worry about port forwarding. If, however, you want to make your server accessible to the world, you’ll need to enable port forwarding on your router. (To learn more about port forwarding, check out for tutorials.)

Refer to your router’s documentation to find specific instructions on how to configure port forwarding for your device. For Minecraft, you’ll need to forward TCP port 

You’ll also need to enter your server’s local IP address as the Output IP or Server IP for the forwarded port. This tells the router which device to point at. To find your server’s local IP, open the Terminal and enter ifconfig.

5. Start the Minecraft server.

Double-click the “start.command” file you created in step 3. A Terminal window will open. You’ll probably see error messages the first time you run the server. This is normal.

Once the server is running, you can invite others to connect to your server via your local IP address if they’re on your home network, or via your external/public IP address if they’re not on your home network.

Follow these steps to have people connect to your server.

Make a Minecraft server on a Linux host

If you’re not inclined to host a Minecraft server at home, you can spin up a Linux hosting plan to do it instead. This way you’re not responsible for managing any of the hardware, plus you’re not exposing your private home network to the public.

As mentioned before, a Linux VPS hosting plan from GoDaddy is a lightweight option if you’re experimenting or not expecting a lot of players to join your server. If, however, you’re expecting a lot of players, you should look at using a dedicated Linux server instead.

To follow these steps, you’ll need to connect to your hosting with SSH. (If you’re not familiar with the process, this Help article has you covered.)

1. Install Java.

While SSH’d into your host as the root user, enter the command:

This’ll list the available OpenJDK packages that can install Java. For this example we’ll select openjdkjdk, which is the OpenJDK 7 Development Kit.

Update the list of available packages from the remote repositories:

Then install the selected software package:

Press “Y” when prompted to authorize the required storage space for installation. Once that’s done, verify that Java has been successfully installed:

You should see the version of Java that has just been installed.

2. Create a location for your Minecraft server files.

Create a directory on your host where the Minecraft server files will be saved, then change to that directory.

cd minecraft

3. Download the Minecraft server files.

Within the Minecraft directory, run the  command to download the Minecraft server files:

(Tip: Double-check the Minecraft download page for the URL to the latest version.)

Next, we’ll need to install and run “screen”, so that your server continues to run even when you’re not connected:


4. Start your Minecraft server.

(Tip: You can change the -Xmx and -Xms settings to adjust allocated memory for the Minecraft server. For example, you could enter -Xmx1G -Xmx1G to bump it up to 1GB of RAM. The available memory will depend on your hosting plan.)

To make sure everything is running correctly, stop your server with:

Then edit the “” file and set:

Save the “” file and restart your server. From there, enter your server IP address into the Minecraft Server Status Checker to see if it’s publicly accessible.

5. Point a domain at your Minecraft server.

Providing players with an easy-to-remember domain name instead of a complicated IP address makes it even easier for people to connect to your Minecraft server.

It’s super simple: Update your domain’s DNS records by adding an “A” record for your domain (using @ as hostname), or subdomain (using something like “mc” as the hostname), that points to your Minecraft server’s IP address.

Note that it can take up to ~24 hours for DNS changes to take effect globally.

If you’re not sure how to change DNS records, take a look at this Help article for adding an A record.

Additional resources for managing a Minecraft server

We’ve just scratched the surface of making a Minecraft server of your very own. Here are a few resources that dig deeper into setting up, managing, and promoting your server:

This article contains information about how to use third-party products, but GoDaddy does not endorse or directly support third-party products and is not responsible for the functions or reliability of such products. Third-party marks and logos are registered trademarks of their respective owners. All rights reserved.

Dark Oak Sapling JE2 BE2.png
This article is a stub.&#;

You can help by expanding it.
Instructions: This page is missing important information about the Bedrock Edition server software

  1. This tutorial takes you through the steps of setting up your own server using the default server software that Mojang Studios distributes free of charge. The software may be installed on most operating systems, including Windows, macOS, GNU/Linux and BSD.

For more tutorials, see the bottom of this page or the Tutorials page. For more information on Minecraft servers, see the Server page.


  • Setting up a server takes some time, and some technical knowledge. Don't try to set up a server unless you have some basic computer and networking abilities. Probably, your best bet can be to look on the Internet for a guide on how to set up a server.
  • A Minecraft server does not need to be a high-end machine, but netbooks and notebooks don't usually make for good server machines. They typically have lower-end hardware and bad I/O performance in comparison to desktop computers.
  • Hosting and playing on the same machine is also possible, if your computer is powerful enough.
  • Having many players in a wireless network (WLAN and especially WWAN) is not recommended. Use a wired network instead, such as Ethernet.
  • If you decide you don't want to host, but still want to play online, check out the public server options on a Minecraft server listing website.
  • If you still want to manage a server, but not from home, check out the Minecraft server hosting area of the Minecraft Forum or other websites. Expect to pay monthly for this type of server since finding free hosting is a rarity, but you save the hassle of constantly maintaining a server and ensure it is always online for your players.

Note: There is also custom server software available, which most large servers use, but these applications are not supported by Mojang Studios.



Running server software on your computer without a clear understanding of what you are doing may make your system vulnerable to attacks from outside.

Since you're about to run your own server, you should be aware of the possible dangers. Running by the instructions below should not put you at any risk, but this is a wiki which everybody is allowed to edit, and we don't know about your system configuration, so we can’t guarantee you'll be % out of danger.

In order to run your server and stay out of trouble, we highly suggest that you should at least know about the following:

  • Using the command-line and editing configuration files
  • Networking in general (IP, DHCP, ports, etc.)
  • Your system configuration
  • Your network configuration
  • Your router configuration (if you want other people to connect over the Internet)


Java is a programming language designed to create programs for the Java Virtual Machine (JVM). The JVM supports many different platforms. By doing this, developers write code for the JVM and any platform supported by the JVM can run the program. Further reading.

This section is designed to answer some frequently asked questions about Java and guide you through some decisions regarding Java.

OpenJDK vs OracleJDK

OpenJDK and OracleJDK are very similar. OpenJDK is the official open source reference implementation of Java. OpenJDK is an open source codebase that almost all other JDKs are built on. Excluding packaging, cosmetic and license differences OpenJDK is the same as OracleJDK.

Do note that OracleJDK (Oracle's "OTN") builds require a paid subscription for commercial and production purposes. This likely includes running a Minecraft server even if it is non-profit. Oracle does provide its own OpenJDK builds, but they are not packed into an installer format for easy use.


JRE stand for Java Runtime Environment. JDK stands for Java Development Kit. JRE is a package tool designed to run Java programs. JDK is a package of tools designed to develop Java programs. The JDK comes with the JRE which comes with the JVM. If you have JDK then you have JRE and JVM. Vanilla Minecraft does not need JDK, but plugins may require it.

Headless Java

A headless Java installation is a trimmed down version of Java. It does not have a GUI or mouse/keyboard support. Headless Java is frequently used in Servers or other environments where a GUI is not needed.

There are several virtual packages used in Debian for Java. These cover runtime compatibility and come in two flavors; headless (omits graphical interfaces) and normal.

Debian Wiki

Common instructions

The general gist of running a Minecraft server is that you will need to install , run the server, accept the EULA, and run it again. Once you have installed and opened up a command line, everything is basically the same.

  • Check the system requirements for CPU, RAM, and disk space.
  • Install Java. Use the OS-specific instructions below for this.
  • Download your server jar file from the download page.
  • Make a new folder for the jar file and move it there. This will be where all the configuration and the world files will be stored, so you don't want these to just sit in "Downloads".
  • Open a command prompt or a terminal interface.
  • Check again if Java is available. Type .
  • Type (change directory), followed by the path to the folder where you placed your server jar file. You can drag the folder into the terminal window to get the path, if you have a GUI open.
  • Run the server for the first time by typing (replacing the jar name by whatever you named the jar file to be).
  • Accept the EULA. A file called will be generated. Open it in a text editor and change to . It signifies that you have read and understood the end user license agreement that you'll follow when using the software. If you don't do this, the server will shut down immediately when you try to start it.
  • Now the server has been set up, and you can simply run it with . If you don't want a GUI for typing commands, add a space and to the command. (Some people say it makes the server much much faster.) You can also use a few other switches described below.

At this point you should have a basic server running. See Configuring the environment for more information about configuring your server. One of the things you definitely want to do is writing a script to launch the server so you don't have to remember the command line.

Java options

Java options should be added before the part on the command line.

  • The most important thing for a Minecraft server is memory to run with. Use the switch to change how much memory it's allowed to use. is usually more than enough.
    • (the initial memory size) does not affect performance in the long run, but you can set it too. should be enough.
    • A "soft max heap size" () is available for some versions of JRE. The JRE will try to only use that much memory, but will go over to a maximum of if necessary. If you are running many things on your server, this may be useful.
  • Use if your server is on a bit Solarissystem using bit Java.

Minecraft options

Options for the server JAR go after the part. Run with to see all available arguments that can be passed to the server. Below is a list of available commandline options for the server.

    • If a bonus chest should be generated, when the world is first generated.
    • If the server is in demo mode. (Shows the players a demo pop-up, and players cannot break or place blocks or eat if the demo time has expired)
    • Erases the lighting caches, etc. Same option as when optimizing single player worlds.
    • Forces upgrade on all the chunks, such that the data version of all chunks matches the current server version (same as with sp worlds).
    • Initializes '' and 'eula.txt', then quits.
    • Doesn't open the GUI when launching the server.
    • Which port to listen on, overrides the value. (default: -1)
    • Loads level with vanilla datapack only.
    • Gives an ID to the server. (??)
    • Runs the server in offline mode (unknown where <String> is used for, probably used internally by mojang?)
    • The folder in which to look for world folders. (default: .)
    • The name of the world folder in which the level.dat resides.
Older Commandline Options

Some options worked in older versions but were removed or replaced by newer ones.

    • to tell the server to run in online mode so only authenticated users can join. (This may no longer work in newer versions)

Example command line

  • Running a world found in the folder "cold" on port , with 1G of RAM allowed: .

Windows instructions

Installing Java

The Minecraft server requires the Java Runtime Environment (also called JRE or simply Java). For your security, you should only use the most recent version of Java. To verify that you have the latest version, do one of the following:

  • Open Windows Control Panel, find Java (it may be inside the Programs category), and click on Update Now.
  • Visit This will perform an automatic version check from your browser. However, the Google Chrome and Firefox browsers do not run Java content and therefore cannot check Java through the browser.
  • Open a command window and enter the command . If a version number is reported, then check the Java website to see what the most recent version number is.

If you don't have Java or your version is outdated, then download it at (OpenJDK) or (Oracle "OTN" JDK)

macOS instructions

Keep in mind that the server won't run correctly on macOS and earlier and may crash your machine.

Installing Java

Open the terminal.

  • Check if you have java by running . Make sure it's

newer than (best if newer than ).

Setting up the Minecraft server

See the Common instructions.

Using Time Capsule

Some homes use AirPort Time Capsule as a wireless router instead of other brands. This section will teach you how to set one up without messing up your file server.

NOTE: Make sure you have your admin username and password.

  • Open System Preferences > Network.
  • Click the Advanced button and go under TCP/IP.
  • Where it says Configure IPv4, change that option to Using DHCP with manual address.
  • Change the IP address to x, where x is a number between the last number of the two numbers under DHCP range (i.e. to would be anywhere between 2 and ).
  • Now go to the Sharing section and make sure that Internet Sharing is on.
  • Now, open up AirPort Utility and edit your Time Capsule settings.
  • Go under Network and make sure the option Router Mode is set to DHCP and NAT. Now, click the + button under the Port Settings.
  • Type in the following:
    • Description: Minecraft Server (or whatever you want to call it)
    • Private IP Address: The address you chose for the 4th step.
  • Change everything with the word port in it to
  • Now, hit Save and update the Time Capsule.

That's it! You're now ready to configure your server.

Linux instructions

Linux comes in many different varieties called distributions (distros). Some of these distros are designed or better suited for running a server. If you are setting up a dedicated server it is recommended to use one of these distros.

Linux, in general, is more welcoming to open source programs. So where applicable it is recommended you use open source programs, such as OpenJDK.

Installing Java

For most distributions, it is recommended to install OpenJDK 16 (for +) or OpenJDK 8 (for below ) from the official repositories. For Oracle Java refer to Oracle's Download Page.

Note: While not affecting Minecraft server, JavaFX or other proprietary aspects of Java while need to be installed separately.

Specific instructions are included for each distro below, but not all have been updated to If it only says to install OpenJDK 8, that means that it has not yet been updated to


Run to install OpenJDK.

For OracleJDK refer to Solus Help Center

Note: OpenJDK 11 is not in Solus' repositories.

Debian, Ubuntu, Raspbian

Note: You might need to install the package "software-properties-common" by running and/or "python-software-properties" by running to use the command.

Due to licensing issues, the repository frequently used to install Oracle Java has been discontinued. It is now recommended that you install OpenJDK 8 or above.

OpenJDK can be installed with one command:

  • below Minecraft Server
  • at or above Minecraft Server

Removing the 'headless' part of the command will install all components of Java.

Note: < tested in Ubuntu , tested in Ubuntu Server LTS


Note: Due to possible instability openSuse Tumbleweed is not recommended as a dedicated server.

Just run the command from the terminal:

Java should be installed.

Note: Tested in openSuse Leap

Arch Linux

Both java 8 and 16 are in arch linux's repostiory.

Just run , For the OpenJDK 16 JRE, Remove "-headless" for the full JRE if you want to run with GUI.

Just run , For the OpenJDK 8 JRE, Remove "-headless" for the full JRE if you want to run with GUI.

If you encounter issues it is recommended that you refer to the ArchWiki



Gentoo Wiki

Other distros

Check your distro's documentation. It should have information on how to install OpenJDK.

Alternatively, you can visit Java's website directly to download the Java package for Linux. Most distros work with this (either 32 or bit). Instructions for the installation of those different packages are given on the site.

If during installation, it asks for a password, enter your password. If you get asked "Is this OK [Y/N]" Enter Y and press enter if required. Java should now be installed.


A simple installer script (also installs Java)

Note: this is a very early project, designed with offline installation in mind, and will be updated periodically to make it more user friendly.

FreeBSD instructions

Clock JE3 BE3.gif
This section needs to be updated.&#;

Please update this section to reflect recent updates or newly available information.
Reason: The official people have been using Java 8 for quite a while, so Java 7 is definitely outdated. A lot of the crashing is gone with OpenJDK8, so maybe the whole Linux-compat thing can be removed once tested.

This part was tested with FreeBSD amd64 and 'jre-7ulinux-itar.gz'

Installing Java

Due to performance and crash issue with OpenJDK and Minecraft server, we will install Oracle JRE made for linux.

Before installing this JRE, you have to install the linux binary compatibility on FreeBSD, you can follow this documentation.
Jave requires some information about the proc. You have to mount linprocfs, type:

kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc

and add this line to :

linprocfs /compat/linux/proc linprocfs rw 0 0

The Oracle JRE has a dependency marked as forbidden and the installation will fail. Go to and in the Makefile remove the line which starts with .

Next you have to manually get the linux tarball due to licence issue (like `jre-7ulinux-itar.gz') from java official web site and copy the file to . Then to install the JRE, go to and run .

Note: The previous version of this part, tested on FreeBSD amd64, was explained like this: You may have to set JRE_UPDATE_VERSION variable in your Makefile to the actual number (e.g. 45 like in this example) and run 'make install NO_CHECKSUM=1'.

Try running . You may end up with a message that it cannot find . One way to fix it is to add your java paths to the search explicitly. Make a symlink:

ln -s /usr/local/linux-sun-jre/lib/i /compat/linux/usr/lib/java

And in add:

/usr/lib/java /usr/lib/java/jli

Run . Now should work.

Launching Minecraft Server

Create a folder and copy the Minecraft server jar in it.
In the actual version you will get this exception if you run the server in the usual way, so we add this line to the command to fix that .
The command to launch is like:

java -XmxM -XmsM -jar minecraft_serverjar nogui

Plan 9

alien-convert PATH_TO_YOUR_JRE.deb chmod ~/~ rwx # for current user snarf java -jar PATH_TO_SERVER_JAR.jar xvmf in acme


Hostman is an application hosting provider to host apps in the cloud. Minecraft is available as a one-click app package on Hostman. Installation takes about 2 minutes, there's an instruction on how to configure the server and start playing. You can have multiple Minecraft services on one server. Try a free demo here.


Cloudron is a platform to self-host apps on your server. Minecraft is available as a one click app on Cloudron. It comes with a web interface to manage Minecraft from the browser. You can also have multiple installations of Minecraft on the same server. You can try a demo here (username: cloudron password: cloudron)


Docker is a free container based platform which helps to isolate instances of a Minecraft Server from each-other and from the host system. Docker and the owner of the repository of the container are not affiliated with Mojang.

Getting docker (for Linux, Mac & Windows)


Docker image

  1. Download the image by running
  2. Set up the container with port open, 1G ram assigned and named "MyServer":
  3. Start the container:

Updating Docker image

For updating minecraft-server-standalone run

docker pull sirplexus/minecraft-server-standalone:latest

Docker-Minecraft on Synology diskstation

NOTE: This is for self-hosted worlds NOT a standalone. You will need to download a server.jar for the official site.

Docker is an "Add-on Packages" on many new Synology Diskstations, and many of them are powerful enough to run at least one Docker Minecraft.

Before starting the docker, you need to make a folder containing the version of Minecraft you would like to play (It has to be named "server.jar") and an eula.txt (read about this under "Common instructions").

The way to setup a Minecraft server on a Synology Diskstation is to:

  1. Install and open docker on your Diskstation
  2. Search for "sirplexus" under Registry and find "sirplexus/minecraft-server". Right click and "Download this image".
  3. After download you can find the image under image. Press "Laungh"
  4. Press "Advanced settings" and go to the tab "Volume". Add the previus created folder and set "mound path" to "/srv/minecraft".
  5. Go to the tab "Port Settings" and assign a "Local Port". This is the port you will connect to from the Minecraft Launcher.
  6. Press "Apply" and "Next" and again "Apply" to finish the container.

You will now be able to play Minecraft on your Synology Diskstation. The IP address it the IP of the Diskstation and the Port number is assigned undet step 5.

Configuring the environment

Writing a script to launch the server

It's definitely boring to have to remember the command-line options for your server every time you launch it. Luckily, we can write it down in a file and just run that instead.

On Windows

The windows version of a script is called a batch file. Create a text file in the folder where you put the jar as "start.bat", and then right click it to edit using notepad. Paste the following in:

@ECHO OFF java -XmsM -XmxM -jar minecraft_server.jar --nogui pause

Double click the file to start your server. You may get a "Class_Not_Found" and ServerGuiConcole error, just ignore these errors and you should see your "Server Thread/INFO" dialog start the server.

The "pause" command is there to keep the window open so you can read what happened after the server stops.

On macOS, Linux, and FreeBSD

All these systems use a common scripting language called the "POSIX shell script" on the command line. Create a text file in the folder where you put the jar as "" and write the following in:

#!/bin/shcd"$(dirname "$0")"exec java -Xms1G -Xmx1G -jar server.jar --nogui

Now save the file. Run (or path to wherever you put the script) to make it executable. You can now run the file by double-clicking or by running in the folder (or using a whole path from outside there).

If you want to add a pausing part like the Windows example, remove the word, and add a line of to the end. This is useful if you are running the script by double-clicking on the GUI.

On Plan 9

(I don't use Plan 9, so I have absolutely no idea how to use the rc, psh, acme, snarf magic. Someone please add it.)

Startup and maintenance script

Alternatively, you can manage/automate the startup and shutdown of the Minecraft server using a script such as the ones listed below:

  • Minecraft Server Control Script (MSCS) is a server-management script for UNIX and Linux powered Minecraft servers. Features include:
    • Run multiple Minecraft worlds.
    • Start, stop, and restart single or multiple worlds.
    • Create, delete, disable, and enable worlds.
    • Includes support for additional server types: Forge, BungeeCord, SpigotMC, etc.
    • Automatically backup worlds, remove backups older than X days, and restart worlds.
    • Visit the Minecraft Server Control Script Github page for more information.
  • Minecraft Server Manager A comprehensive startup script for Minecraft and Bukkit servers (support Debian, such as Ubuntu).
    • MSM can also periodically create World Edit compatible backups.
    • Keeps players informed with configurable in-game messages, such as "Shutting down in 10 seconds!"
    • Expose in-game commands (such as "say", "op" and "whitelist") to the terminal.
    • Tab completion on all commands makes learning easy.
    • Visit Minecraft Server Manager's GitHub page for the full list of features.
  • Server startup script
  • FreeBSD startup script
  • OpenBSD startup script
  • Ubuntu startup script
  • rfwadmin startup script with web interface (for Linux servers). Nice web interface for quickly saving and loading maps.
  • Minecraft Systemd Service A fully systemd-integrated Minecraft service:
    • Working on CentOS and Fedora
    • Protecting the server with various readonly and inaccessible jails
    • Safe restart and stop operations using rcon
    • Can be combined with a Minecraft Command Center Script for ease of administration
  • Arch Linux systemd wrapper

Port forwarding

See also: Wikipedia:Port forwarding

Port forwarding is used when you have a router and you wish to let users connect to your server through it. If you wish to host your server for local reasons, it is not required that you do so. Keep in mind that port forwarding might cause security risks.

When port forwarding, it varies on how your router will ask you for the information. If you don't understand on how your router wants you to input the information, try visiting for a tutorial.

Once you have managed to locate your router's admin page, and find the Port Forwarding page; hit add new service (may not work) (if you use Belkin, this can be very difficult to perform) or custom service. When you get a page asking to setup the new rule, it should prompt you on what you want to call it. You may name it as you wish, but for simplicity, name it "minecraft". Then, you want to look for "type". If "TCP/UDP" or "Both" isn't an option you will have to create two rules for both protocols. For the ports (internal and external), enter If it asks for anything else other than output IP (or internal IP, server IP), leave it alone and continue.

To find your computer's IP address, use the following steps:

Windows Windows
Press &#;+&#;; this should be up to the "Run" dialog box. Type and hit . This should open a command window with a black background. From there, type and press . You should be given a list of text. Scroll up to "Wireless LAN" (if using wireless) or "Ethernet" (if using a wired connection), and look at "IPv4 address". To the right of this should be a string of numbers (of the form Copy this down by right-clicking the window and selecting "Mark", then highlight the area and hit Enter. Don't copy any parentheses or letters.
Locate your way to your desktop. Pull up the apple menu under the logo and scroll down to System Preferences; then select "Network" your IP should be on the lower right as "IP address (". Once you have your IP, copy it down.
Either you use the network diagnose center (depending on distribution), or the terminal with . The output should return all your interfaces. Search for , copy the numbers down.
Once you have this IP, enter it in the "Output IP / Server IP" or whatever way it asks for where the service points to.
Once you have completed it, find where it says to save/continue/apply. And you have successfully port forwarded. When you run your Minecraft server, you have to leave the Server IP field empty in the server properties.
For people to connect to your server, they must use your external IP, which you can find at websites such as IP Chicken. If you don't want to use such IPs, use DynDNS services such as NoIP DynDNS

Now it is time to configure and connect.

Setting up a VPN


VPN's can cause issues connecting to Mojang's servers, Minecraft servers, or to the internet.

An alternate way to set up a server between you and your friends is to set up a VPN (virtual private network). This method may be deemed unrecommended, and an inconvenience for many users due to the fact that all users who wish to connect to the server must download external software in order to join or create server. An alternative to this method is to port forward. A free software utility that can be used to set up a VPN ais Hamachi by LogMeIn. OpenVPN is another (free, open source) alternative that supports most OSes, but is a bit more difficult to configure. Free Radmin VPN is another software with no need to register on the website and no limits per the number of users. The free version of Hamachi allows up to 5 connections (i.e. players).

Setting up Hamachi

  1. Install Hamachi on each computer that wishes to participate in the server, including the host.
    Windows / Mac
    Linux (bit and bit and packages are available, you can install it on Gentoo by emerging "net-misc/logmein-hamachi")
  2. The host server signs up for admin via the Logmein website.
  3. On the host machine, a new Hamachi network is created.
  4. The host installs and configures the Minecraft server software:
    The server IP field in is left blank (as default).
  5. The host passes the newly created Hamachi network credentials to each of the players.
  6. The players connect to the host's Hamachi network.
  7. Now that all the machines are connected within the same Hamachi network, the host gives their machine's Hamachi IPv4 address to the players.
  8. Each player connects using this IP as per the usual Minecraft multiplayer screen.
  9. Note that Hamachi has been squatting on an IANA-allocated IP block (/8). As such, Hamachi fundamentally conflicts with the internet itself.

Setting up Radmin VPN

It is very similar to Hamachi installation.

  1. Download free and install Radmin VPN
  2. Create a network: after Radmin VPN installation on the local computer press "Create network" button. Set a Network name and a Password —> Press "Create" button.
  3. Now the new network will appear in the main window —> invite friends, send them the info to connect -> you are welcome to run Minecraft.
  4. Connection: after program launch press “Join network" —> in the dialog box press enter Network name and Password received from the network administrator —> "Join" —> the new network and its nodes will be shown in the main window. —> Connect to the host in Minecraft.
  • If the connection on Radmin VPN has been established, but you don`t see other players in the game, then it is required to adjust firewall for work of the game or just turn the firewall off.

Configuring the Minecraft server

  1. Configure the server by editing the file, the format for which is explained here. Be certain to edit the file with a text editor that does not add formatting (e.g., for italics), such as Windows Notepad. Additional configuration may not be necessary as many servers run fine from the default values.
  2. To become or add an operator (op), type into the server console or gui. This adds the specified user's username and UUID to the file. Operator status will not be changed if you change your username due to the use of UUID.
    • Administrators and operators may execute commands. In other words, operator (op) privileges allow you to control certain aspects of the game (e.g., teleporting players).
    • ops.json contents:
  1. If your is configured to enable whitelist, you can add a user to the by typing into the server console or gui. Due to the transition to the UUID system, it is not recommended to directly edit .

Connecting to the Minecraft server

  • If you are playing on the same machine on which the server is running, select the "Multiplayer" option in the game client, click direct connect, and then type in instead of an IP address.
    • Both hosting and playing on the same machine is not a recommended practice unless you have a powerful computer (e.g. more than 6 gigabytes of ram (4 for the server, 2 for the client, and some for the rest of the system).
  • Users within your local network (i.e., that are accessing the same router) can connect using your internal IP address; port forwarding is not required for such local connections. The internal IP address of a specific network adapter can be found by typing "ipconfig" into the command prompt and looking for the IPv4 address, or by using this website. If the port is set to a number other than in, that port must be included. This address (both IP and port) will look something like .
  • Users connecting from the Internet (i.e., outside of your local network) must connect using your external IP address. You must port forward for someone outside your network to connect to the server.

IP address notes

  • Unless you set a static IP for the computer that is hosting the game, the internal IP address can change. This affects port forwarding rules, and can make them invalid. Each modem or router has a different way of setting a static IP address. You should refer to the manual for your device(s) or online documentation for further instruction.
  • If you are having players connect to your external IP, your external IP can change if you do not have a static IP from your internet service provider. Use a tool such as WanIP to periodically check on the external IP address. You may also search "my ip address" on Google and it will show your IP address. Alternatively, you can look into a DDNS service that will allow you to have a name, rather than an IP address, that will remain the same. The name will point to your external IP address, regardless of whether or not it changes (the DNS is updated when changes occur, hence "dynamic").
  • For troubleshooting purposes you can try running Minecraft on the server machine and connect locally. You can connect through either , your home network IP () or your public (Internet) IP.
  • If for some reason you have trouble with connecting publicly over your IPv4, try connecting over IPv6. This should only be done for testing whether your server is online, external players should still use IPv4.

Firewalling, NATs and external IP addresses

  • You must open a TCP/UDP port (default is ) on the firewall.
    • If the server in question is not reachable via a globally routable IP address, you will need to add appropriate address and/or port number translation rules to the gateway — usually your router has the global IP address.
  • For help with address translation, opening the firewall and routing (these three make up what people call port mapping/forwarding), is a good source. Select your router from that list, skip the ad that comes after selecting the device, and you will see instructions for setting up port forwarding. Alternatively, you can read the documentation supplied with your router, modem, or other ISP related hardware.
  • Verify the port is open, and note your external IP by using a port checker tool, such as You Get Signal. The default port you should test is , unless you specified something else. Have the Minecraft server running when you test the port.
  • You can obtain your external IP address from YouGetSignal.

Local network dedicated servers

This only applies to Classic (v) servers.

A common problem for server administrators is the inability to connect to your own server via another machine on your local network. A typical scenario for this is that you have a Classic server running on a dedicated machine, and you have your own machine which you play on. They're both connected to the same router/switch, and have internal IP's with the octets 'x.x'. Normally, connecting via the URL generated for your server will result in an error message claiming that the server is offline.

To correct this, you must add a function to the end of your URL, bookmarks, or whatever else you connect by. The function is: ?override=true

Previously, (before the beta and website update) this was &override=true. This caused much confusion since the change was not announced by Mojang, and wasn't announced on the website applet pages either. Before the update, connecting to your own URL via the website resulted in red text under the applet window saying "If you can't connect, try this link instead." The link returned the same thing, with the &override=true affixed to the end.

Note: This situation does not effect Beta servers, and you should be able to connect via an internal or external IP.

The SRV record

Java edition since also supports using custom ports without requiring the player to type it. This is achieved by using a SRV record (for "service") in the DNS. The SRV record tells Minecraft the actual host and port to use; some DynDNS services and most static DNS services allow you to set it up.[1]

To manually verify the SRV record, use (assuming the player-facing domain is ""):

> nslookup -q=srv Server: UnKnown Address: [REDACTED] Non-authoritative answer: SRV service location: priority = 5 weight = 5 port = svr hostname =

FAQ (frequently asked questions)

Q: I have a problem which is not answered in here! What should I do to?

A: Go to the Minecraft Forums and post your problem there. To help you, they need the following information:

  • Operating system
  • Version of Java
  • One machine or multiple computers
  • Exact description of the problem
  • Steps you have taken to solve the problem
  • Any errors you encountered
  • Screenshots of the problem (if possible)
  • Anything else that might help us to solve your problem - there almost never is too much information (passwords would be too much information!)

And please, if we were able to help you, post where the problem was exactly and what the fix was for that. Other people will appreciate that (and we will be able to get a grip on the common problems)!

Q: On a Windows computer, when I double click the batch file it opens a command prompt window, but quickly disappears and the server does not start.

A: Right-click your .bat program and hit edit; add a new line and type save and run the file. If it says invalid path, it is probably due to an incorrect path to java.exe/javaw.exe or your Minecraft server jar file. You may just need to change to . Or search your system for java.exe/javaw.exe and adjust the path accordingly. (It's probably under or .) Also, you must have the offline version of Java installed—not just the Java plug-in for your browser.

Q: Whenever I try to get the server up, it says "Failed to bind to port!".

A: The most common reason this happens is because you put an IP address in the server-ip field in your file. If the IP you specify isn't the same as any of your network interfaces, (your wireless or wired IPv4 from ipconfig/ifconfig/ip a) Minecraft will throw the port binding failure message. By leaving it blank, you let it bind to all interfaces. You will then be able to connect using localhost and people on your wired/wireless network (in the same subnet) can connect using the computers/server's (private) IP address.

Alternatively, the error can mean that you have tried to use a port that is already in use or that you do not have permission to use (ports < are privileged and require root/Administrator access to bind to). You can try a different port by changing it in your file in this line: .

Note: You should avoid using the following ports for your server as some ISPs may block these ports for security reasons and you shouldn't be running the Minecraft server as root (in the case of a Linux type OS and ports < ):

  • 21 (Used by most FTP Servers)
  • 22 (Used by Secure Shell daemon)
  • 25 (Used by Mail Servers for SMTP)
  • 53 (Used by DNS Servers)
  • 80 (Used by most Web Servers)
  • (Used by most Mail Servers for POP3)
  • (Used by Simple File Transfer Protocol)
  • (Used by Mail Servers for IMAP)
  • (SSL port for Web Servers)
  • (Used by most MySQL Servers)

Generally avoid any port below number , since those ports are generally referred as well-known ports and are registered with the IANA for important services.

Q: I tried to run the server with Solaris/OpenSolaris and got the following error: Operation interrupted at Method) at at at at gq.a(SourceFile) at ji.g(SourceFile) at ji.c(SourceFile) at [INFO] / lost connection

A: For whatever reason, out of all of the operating systems, only Solaris throws that exception when a thread interrupts a connection. A workaround is to change the default behavior on the command line:

java -Xmx1G -Xms32M -XX:-UseVMInterruptibleIO -XX:+UseConcMarkSweepGC \ -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts\ -jar minecraft.jar nogui

This instructs Java to use an interruptible IO stack instead of the default IO that is sensitive to interrupted threads.

Q: When I try to connect to my server this is what it says:

Connection lost The server responded with an invalid server key

A: This error is usually caused when the server sends an unrecognized function to the client, which may be caused by using unrecognized server software, unbalanced client / server versions or modifications to the client.

Q: I cannot break/place any blocks!?

A: This is most usually caused by interacting with blocks in a protected area. If you are trying to interact near spawn, most likely it has been protected, by the Minecraft server software; either build away from it or get operator status.

Q: My server runs fine, but I cannot connect to it!

A: This could be caused by a series of issues. Please post a thread using the template provided above.

Q: How do you give a .jar server more ram?

A: Change the numbers in the server launch command "-Xmx1G -Xms1G". The -Xms part specifies how much memory the server starts with, and the -Xmx part is the maximum amount of memory the server can use. = 1GB = 2GB And so on.

Q: Why is the server CPU constantly at full load?

A: Some users are experiences full CPU load on the server. This may be caused by the GUI (graphic user interface) window. Run the server with the option to disable this window.

Q: Help! How do you find out your server's IP address?

A: Read #Connecting to the Minecraft server

Q: I port forwarded and allowed java.exe in my firewall and it's still not working!

A: Your modem might be acting as a router as well. If you switch ISP's or upgrade your connection to the Internet, you may get issued a modem/router combination (which might explain why it worked in the past). You can verify this by looking for the WAN IP of your router. If it's a private IP, you'll need to log into the modem/router your ISP issued to you, and configure port forwarding to the WAN IP of your router.

Q: I turned off my firewall on my router/modem how does it still not work???!!! However, port forwarding sites report they can "see" me?? What's going on???!!

A: Turning off your firewall on your router/modem means you essentially disabled port forwarding. Port forwarding is actually a subset of firewall rules. If no rule exists on that port (for example ), the firewall will ignore/drop the connection attempt (hence, you get a connection timed out). If there is a rule, it should pass on the connection to whatever computer is configured to receive the initial connection attempt.

When you disable the router/modem firewall and test your public (non RFC ) IP address on a port forwarding-checking website, the website will hit your router/modem, and your router/modem will respond, yes you can see me. This is another reason why disabling your firewall is bad; you incorrectly believe that people outside your network can connect to your Minecraft Server on your computer, when really, they're trying to connect to the router/modem itself.

To solve this, the next step is to confirm if your port forwarding (rules) are correct. By Google-ing "minecraft server checker" you'll be able to check if you configured your network correctly such that users outside your network running the Minecraft client can indeed connect to your computer through your router/modem.

Note: You may need to be careful about the Minecraft Query - It may use layer 4, the transport layer - UDP to query your server. Many Internet and Youtube guides will only tell you to port forward TCP (this guide outlines that you do both).

Q: What is connection timed out and connection refused?

A: Simply put, connection timed out is when a firewall ignores a connection attempt (ignores the intial connection packet with the SYN flag in the 3-way handshake). Connection refused is when there's no process listening on the port; therefore, the operating system lets the client (in the standard client-server model) know their connection attempt did not work.

The default configuration on all Windows computers (the home version) and (just about) all (SOHO) routers is to drop or time out the connections. This is called "stealth mode" and you can read more about it on superuser. Here's a brief summary: "The idea is that refusing a connection instead of timing it out will tell an attacker that there actually is a computer on that IP-Address. With the connection attempt timing out, the hope is that the attacker will ignore the computer."

You can read more about connection refused on serverfault.

So if your error message is a connection timed out, it's usually a firewall problem - you either need to allow Java in the Windows firewall or port forward. If the error message is a connection refused, perhaps your Minecraft server has not started properly or you turned off the firewall on your router instead of port forwarding.

As always, you can always ask the Minecraft Forum if you are uneasy or unsure about something, particularly if opening the command prompt/terminal and running commands makes you nervous.

Connection filtered and connection closed is another way of saying timed out and refused, respectively.

Video/Alternative Tutorials

Here are some other tutorials on how to set up a Minecraft server:

  1. Standard farms co2 oil syringe
  2. King size star quilt pattern
  3. Treble clef sheet music blank
  4. Oracle identity cloud service

How To Make a Minecraft Server &#; The Ultimate Guide

In this free CodaKid tutorial, we will be providing step by step instructions on how to make a Minecraft Server in including how to host your server for free.


In addition to guidance on how to set up free Minecraft server hosting, we provide step by step instructions on how you can set up multiplayer games that you can play with your friends and family.


We at CodaKid live and breathe Minecraft, and we teach tens of thousands of students each year Minecraft Modding using the Java programming language. We hope that you enjoy this guide!


Step 1: Get Minecraft Java Edition


These instructions require that you own the Minecraft Java Edition. If you own the pocket, console, or Windows 10 edition of Minecraft, you will not be able to host your own custom server. Minecraft Java Edition can be purchased and downloaded here.


If you already own Minecraft Java Edition, then you can proceed to Step 2.


Step 2: Get the Latest Version of Java


The first step in setting up a Minecraft server is making sure you have the latest version of Java installed. Minecraft requires Java to run the game and having the latest version will help us run our server without issues.


You can install the latest version of Java here. Once there, click the red Java Download button as you can see below:


How To Make a Minecraft Server


Then, read and accept the terms by clicking the red &#;Agree and Start Free Download&#; button.


How To Make a Minecraft Server 2


The Java setup run file should now be in the download folder of your computer. If you need help with finding the download folder, type in “downloads” into your computer search bar and open the Downloads folder.



Once in the downloads folder find the JavaSetup executable file and run this application. A popup window may appear asking if the application can make changes to your computer. Click to allow access, you may be asked to provide a password for these permissions.



Once the application loads click to install Java.


How To Make a Minecraft Server - Installing Java


You may be asked to uninstall a previous Java version, do so as keeping an older version does not help with our server setup.



Once any previous versions are removed continue through the window prompts until Java is downloaded and up to date.




The first step in setting up a Minecraft server should now be complete. The following step we must take is downloading and setting up the actual Minecraft server folder.


Step 3: Download the Minecraft Server


The first step in downloading a Minecraft server is to download the Server.jar file from the Minecraft website.


Optional: If you want an older version, you can find a list of Minecraft versions below. Be sure to click the Server jar on the version you want to make sure you have the Server.jar required for the next step.


The following link has the latest version to download from the official Minecraft website.


Once on the page, click the Download Minecraft server jar link as shown.


How To Make a Minecraft Server - Download Java Edition Server


Note: You may have a different version number than shown in the picture. This is okay as the latest version of Minecraft is constantly being updated.


Your computer may notify you that the file could be harmful to your computer. This is because any .jar file is treated as harmful when downloading in most browsers and computers. Just click Keep as this is an official Minecraft server .jar file we can trust.



Before we run this .jar file we want to create a folder for it that will hold all of the files. A common practice is to create the server folder on your desktop. To do this, go to your desktop and right click on an open space. Go to New > Folder and click to create a new empty folder.



Once it is clicked it will let you change the name of the folder, so name it something so you know it is your Minecraft Server.



Now return to your Downloads folder the same way we did earlier and right click on the Server.jar to copy it as we will paste it into the new folder we made in the next step.



Once you have the Server.jar copied, return to your desktop and open the server folder we made earlier. Then right click in the empty folder and paste in the copied .jar file.



With this server file in the folder, right click on it and press open to run the application. This will create some configuration files you will need for your server and they will be neatly placed in the new folder we made.



With these files, we need to accept the EULA agreement in order for our server to run without shutting down immediately. Open the eula.text file.



With this open you should see the line eula=false. Change this to read eula=true as shown below.



Once the change is made go to File > Save to save the text document so the agreement is complete. You can then exit out of the eula text document.



The next step is to run the server.jar file again to download more folders needed. Open the server.jar file to launch the server.



You should see a lot of new text documents as well as a server window that opens up as shown below.



Your new server is officially launched and ready to go! Players should be able to find your server game in the multiplayer tab if they are on the same internet connection your server is setup on. If you want to run the server so your friends can join your game from a different internet connection, we have a section lower that covers this.


Before we cover playing globally with your friends, let’s cover some commands we can use with our server as well as some server customization.


Step 4: Commands to Run the Server


The next step we are going to do is create a batch file we can use to launch our server and help it run smoother to prevent as much lag as possible. The first step will be to create a new text document that we will save as a .bat file. Go into your server folder and right click to create a new text document.



Once this document is made name it something easily recognizable as the file that will start our server.



Once it is renamed, double click to open the document and add in the text as shown below. These are commands to help our server run smoothly.


Make a Minecraft server with Java


Let’s break down exactly what these commands are and what they do for our server. The -XmsM and -XmxM are two lines that help the server run with more RAM memory. This allocates a gigabyte of ram memory for the server to run on.


The -jar and server.jar run the server jar file we have in the same folder. Important note: if your jar file is named something different than server.jar, you need to have the exact name of the file written out.


Finally, the pause at the end lets the window running the batch file stay open. This is helpful to spot any issues that may be crashing your server on launch or during gameplay.


Next, we need to save this file. Go to File > Save As to save this file as we will be changing it to a batch file instead of a text document.



Once in the save as menu, go down to where says save as a text document and change this to all files. This lets us change the type of file it will be saved as.



With all files selected, add “.bat” onto the end of the filename and then save. This will create a new version of your start server file that is now a batch file.



The next step is to delete the old text document so we are not confused as to which is the file we need. The text file should say the type of file is a Text Document this is the one we want to delete.


How to make a Minecraft server


Now you should test out the server and make sure it launches with the batch file. Open up our new file and make sure the server starts. If it does not launch our server window, make sure you have the correct jar file name the command need to launch.



Once your server launches correctly go ahead an exit out of the server window as well as the command window that launched the server. We will now be customizing our server even further.


Step 5: Setting up Server Properties


Now let’s look at some server properties we can change to customize what kind of Minecraft game you want to play in your server. Open the server properties file.



Once here, you will see a lot of text sections. Let’s cover the most important ones and look at the properties you will most likely want to change.


How to host your own Minecraft server


The properties highlighted in the above image are some of the most important ones you should be familiar with. The first “gamemode=survival” property determines the gamemode you and your players will play in the server by default. This is set to survival meaning you will have hunger and health you will have to manage in game. Setting this to “gamemode=creative” lets the players build, break, and fly as they are untouchable and unkillable in this gamemode.


The next “spawn-monsters=true” is a property that tells the server monsters and dangerous enemies will appear. Changing this to “spawn-monsters=false” will stop monsters from spawning even in survival mode.


One of the more important properties in our experience with minecraft servers is the next highlighted “pvp=true” line. PvP stands for player vs play so this controls whether or not players can damage each other. By default this is set to true meaning players can hurt and damage one another in game. Setting this to “pvp=false” will disable and ability for players to damage each other.


The command line “enable-command-block=false” is a line that disables the use of the programming command block in the server. Setting this to “enable-command-block=true” will let the command block be used. The command block is a helpful tool to start teaching the basics of coding to Minecraft players. CodaKid has helpful courses that review the use of command blocks and the basics of programming with Minecraft.


Right below the command block line is the line that sets the maximum amount of players that can join the server. The default shown here is “max-players=20” so if you want a smaller server change this number to a lower amount or if you want to host many people, you can increase it.


The last two highlighted properties are the server-ip and level-name. The server-ip will be used in the next step of port forwarding to play across the globe with your friends. The level-name is what world you play in your server. It is set to “world” by default as a random Minecraft world is generated when creating the server files. You are free to replace it with any custom map or level you download on the internet, but you need to make sure to drop the whole map file in your server folder and then change the “level-name=world” to “level-name=” the name of your new map.


We now have a basic understanding of our server properties and how to customize our server. Now let’s do a little more work to make our server playable with friends.


Step 6: Port Forward to Play Globally (Optional)


Port forwarding is what is required to let your friends connect to your server if they are not on the same local connection. If you want to play on a server locally on the same connection this step is not required. It is important to note that port forwarding might cause security risks so make sure you follow the port forwarding steps carefully.


Every router is different when it comes to setting up port forwarding. A router is what is used to create a wireless internet connection. You need to follow the steps to reach your router’s admin page as we will be port forwarding a specific port address that Minecraft will use. Go to the following link below and click on the list of all routers and find your router. Skip all ads and do not download any software on this website. Additional software is not needed for this.



When you are on your specific router page follow the steps on setting up a port forward entry. This will differ from router to router but the general steps in common with most routers will be the following.
Create a static IP address

Login to your router and navigate the port forwarding section

Create a port forward entry

This website explains each step for your specific router in depth. When you get to the step of creating a port forward entry make sure you name it something that is recognizable such as Minecraft and the port number should be The port forward website also has a very helpful explanation about port forwarding for Minecraft here.


Once you have this all setup, it is time to finally test your Minecraft server and seeing if everything is connected properly. The tricky part to test your work on port forwarding is someone on a different connection than you has to test and see if they can connect to your Minecraft server. Port forward has steps for this in the link above but we will provide instructions for this below as well.


Step 7: Connecting to your Minecraft Server


Now let’s connect to the server. The very first step is to run our batch file to launch the server.


Connecting to your own Minecraft server


With the server launched, open your Minecraft launch page and make sure you load the version of Minecraft that matches the jar you downloaded. As of the writing of this article, Minecraft version was the latest version and the server that was downloaded. However, if this becomes outdated I can make a new server or simply load up the version of Minecraft. It will be a good idea to make a launch version of Minecraft that we can always connect to our server with. To do this you can go to the Installations tab and click the +New button.



Once here, you should name the installation with the server and version number of Minecraft and select the version as the release number your server download is. This is shown below for version so make sure you change this to your Minecraft server version. Make sure to click create to finish this installation.



Next find it in your list and click Play to launch Minecraft.



Once Minecraft is launched go to the Multiplayer tab.


making your own Minecraft server


Once in the multiplayer tab, click Add Server.



On the new page after add server was clicked, make sure to add a server name and in the server address, this needs to be your public IP address so other players can connect to you. The address shown in the picture is just an example. Make sure to enter your unique public IP address. This can be found at the following link below. You may need to also enter a colon and the port after the address. So an example is


make a Minecraft server


Once this is done you should see your server made and trying to connect. If you have a failed connection, check the ip address you entered as well as the port forwarding settings. If you see a green connection bar with open spots to connect to your server, you can launch in and enjoy playing in your very own custom server!


Next Steps


Playing with a Modded Server


While hosting your server and playing with friends you may want to play with some mods. There is a helpful guide below that covers adding mods to the server we just setup! In order for your friends to play the modded server with you, they need to have the same mods as you do as well as a forge modded version of Minecraft.


Creating your own Minecraft Mods


If you enjoy Minecraft Mods and want to create your own custom mods for use in your own servers, CodaKid has a series of courses that can teach you how to make your own custom creatures, biomes, dimensions, insane explosions and special effects, and more!


Minecraft coding is fun and creative, and teaches you real Java programming with the Eclipse IDE.

Our courses even include messaging and screenshare support from live engineers if you ever get stuck, and our courses even come with a two week free trial!


We also offer private online coding lessons that teach Minecraft Modding, Roblox Game Development, Python, Scratch , JavaScript, Unity, Unreal Engine, and more.

We hope you enjoyed How to make your own Minecraft Server, the Ultimate Guide. If you enjoyed our Minecraft server tutorial, we’d love it if you could share it with friends.


How to make a Minecraft server


Also &#; for fans of modding, check out this free tutorial called How to install Minecraft Forge. Hope you find it helpful!


If you have any questions or comments, please leave them below! If your server configuration is not working, please make sure to follow this tutorial again and double check your work. You can also write us and ask questions &#; however please keep in mind that we are extremely busy serving customers and we may take a few days to respond.

Share the post "How To Make a Minecraft Server &#; The Ultimate Guide"

Posted in Minecraft server

Building the ULTIMATE Minecraft Server

The girl got a little drunk. With no shaking hand, she returned the glass, leaned back in her chair, listening to the new sensations, and anxiously began to await her further. Fate. Change of position The haunted Vika was sitting in her chair, and around her in the free places were the men, undressing her with glances.

The one sitting on the right ordered to get up.

Computer building a minecraft server

Lips. At first I timidly responded to your heat, but having grown bolder, I opened my mouth a little. Insolently - you cannot call it otherwise - your tongue studied me, caressing my lips; your hands unlaced the corset.

Building A $50 Budget Minecraft Server Computer - Ultimate Cheap Server PC Build

But the tree was in no hurry to pull out the thick process. I realized that the elf was going to proceed with the actual rape. And so it happened.

Similar news:

From these actions, he revived vigorously again, bloodshot. I love to use my other hole as well, she said with a grin. I almost jumped on the spot from such a statement.

1051 1052 1053 1054 1055