minecraft install spigot + geyser + floodgate ubuntu server

Post Reply
zemerdon
Site Admin
Posts: 255
Joined: Mon Jan 23, 2023 8:13 pm

minecraft install spigot + geyser + floodgate ubuntu server

Post by zemerdon »

JAVA CHECK AND INSTALL

zemerdon@minecraft:~/spigot_mc/plugins$ java --version
openjdk 21.0.5 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.10)
OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.10, mixed mode, sharing)

https://www.azul.com/downloads/?version ... e=jdk#zulu
sudo apt install openjdk-8-jdk-headless
sudo apt install openjdk-21-jdk-headless



root@minecraft:/home/zemerdon/spigot_mc/plugins# update-java-alternatives --list
java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
zulu-17-amd64 2175400 /usr/lib/jvm/zulu-17-amd64

openjdk-21-jdk-headless/oracular-updates,oracular-security,now 21.0.5+11-1ubuntu1~24.10 amd64 [installed]
openjdk-21-jre-headless/oracular-updates,oracular-security,now 21.0.5+11-1ubuntu1~24.10 amd64 [installed,automatic]
openjdk-8-jdk-headless/oracular-updates,oracular-security,now 8u432-ga~us1-0ubuntu2~24.10 amd64 [installed]
openjdk-8-jre-headless/oracular-updates,oracular-security,now 8u432-ga~us1-0ubuntu2~24.10 amd64 [installed,automatic]

SET JAVA VERSION

root@minecraft:/home/zemerdon/spigot_mc# sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/zulu-17-amd64/bin/java 2175400 auto mode
* 1 /usr/lib/jvm/java-21-openjdk-amd64/bin/java 2111 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
3 /usr/lib/jvm/zulu-17-amd64/bin/java 2175400 manual mode


SPIGOT INSTALL

https://hub.spigotmc.org/jenkins/job/BuildTools/
https://hub.spigotmc.org/jenkins/job/Bu ... dTools.jar

root@minecraft:/home/zemerdon/spigot_mc/plugins# java -jar BuildTools.jar

Geyser + Floodgate for Spigot INSTALL

https://download.geysermc.org/v2/projec ... ads/spigot
https://download.geysermc.org/v2/projec ... ads/spigot

place both files in ../serverdir/plugins

then start server using...

java -Xms6G -Xmx6G -XX:+UseG1GC -jar spigot-1.21.4.jar nogui
Post Reply