iptables rules for hosting a LAN world
Apparently, you need to accept traffic on:
- the TCP port minecraft randomly picks after you open your world to LAN, or your friends won't be able to join;
- UDP port 4445, or the game will hang when you save and exit from the world.
- I am aware this was posted 5 years ago but I would like to address an issue with this.
- As the port decided by Minecraft is random, probably designed that way to prevent people using LAN's as dedicated servers.
- The port which is sent in chat when you start a LAN needs to be opened every single time you open a world up to LAN.
- Thanks, PolarianDev (talk) 12:17, 15 June 2023 (UTC)
Minecraft wayland should work now
According to https://bugs.mojang.com/browse/MCL-12215?focusedCommentId=601710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-601710 it should work now and I am running it without the GDK_BACKEND=x11 hack.
Flatpak setup details
These are the instructions to install the Minecraft launcher using Flatpak and have Gnome-Keyring function properly as well as additionally supporting the .minecraft directory of current user. Install as per https://flathub.org/apps/details/com.mojang.Minecraft.
Command line instructions:
flatpak install flathub com.mojang.Minecraft
Next add the necessary filesystem overrides for Gnome-Keyring and optional .minecraft directory.
flatpak override --user com.mojang.Minecraft --filesystem=/home/$(whoami)/.gnupg flatpak override --user com.mojang.Minecraft --filesystem=/home/$(whoami)/.minecraft
Finally run minecraft launcher.
flatpak run com.mojang.Minecraft
- Do we need a guide to how to run Minecraft as a flatpak?
- AUR packages already provide the game and servers (and relating software, like panels such as Pufferpanel), if flatpak is needed surely the official site for flatpak has a guide on how to use the Minecraft flatpak?
- As this is not specifically Arch Linux content, I am unsure whether this should be included, maybe a maintainer or administrator might be able to explain if this should be added.
- Thanks, PolarianDev (talk) 12:20, 15 June 2023 (UTC)