I need to find out more about Minecraft and hosting a server sounds like a good idea
I've hosted both Minecraft and Luanti (free open source Minecraft). Either is a great idea!
That said, I found setting up a Luanti server slightly simpler (because no need for everyone to have a Microsoft account, and no Java dependencies to worry about): https://docs.luanti.org/for-server-hosts/setup/
Luanti has lots of options, but a good default choice is Mineclonia: https://content.luanti.org/packages/ryvnf/mineclonia/