VGKAMI
Advertise Get listed

Game Guides

How to Make a Minecraft Server for Friends: Java and Bedrock

October 26, 2026 11 min read

The right way to make a Minecraft server for friends depends first on the edition they use. Java Edition players need a Java server, while Bedrock Edition players need Bedrock multiplayer; the two editions do not connect directly. For a one-evening game, use Java’s Open to LAN or Bedrock’s Invite to Game. For a world that friends can enter while you are offline, use a Realm or run a dedicated server. Realms are the simplest persistent choice; self-hosting provides more control but requires software updates, backups, firewall rules and, for remote players, router configuration.

Ask every player whether they launch Java or Bedrock and what device they use before choosing an option. Windows 10 and 11 owners can have both editions, but they must launch the edition that matches the world or server.

Can Java and Bedrock players join the same Minecraft server?

No. Java and Bedrock are separate multiplayer ecosystems. A Java client joins a Java world, and a Bedrock client joins a Bedrock world; an ordinary Java server cannot accept Bedrock players and a Bedrock server cannot accept Java players. Windows 10 and 11 players may own both editions, but they still have to start the matching game.

Before you create anything, make a list of each friend’s edition, device and expected play schedule. Bedrock is the edition used on Windows, Xbox, PlayStation, Nintendo Switch and mobile devices, subject to each platform’s online requirements. Java Realms and Java dedicated servers are for Java players on Windows, macOS or Linux. Bedrock Realms and Bedrock Dedicated Server are for Bedrock players.

What is the easiest way to play with friends?

Use built-in multiplayer when the host will be present for the whole session. Use Realms when the group wants a private world that stays online without maintaining a computer. Choose a dedicated server when you need extensive configuration, mods or add-ons, or control over the machine and files.

Option Best for Availability Control and maintenance Main limitation
Java Open to LAN Java friends in one home or local network While the host’s world is open Almost no setup; the host controls the session Players must be on the same network
Bedrock Invite to Game Bedrock friends who want a quick session While the host is playing Load a world and invite by gamertag The host must remain in the world
Bedrock Realms Small Bedrock groups wanting a private persistent world Cloud-hosted and normally available 24/7 Backups and invitations with little technical work Bedrock-only and limited simultaneous players
Java Realms Java groups wanting a private persistent world Cloud-hosted and normally available 24/7 Backups and invitations with little technical work Java-only and limited simultaneous players
Java dedicated server Java players needing mods, plugins or detailed settings Only while the host machine or provider runs it Maximum configuration; you handle Java, updates, backups, firewall and access Java players only
Bedrock Dedicated Server Bedrock groups wanting their own persistent server Only while the host machine or provider runs it More control than Realms; you manage files and configuration Requires a supported Windows or Ubuntu environment and Bedrock players
Managed server hosting Groups that want persistence without configuring a home router Depends on the provider’s service The provider handles much of the machine work for a subscription Check current price, location, backups and edition support before buying

How do Java Open to LAN and Bedrock Invite to Game work?

These are free and have the lowest setup effort, but they are session-based rather than permanent servers.

Java: Open to LAN

  1. Launch the same Java release that your friends use and load the single-player world.
  2. Press Esc, choose Open to LAN, select the game mode and whether cheats are allowed, then choose Start LAN World. Minecraft displays a port for the session.
  3. Friends on the same home network open Multiplayer and select the advertised LAN world. If it does not appear, they can use Direct Connection with the local address and port.

The world closes for other players when the host leaves it. Open to LAN is therefore ideal for a household or a short party, not for a group that plays at different times.

Bedrock: Invite to Game

  1. Load the Bedrock world and open the pause menu.
  2. Choose Invite to Game, select friends by their Microsoft gamertag and send the invitations.
  3. Friends accept the invitation from their Bedrock game’s Friends area. The host must keep the world loaded for the session to continue.

Microsoft-account sign-in, child-account permissions and a console’s paid online subscription can affect whether an invitation succeeds. These requirements are separate from the Minecraft world itself.

Is Realms the best choice for an always-online private world?

Usually, yes, if your priority is “friends can join when I am offline” and everyone accepts a recurring fee and a simultaneous-player cap. Realms are private, cloud-hosted servers with three world slots, invitations and backups. Java and Bedrock Realms remain separate, so select the one matching your players.

