if you want easy java minecraft i might try something like https://github.com/itzg/docker-minecraft-server though i’ve not tested that one beyond ‘it did install’.
for bedrock this walkthough does a good job of covering the steps. https://harrk.dev/dedicated-bedrock-minecraft-server-ubuntu-setup/
microsoft has a habit of changing the download url regularly so automating it gets annoying. my kid has moved onto java so i’ve just left the bedrock server shutdown.
if you really want to run a java server outside docker and you’re comfortable with bash scripts, i can post mine here. but one of the docker builds is going to be the simplest way to get started with it.
so did the author spent a bunch of money while excited about sticking it to companies upon discovering a company is not your friend. didn’t enjoy the work of maintaining the services or have any friends to share them with. then dreamed up federated services so someone would do all that continuing maintenance for them? am i the weird one here for only putting effort into services i have other users for or actually enjoy doing?