Expanding your Minecraft world with friends involves setting up a server, which manages the shared game environment. If you’re wondering how do you add a server on minecraft pc, you’re in the right place. The process is straightforward once you know the steps, whether you’re joining an existing server or creating your own.
This guide will walk you through every method, from the simplest to the more advanced. You’ll learn how to connect to public servers, set up a local network game, and even host your own persistent world.
Let’s get your multiplayer adventure started.
How Do You Add A Server On Minecraft Pc
Adding a server to Minecraft on your PC primarily means connecting to an existing multiplayer server. This is the most common way to play with others online. You don’t need to host anything yourself; you just need the server’s address and a few clicks within the game.
The core steps are the same whether you’re joining a massive public minigame network or a private server run by a friend. Here is the fundamental process you’ll follow.
Step By Step Guide To Joining A Server
First, launch Minecraft: Java Edition on your computer. Make sure you are logged into your Microsoft or Mojang account. You cannot join online servers without a valid, paid account.
From the main menu, select “Multiplayer.” This is where all server connections are managed. If this is your first time, the list will be empty.
Navigating The Multiplayer Menu
On the Multiplayer screen, you will see a button labeled “Add Server.” Click it. A new window will pop up with two essential fields for you to fill out.
You need to enter the Server Name and the Server Address. The name is just a label for you, so you can call it whatever helps you remember it, like “Friend’s Build Server” or “Hypixel Network.”
Entering The Server Address
The Server Address is the critical piece. This is the IP address or domain name provided by the server owner. For example, it might look like `play.hypixel.net` or `192.168.1.105` for a local network server.
Type or paste the address exactly as given. Even a single wrong character will prevent the connection. There is no need to add port numbers unless specifically instructed; Minecraft uses the default port automatically.
Once both fields are filled, click “Done.” The server will now appear in your list. You can select it and click “Join Server” to connect. If the server is online and you have the correct address, you will load into its world.
Troubleshooting Common Connection Issues
Sometimes, you might get an error message when trying to connect. Here are the most frequent problems and their solutions.
- “Cannot Connect to Server”: Check your internet connection first. Then, verify the Server Address for typos. The server itself might be temporarily offline.
- “Outdated Server!”: This means your Minecraft client version is newer than the server’s. You need to launch the game using the version the server requires. Use the Minecraft Launcher’s “Installations” tab to create a new profile for that specific version.
- “Connection Timed Out”: Often a firewall or network issue. Ensure Minecraft: Java Edition is allowed through your computer’s firewall and any antivirus software. For local servers, check that all devices are on the same network.
- “Failed to Login: Invalid Session”: Exit Minecraft completely and restart the launcher. Log back in and try again. This usually fixes the session error.
Setting Up A Local Lan Server
If you want to play with friends in the same house or on the same local network, you can host a LAN (Local Area Network) world. This is the easiest way to host, as it uses your single-player world and opens it to others.
It requires no complex setup or port forwarding. However, it has a key limitation: the world is only available to others while your computer is running the game and the world is open.
How To Open Your World To Lan
Start by loading into any single-player world you own, or create a new one. Once you are in the game, press the ESC key to open the menu.
In the pause menu, you will see a button that says “Open to LAN.” Click it. A small settings menu will appear.
Configuring Lan Game Settings
You can quickly set the game mode for other players (Survival, Creative, etc.) and choose whether to allow cheats (like using commands) for this session. These settings only affect the LAN session, not your main save.
Click “Start LAN World.” A message will appear in chat confirming the game is now hosted on your local network. It will also show a port number, usually something like 55565.
How Others Join Your Lan Server
Other players on the same Wi-Fi or network can now join. They should open their Minecraft game, go to the Multiplayer menu, and their game should automatically scan for local games.
Your world should appear in their server list under a section often called “Local Servers.” They can simply click on it and join. If it doesn’t show up automatically, they can add it manually using your computer’s local IP address followed by the port, like `192.168.1.100:55565`.
Creating Your Own Dedicated Server
For a permanent, 24/7 server that people can join anytime, even when your personal computer is off, you need to set up a dedicated server. This involves running special server software on a computer that is always on and connected to the internet.
You can run this software on an old PC, a dedicated machine in your home, or rent a server from a hosting company. The latter is often easier for beginners.
Downloading The Official Server Software
The first step is to get the server files from Minecraft’s official website. Go to the Minecraft.net download page and look for the “Minecraft: Java Edition Server” software. It is a single .jar file.
Create a new folder on your computer for the server, perhaps on your desktop, and name it something clear like “Minecraft Server.” Place the downloaded .jar file inside this folder.
Running The Server For The First Time
Double-click the .jar file to run it. It will create several configuration files and then likely close because you need to agree to the EULA (End User License Agreement).
In the server folder, you will now see a new file called `eula.txt`. Open it with a text editor like Notepad. Change the line that says `eula=false` to `eula=true`. Save and close the file.
Basic Server Configuration
Another important file is `server.properties`. This text file controls all the settings of your world. You can edit it with Notepad. Key settings to check include:
- `server-port=25565`: The default port. You usually don’t need to change this unless it conflicts with another service.
- `online-mode=true`: This verifies players have paid accounts. Set to `false` only for completely offline networks (not recommended).
- `max-players=20`: The maximum number of players allowed on at once.
- `motd=A Minecraft Server`: The Message of the Day that appears in the server list. Customize this to welcome players.
After saving your changes, double-click the server .jar file again. A console window will open, showing the server starting up. It will generate the world. Once you see a message like “Done!” you can join from your own Minecraft client using the address `localhost`.
Port Forwarding For External Access
To let friends from the internet join your home-hosted server, you must configure port forwarding on your router. This tells your router to send incoming Minecraft traffic to the computer running the server software.
The steps vary for every router model, but the general process is similar. You will need to log into your router’s admin panel, usually by typing an IP like `192.168.1.1` into a web browser.
Steps For Port Forwarding
- Log into your router’s admin interface.
- Find the Port Forwarding section (sometimes under Advanced Settings or Security).
- Create a new rule. Name it “Minecraft Server.”
- Set the External Port and Internal Port to `25565` (or your custom port from `server.properties`).
- Enter the Local IP Address of the computer running the server. You can find this by typing `ipconfig` in Command Prompt and looking for the IPv4 Address.
- Select the Protocol as “Both” or “TCP/UDP.”
- Save the rule and restart your router if prompted.
After this, your friends can connect using your public IP address. You can find your public IP by searching “what is my ip” on Google. Give them that address to add to their server list.
Using Third Party Server Hosting Services
For many players, especially those without technical experience or a spare computer, using a paid Minecraft server host is the best solution. These companies handle all the setup, maintenance, and technical issues for you.
You get a control panel to manage your server, install modpacks with one click, and guarantee uptime. It’s a reliable way to have a server running 24/7 without worrying about your home internet or power.
Choosing A Reliable Host
Look for hosts with good reviews, responsive customer support, and servers located geographically close to you and your friends for better connection speed. Popular options include Apex Hosting, Shockbyte, and BisectHosting.
Plans are usually monthly, with price based on the number of player slots and the amount of RAM. For a small group of friends, a basic plan with 1-2GB of RAM is often sufficient for a vanilla (unmodded) server.
Setting Up A Hosted Server
The process is very user-friendly. After purchasing a plan, you will receive access to a control panel. From here, you can:
- Install Minecraft: Java Edition server software (often with a dropdown menu to choose version).
- Start, stop, and restart the server.
- Upload world files or mods.
- Access the `server.properties` file through a web editor.
- View the server console and player logs.
The hosting company will provide you with a dedicated IP address or domain name to give to your players. You simply add this address to your Minecraft client just like any other server.
Adding Servers With Mods Or Custom Gameplay
Many servers use mods, plugins, or custom maps to offer unique experiences. Joining these servers requires a little extra preparation on your end to ensure you have the correct files.
For Modded Servers (Using Forge Or Fabric)
If the server uses mods, it will typically specify a modpack (like Better Minecraft, RLCraft) or a list of required mods. You cannot join with a standard vanilla Minecraft client.
You must install the same mod loader (Forge or Fabric) and the exact same mods, in the same versions, as the server. The easiest way is to use a launcher like CurseForge or the official Minecraft Launcher to install a premade modpack profile.
For Servers With Plugins (Spigot, Paper, Bukkit)
Plugins are server-side modifications that add features like economy, land protection, or minigames. As a player, you usually do not need to install anything special to join a plugin-based server.
The plugins run on the server itself. You just connect with a standard Minecraft client. However, some plugins might require you to download a custom resource pack, which the game will prompt you to accept when you join.
Frequently Asked Questions
Is It Free To Add A Server In Minecraft?
Joining most public servers is free. Hosting your own server can be free if you use the official software on your own hardware, but you incur the costs of electricity and internet. Using a third-party hosting service always involves a monthly fee.
Why Can’t I Connect To A Minecraft Server?
Common reasons include an incorrect server address, an outdated client or server version, your firewall blocking the connection, or the server being temporarily down. Always double-check the address and version first.
What Is The Difference Between A Lan And An Online Server?
A LAN server is only accessible to devices on your local network, like your home Wi-Fi. An online server is hosted on the internet, allowing anyone with the address to connect from anywhere in the world, provided they have the necessary permissions.
How Do I Find Good Public Servers To Join?
You can find server listings on websites like Minecraft Multiplayer, Planet Minecraft, or various Minecraft community forums. Always ensure you trust the source before joining any server.
Can I Transfer My Single Player World To A Server?
Yes, you can. On a dedicated server, you can replace the `world` folder in the server directory with your single-player world save folder. Your local saves are typically found in the `.minecraft/saves` folder on your computer.