Plan Edition 2026 US list price Included simultaneous players
Realms Bedrock $3.99 per month Owner plus two players
Realms Plus Bedrock $7.99 per month Owner plus ten players
Realms Java $7.99 per month Owner plus ten players

These are listed US prices for 2026 and can vary by region, platform or later price changes. Invited friends do not need their own Realms subscription. A Realm’s owner pays, controls invitations and can choose among the available world slots; the service handles the cloud machine and routine availability.

Choose Realms when you want a private invitation system and minimal network administration. Choose a dedicated server instead if you need Java mods or plugins, Bedrock server-side configuration beyond Realms, custom files, or control over where the machine runs.

How do I make a Java Edition dedicated server?

The official Java server software is compatible only with Java Edition. You need a computer or hosting service that can run a compatible Java runtime, enough memory for your world and players, and permission to configure the operating system’s firewall. Windows hosts may need to add Java to the system PATH so the command-line launcher can find it.

  1. Match the release. Have every player update the Minecraft Launcher to the same stable release you intend to run. A client on a different release can fail to connect even when the address is correct.
  2. Download the official Java server file. Save it in a dedicated folder rather than in your general Downloads directory. Keep this folder separate from unrelated files so backups and upgrades are easier.
  3. Start the server with the Java runtime. Run the downloaded server file from a terminal or the launcher supplied by the official instructions. You can use the graphical interface or the documented nogui mode. On first launch, the server creates configuration and world files and may require you to accept the displayed license terms before it will finish starting.
  4. Stop it cleanly and configure it. Use the server console’s stop command rather than closing the window. Edit the generated settings for the world name, difficulty, game mode, player limit and access controls. Give operator privileges only to people you trust.
  5. Allow local connections. Add a narrowly scoped firewall rule for the Java server port. Test from another device on the same network before exposing anything to the internet.
  6. Handle remote access cautiously. Friends outside your home normally need the router to forward the server port to the host computer, in addition to the host firewall rule. Minecraft describes home-network configuration as an advanced, unsupported path. Use the exact address and port your setup requires, and do not post your home IP publicly.
  7. Share the address privately. Friends open Multiplayer, choose Direct Connection or Add Server, enter the address, and select Join Server. They must be running the exact server release.

Plan a maintenance routine before inviting people: stop the process before replacing server files, keep the Java runtime and server software current, and copy the world folder to a separate drive or storage location on a schedule.

How do I make a Bedrock Dedicated Server?

Bedrock Dedicated Server (BDS) is Mojang’s official server software for Bedrock Edition. It is a separate package from the Java server and has different configuration files and platform requirements.

Official minimum requirements

Requirement Published specification
Processor Intel Core i3-3210 or AMD A8-7600 equivalent
Memory 4 GB RAM
Storage 180 MB to 1 GB available space
Linux Ubuntu 22.04 LTS or later
Windows Windows 10 version 10.0.15063 or later, or Windows Server 2016 or later
Network Broadband connection

Those figures are the published baseline, not a guarantee for a large world, heavy add-ons or many simultaneous players. A faster host and additional memory leave more room for world generation and background tasks.

  1. Confirm the edition and release. Every player must use Bedrock and the same stable release. Bedrock supports Windows, Xbox, PlayStation, Nintendo Switch, mobile and other supported platforms, but each console may require its own online subscription.
  2. Download the official BDS package. Save the ZIP where you have permission to execute programs and where you can make regular backups.
  3. Extract to an empty folder. Do not mix the extracted files with another server. Run the supplied executable once; it creates the initial world and configuration files.
  4. Edit the generated configuration. Set the world name and server options in the files produced by the first run. Microsoft Learn’s documented sequence is extraction, starting the server, firewall configuration, testing and then operating it as a service or normal process.
  5. Configure the firewall and router. Permit only the ports required by your players. If remote players need router forwarding, map the port to the BDS host and test from outside your home network. Keep the address private.
  6. Test and invite. On Windows or mobile, friends use the appropriate Play and Servers controls to enter the server address and port. Console players follow their platform’s server interface and online-account rules.

Before changing BDS versions or add-ons, stop the process and copy the world folder. A backup made while files are actively changing may be incomplete, so schedule backups when the server is stopped or use a method designed for live data.

Should I self-host or pay for managed hosting?

