How to make a Minecraft server on Windows, Mac, or Linux (2024)

Minecraftis the world’s second-most popular video game, having sold over 300 million copies as of February 2024.

But Minecraft is so much more than just a game. It’s also:

  • A tool forteaching kids how to code
  • An open platform to beexpanded by mod developers
  • The heart ofa 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 £6.99 a month.

Please note: Prices listed in this article are correct at time of publication

How to make a Minecraft server

At a very high level, making a Minecraft server on Windows requires five or six basic steps.

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 youcanrun 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 enterjava -version. 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 calledeula.txtwas created. Open the file in a text editor and changeeula=falsetoeula=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 PortForward.com 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 port25565.

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

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_server.1.12.2.jar”) was installed.

Start the server with the following command:

java -Xmx1024M -Xms1024M -jar nogui

(Replace with the actual server file name.)

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

java -Xmx1024M -Xms1024M -jar

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 25565. You can find your public IP address bysearching 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 todownload 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:

#!/bin/bash

cd "$(dirname "$0")"

exec java -Xms1G -Xmx1G -jar nogui

(Replace with the actual server file name.)

Save the file asstart.commandin 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. Typechmod a+xwith 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 PortForward.com 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 port25565.

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

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 GoDaddyis 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 usinga 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:

apt-cache search openjdk

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

Update the list of available packages from the remote repositories:

apt-get update

Then install the selected software package:

apt-get install openjdk-7-jdk

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

java -version

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.

mkdir minecraft

cd minecraft

3. Download the Minecraft server files.

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

wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar

