velocity support

This commit is contained in:
godot 2024-07-24 16:27:33 +02:00
parent a528d7c59d
commit 479111867b
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -99,6 +99,10 @@ else
fi fi
printf "Are you planing to use Velocity proxy to acces this server? [Y/n]: \n"
read ansVeloProxy
sleep 2 sleep 2
@ -153,6 +157,11 @@ cd data
7z x Mods.zip -o/opt/minecraft/mods/ 7z x Mods.zip -o/opt/minecraft/mods/
cd .. cd ..
# adds mode to help comunicate with VeloProxy
if [[ "$ansVeloProxy" =~ ["y"|"Y"] || -z $ansVeloProxy ]]; then
mv data/proxy-compatible-forge*.jar /opt/minecraft/mods/
fi
### Permisions ### ### Permisions ###
printf "\n+ Permision handeling\n" printf "\n+ Permision handeling\n"
chown -R minecraft:minecraft /opt/minecraft chown -R minecraft:minecraft /opt/minecraft