Minecraft requires an Xbox Live account to play online multiplayer on most platforms, including consoles, Windows 10, and mobile devices. However, if you and your friends do not have Xbox Live accounts or do not wish to use them, there are still a few ways you can play together:
Local Area Network (LAN) Play: If you and your friends are on the same local network (connected to the same Wi-Fi), you can host a LAN game in Minecraft. To do this, ensure that the "Local Server Multiplayer" option is enabled in the game settings. Other players on the same network should be able to join your game by going to the Friends tab in the Minecraft main menu and looking for your game under the LAN Games section.
Minecraft Realms: Minecraft Realms is a subscription-based service provided by Mojang (the company behind Minecraft). With Minecraft Realms, you can create a private server that you and your friends can access without the need for Xbox Live. The Realm owner needs to have a subscription, but invited players do not require one. This option allows you to play together even if you are not on the same local network.
Third-Party Hosting: Some unofficial servers and hosting services might allow you to play Minecraft multiplayer without an Xbox Live account. However, be cautious when using third-party services, as they may not be as secure or reliable as official options.
Minecraft Java Edition: If you and your friends are all on PC and prefer the Java Edition of Minecraft (as opposed to the Bedrock Edition that runs on consoles and Windows 10), you can host your own server. This will allow you to play together without the need for Xbox Live. There are various tutorials and resources available online to help you set up a Minecraft Java Edition server.
Remember, the options mentioned above are based on information available . Minecraft's features and requirements may have changed since then, so it's a good idea to check the official Minecraft website or the game's documentation for the most up-to-date information.