Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- DietPi-Software | PaperMC: Fix Geyser pluging version for older PaperMC versions
  • Loading branch information
MichaIng committed Jan 7, 2025
1 parent e0430a7 commit 4bf15cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ Available commands:
aSOFTWARE_CATX[$software_id]=5
aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/gaming/#papermc'
aSOFTWARE_DEPS[$software_id]='196'
[[ -f '/mnt/dietpi_userdata/papermc/eula.txt' ]] || aSOFTWARE_INTERACTIVE[$software_id]=1
[[ -f '/mnt/dietpi_userdata/papermc/eula.txt' ]] || { ls -al /mnt/dietpi_userdata/papermc; aSOFTWARE_INTERACTIVE[$software_id]=1; }
#------------------
software_id=62
aSOFTWARE_NAME[$software_id]='Box86'
Expand Down Expand Up @@ -11524,7 +11524,9 @@ _EOF_
[[ -f '/mnt/dietpi_userdata/papermc/plugins/Geyser-Spigot.jar' ]] && G_WHIP_DEFAULT_ITEM='Yes'
if G_WHIP_YESNO 'Would you like to install the Geyser and Floodgate plugins for compatibility with Bedrock Edition?\n\nNote that this may be buggy.'
then
Download_Install 'https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot' /mnt/dietpi_userdata/papermc/plugins/Geyser-Spigot.jar
local version='2.2.3'
(( $G_DISTRO > 7 )) && version='latest'
Download_Install "https://download.geysermc.org/v2/projects/geyser/versions/2.2.3/builds/latest/downloads/spigot" /mnt/dietpi_userdata/papermc/plugins/Geyser-Spigot.jar
Download_Install 'https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/spigot' /mnt/dietpi_userdata/papermc/plugins/floodgate-spigot.jar
fi

Expand Down

0 comments on commit 4bf15cc

Please sign in to comment.