(Tip: Double-check theMinecraft download pagefor 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:

yum install screen

screen

4. Start your Minecraft server.

java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

(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:

stop

Then edit the “server.properties” file and set:

enable-query=true

Save the “server.properties” file and restart your server. From there, enter your server IP address into theMinecraft Server Status Checkerto 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.

Products Used

· 1 min read

VPS HostingLearn more

How to make a Minecraft server on Windows, Mac, or Linux (2024)

FAQs

How to make a Minecraft server on Windows, Mac, or Linux? ›

Stability: Linux servers are generally more stable than Windows servers, making them less likely to crash. It's important for Minecraft servers, as a crash can ruin the experience for players. Community: A large and active community of Linux users is familiar with Minecraft servers.

Should I use Windows or Linux for a Minecraft server? ›

Stability: Linux servers are generally more stable than Windows servers, making them less likely to crash. It's important for Minecraft servers, as a crash can ruin the experience for players. Community: A large and active community of Linux users is familiar with Minecraft servers.

Can a Mac run a Minecraft server? ›

By setting up a Minecraft server on your Mac computer, you'll be able to connect to it from any other computer on the same network. With a few tweaks to your network settings, you'll be able to connect to it from anywhere in the world as well.

Can I run a Minecraft server on Linux? ›

You can set up your Minecraft server on Linux how you want without other users changing your settings. Controlling server resources and security settings maximizes your performance while eliminating in-game errors due to server overload.

Can you run a Minecraft server on Windows server OS? ›

Install a cloud server and connect to it from your Minecraft server. Choose “Multiplayer” and then hit “Add Server”. Lastly, all you need to do is enter the details and Voila. Your Minecraft Server is ready to go on your Windows 2022 server.

Is Linux server faster than Windows? ›

In the battle of Linux server vs Windows server performance, both have their strengths and drawbacks. Linux offers swifter performance, scalability, and cost-effectiveness, making it ideal for businesses that prioritize speed and budget.

Why Linux servers are better? ›

Linux has become a popular choice for servers because its wide range of applications and tools allow users to customize and configure their systems to perform virtually any task. Linux is compatible with various hardware architectures and easily integrates numerous applications and services.

Is it OK to play Minecraft on a Mac? ›

Can I play Minecraft on my Mac? Yes. However, there are two versions of Minecraft available from Microsoft: Java and Bedrock. There are a few differences between them, but the fundamental game is the same.

Can Mac run Java Minecraft? ›

Minecraft: Java Edition versions later than 1.18 are no longer supported on Mac OS below version 10.14. 5. We updated our codebase for Caves & Cliffs Part II to Java 17, which had an inadvertent effect on users playing on MacOS versions below 10.14. 5.

Can Linux and Windows Minecraft play together? ›

Yes! Minecraft does support cross-platform multiplayer. This means that you should be able to play Minecraft online with buddies regardless of platform.

Does Minecraft still support Linux? ›

When you buy Minecraft from the Microsoft store or on Minecraft.net, you get both Minecraft: Bedrock Edition for Windows and Minecraft: Java Edition for MacOS and Linux in the same bundle. Windows users can play either edition. Minecraft: Java Edition is compatible with MacOS and Linux.

How many RAM for a Minecraft server? ›

Running a LAN Party type Server (since 1.11.2)
RequirementsPlayersRAM
Minimum1-41GB
Recommended5-102GB
Best10+4GB

How do I create my own Minecraft server? ›

To set up a basic Minecraft server using the server software provided by Mojang, follow these instructions.
  1. Step 1: Install/Update Minecraft. ...
  2. Step 2: Install/Update Java. ...
  3. Step 3: Download Server . ...
  4. Step 4: Create a Minecraft Server Folder. ...
  5. Step 5: First-Time Startup. ...
  6. Step 6: Restart the Server.
Nov 29, 2022

Can I turn my PC into a Minecraft server? ›

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.

What is the best Minecraft server hosting? ›

Best Minecraft Hosting Server in 2024
  • NodeCraft: Best Minecraft Hosting for Security.
  • WitherHosting: Best Minecraft Hosting with Unmetered Storage.
  • SeekaHost: Best Minecraft Hosting with Zero Downtime Assurance.
  • Shockbyte: Best Minecraft Hosting for Beginners.
  • HostHavoc: Best Minecraft Hosting with Zero to Minimal Lag.
Aug 6, 2024

Should I use Linux or Windows for server? ›

Choosing the right server depends on your needs. If you want cost-efficiency and customization, go with Linux. For a user-friendly interface and strong support, Windows is ideal. Think about your security, performance, and software compatibility needs before deciding.

Which server type is best for Minecraft? ›

The best server for playing Minecraft with friends is often considered to be the Spigot server. This is because Spigot is a popular version of the original Minecraft server that enhances the game's performance, adds customization options, and enables the use of plugins.

Does Java run better on Linux or Windows? ›

It depends on developer and what other tools he is using. If you don't use Windows specific software or playing Windows games then Linux will be better choice because of raw speed. The only way to use Windows 10 without pulling your hair is using SSD drive. For Linux HDD is enough.

Which Minecraft version is best for servers? ›

Vanilla & Plugin Support
Server TypeDescription
VanillaThe unmodified, default version of Minecraft as provided by Mojang.
PaperMCAn optimized version of Craftbukkit/Spigot. It is the most popular server type and typically what we recommend users to use.
2 more rows

Top Articles
Descriptive Statistics – Practicing and Presenting Social Research
Walking for health
How To Start a Consignment Shop in 12 Steps (2024) - Shopify
Victory Road Radical Red
Koopa Wrapper 1 Point 0
Sound Of Freedom Showtimes Near Governor's Crossing Stadium 14
Blanchard St Denis Funeral Home Obituaries
Get train & bus departures - Android
Horoscopes and Astrology by Yasmin Boland - Yahoo Lifestyle
Noaa Swell Forecast
Pj Ferry Schedule
T&G Pallet Liquidation
Xm Tennis Channel
Where's The Nearest Wendy's
Cvs Learnet Modules
Shemal Cartoon
Magicseaweed Capitola
Cashtapp Atm Near Me
Driving Directions To Bed Bath & Beyond
R Cwbt
Itziar Atienza Bikini
Unterwegs im autonomen Freightliner Cascadia: Finger weg, jetzt fahre ich!
Inter-Tech IM-2 Expander/SAMA IM01 Pro
Van Buren County Arrests.org
Georgetown 10 Day Weather
Team C Lakewood
Www.dunkinbaskinrunsonyou.con
Seeking Arrangements Boston
Del Amo Fashion Center Map
Elite Dangerous How To Scan Nav Beacon
Pawn Shop Moline Il
Jayme's Upscale Resale Abilene Photos
How do you get noble pursuit?
Pokémon Unbound Starters
Paradise Point Animal Hospital With Veterinarians On-The-Go
Eegees Gift Card Balance
Life Insurance Policies | New York Life
Wasmo Link Telegram
Exploring The Whimsical World Of JellybeansBrains Only
Oxford Alabama Craigslist
20 Best Things to Do in Thousand Oaks, CA - Travel Lens
Rs3 Bis Perks
Cygenoth
St Anthony Hospital Crown Point Visiting Hours
Sun Tracker Pontoon Wiring Diagram
Carteret County Busted Paper
ESA Science & Technology - The remarkable Red Rectangle: A stairway to heaven? [heic0408]
Television Archive News Search Service
FedEx Authorized ShipCenter - Edouard Pack And Ship at Cape Coral, FL - 2301 Del Prado Blvd Ste 690 33990
Online-Reservierungen - Booqable Vermietungssoftware
Powah: Automating the Energizing Orb - EnigmaticaModpacks/Enigmatica6 GitHub Wiki
Strange World Showtimes Near Century Federal Way
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5857

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.