Bastards.
However playing it with your kid is so excellent. Farming, fighting, building, raiding, landscaping, tunnelling, rowing, flying, whatever.
Pick your path and it is great fun.
The official Minecraft server software is exceptionally unoptimized, but a number of independent open source forks exist, some of which can substantially improve performance. Unless you're talking about maintaining the community aspect, which is definitely not so easy... :)
For anyone getting into Minecraft for the first time, be sure to check out the mod Optifine [1]. A substantial portion of the Minecraft community uses it for its UI and performance improvements to the base game. It also allows the use of custom shaders [2], which totally change the feel of the game by adding realistic effects like long shadows, wavy water, and swaying plants. I personally stick with the base game's appearance, but shaders can be really fun for exploring caves and other places with unique lighting.
[1]: https://optifine.net/home [2]: https://www.pcgamer.com/best-minecraft-shaders/
1. If you're on the same network, you can select "open to LAN" in the menu once you load into a world and it'll give you a port so anyone on your network can play in your world with you as if it's a multiplayer server. This is nice for playing with family.
2. Minecraft Realms is Mojang/Microsoft's first party solution to the problem where you pay $8 /month for essentially a private server but with some stricter rules and easier ui.
3. Now we're getting into the weeds but if you want to set up a server on your local machine but don't have admin access to your router to set up port forwarding (as is the case for many young people), there are some free tunneling services you can use like Hamachi. You'll need everyone who wants to play on the same tunnel and then they can connect to a locally hosted server as if it's online.
The remaining options are the obvious ones of setting up port forwarding so you can host a public server from your home and renting a server from a third party provider, many of which have Minecraft instances you can spin up pretty easily.
If you want to play online with friends on Bedrock Edition, the more popular multi-platform version of the game, I think it's actually pretty easy but I don't play that edition much anymore so I can't be sure.
It genuinely does make me really upset though that young people who don't have parents willing to pay monthly fees can't easily play Java edition with their friends. Plenty of other games let you host a public server on your own machine. I don't see why they wouldn't implement this except that it costs them money bydepopularizing Realms. It's honestly really sad and goes against the original spirit of the game.