Self-hosting is economical when you already have a suitable computer and are comfortable maintaining it. You control files, settings, access lists, mods or add-ons and the timing of updates. The trade-off is responsibility: the world is unavailable when the machine or internet connection is down, and you must handle firewall rules, port forwarding, backups and security.

Managed hosting moves the machine and much of the network work to a provider. It can be a better fit when nobody wants to expose a home network or leave a personal computer running. Compare the provider’s current Java or Bedrock support, data-center location, memory limits, backup policy, player slots, mod or add-on support, cancellation terms and update process. Prices and capabilities vary, so do not assume a plan supports both editions.

  • Choose a home host when you want maximum control, can keep the machine online and understand basic firewall and router administration.
  • Choose managed hosting when persistence matters but you prefer a control panel and provider-maintained infrastructure.
  • Choose Realms when a private, low-maintenance world is more important than custom server software.

How do I keep a friends-only server online and safe?

Back up the world

Keep more than one backup and store at least one copy away from the server machine. Make a fresh copy before upgrading the game, replacing server software, installing a mod or changing a Bedrock add-on. Periodically restore a backup to a test folder so you know it is usable.

Limit access

Invite only people you know. Use an allow-list or equivalent access control where the edition and server software provide one, and grant operator permissions to as few accounts as possible. Share the address privately rather than posting a home IP in a public chat.

Protect personal information

Do not share real names, ages, addresses, passwords or other personal details in the server or its chat. Use mute, block and report tools for harassment or spam, and turn multiplayer off when a world should be private.

Schedule maintenance

Tell friends when the server will restart, and stop it cleanly before updates. Keep the operating system, server package and Java runtime current. If an update changes the world format, retain the previous server files and a known-good backup until everyone has connected successfully.

Why can my friends not connect?

Work through these checks in order; most failures are an edition, version, account or network mismatch rather than a damaged world.

  1. Verify the edition. Confirm that every player is launching Java or every player is launching Bedrock. A Java player cannot join a normal Bedrock server.
  2. Verify the exact release. Compare the launcher version with the dedicated server version. Update clients or select the server’s release before changing network settings.
  3. Check whether the host is present. LAN and Bedrock invitations work only while the host has the world open. Use Realms or a dedicated server if friends need access while the host is offline.
  4. Check accounts and permissions. Confirm Microsoft-account sign-in, accepted friend invitations, child-account multiplayer permissions and any console online subscription.
  5. Check the server process. Look for the running Java or BDS process and read its console for a startup error. If it stopped, fix that error before testing addresses.
  6. Check the local firewall. Ensure the rule applies to the server program and the network profile in use. Test locally before changing the router.
  7. Check the router and address. For remote self-hosting, verify that port forwarding points to the host’s current local address and that friends received the correct public address and port. Never publish the home address broadly.
  8. Restore safely. If a version, mod or add-on caused the problem, stop the server, revert to the last known-good files and restore the latest verified world backup.

Frequently Asked Questions

Can I turn a single-player Minecraft world into a server world?

Yes. Java and Bedrock both provide ways to use an existing world: Java can open it to LAN or place its saved world in a dedicated server’s world directory, while Bedrock can load a saved world for invitations or a BDS configuration. Make a separate backup first, because moving between server versions or add-ons can change world data.

Do my friends need to buy Minecraft again to join my Realm?

They need the matching edition of Minecraft and an account that can use multiplayer, but an invited friend does not need a separate Realms subscription. The owner pays for the Realm. Console players may still need their platform’s online multiplayer subscription.

Can I run a Minecraft server from a laptop?

A laptop can host a small server if it meets the edition’s software requirements and remains powered, connected and adequately cooled. The published BDS baseline is 4 GB of RAM and a Core i3-3210 or A8-7600-equivalent processor, but actual needs rise with world size, add-ons and player count.

What happens to a Realm if I stop paying?

The cloud world is tied to the subscription and its account. Before cancelling, download or otherwise preserve the world using the Realm management tools so you have a local copy if you later return.

How many players can join a Minecraft server I host myself?

A self-hosted server does not have the fixed Realms plan cap, but practical capacity depends on processor, memory, storage speed, network upload capacity, simulation settings and the amount of mod or add-on work. Increase capacity gradually and monitor performance rather than assuming a particular player number.