Minecraft – Using own minecraft server without mojang account

minecraft-java-editionminecraft-java-edition-server

Background:

I want to play minecraft in multiplayer mode with my 11 year old son. While I have a mojang account, he doesn't and I also don't want him to have one. At the moment we play together in singleplayer mode with my account on my Laptop using the Java Edition version 1.14.4. For multiplayer we plan to buy minecraft for his Nintendo Switch.

My Problem:

To avoid having to have a second mojang account I decided to set up my own minecraft server. The server works, I can login on the minecraft launcher and then connect to the server an play on it. The problem is that I still have to use my mojang account.

What I would like to do is to manage user accounts for my server myself an use them instead of a mojang account to connect and play with my server. Can this be done?

Best Answer

When you first launch the server a server.properties file gets created. That's where the settings for the server are stored. It's a simple text file containing key=value setting entries.

To disable account authentication change online-mode to false, this will do exactly what you want. Just remember not to leak the address of the server as now anyone will be able to join. Also check the file for other settings, it's very useful. :-)

enter image description here