Install PaperMC server using guide or use any other resource
Start the server by running papermc start (this will give you and error
Starting server... failed
exec java -Xms512M -Xmx1024M -jar ./papermc_server.jar nogui
Downloading mojang_1.19.2.jar
Applying patches
Starting org.bukkit.craftbukkit.Main
*** Warning, you've not updated in a while! ***
*** Please download a new build as per instructions from https://papermc.io/downloads ***
System Info: Java 19 (OpenJDK 64-Bit Server VM 19.0.1+10) Host: Linux 6.0.6-arch1-1 (amd64)
Loading libraries, please wait...
[14:57:59 INFO]: Building unoptimized datafixer
[14:58:00 ERROR]: Failed to load properties from file: server.properties
[14:58:00 WARN]: Failed to load eula.txt
[14:58:00 INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
no server running on /tmp/tmux-971/papermc
As it says, you need to accept the Eula, edit the /srv/papermc/eula.txt file and set eula=true (if you accept of course)
run papermc start again.
I ran into the following problem when started the server again.
[15:00:44 WARN]: **** FAILED TO BIND TO PORT!
[15:00:44 WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
[15:00:44 WARN]: Perhaps a server is already running on that port?
[15:00:44 ERROR]: Encountered an unexpected exception
Got this error, this is because I had another Minecraft server running on the same port. So the guess from papermc was correct.
To install Geysermc i followed the wiki. To get it working you shall download the Geysermc to the plugins-directory of the papermc server. Get the download from the build-server. I downloaded it using wget by browsing to the local server folder of the papermc server, and downloaded Geysermc directly into the plugins folder.
In /srv/papermc/plugins run wget https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/1227/artifact/bootstrap/spigot/build/libs/Geyser-Spigot.jar
Floodgate is needed so that Bedrock users can join without an Java Minecraft edition, Floodgate should also be downloaded to the plugins-directory
In /srv/papermc/pluginsrun wget https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/master/73/artifact/spigot/build/libs/floodgate-spigot.jar
restart the server with papermc restartAnd you are done.
Tested it, two players with IPad and one with java-edition could join and cross play.