pushing up and thruw

This commit is contained in:
ggodot 2025-09-05 01:02:10 +02:00
parent 08f7b5d97b
commit f10a794469
3 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,8 @@
To switch user use:
`su minecraft -s /bin/bash`
#TODO clean this shit
# To DO
- [x] Basic commands
- [x] server.properties + run.sh + eula.txt

View File

@ -221,10 +221,10 @@ cd data
7z x Mods.zip -o/opt/minecraft/mods/
cd /opt/minecraft/
#TODO Not like this, what about to wget it?
# adds mode to help comunicate with VeloProxy
if [[ "$ansVeloProxy" =~ ["y"|"Y"] || -z $ansVeloProxy ]]; then
mv data/proxy-compatible-forge*.jar /opt/minecraft/mods/
wget https://cdn.modrinth.com/data/vDyrHl8l/versions/jfiEc2mQ/proxy-compatible-forge-1.1.7.jar
mv proxy-compatible-forge*.jar /opt/minecraft/mods/
if [[ "$ansModernFarward" =~ ["y"|"Y"] || -z $ansModernFarward ]]; then
mkdir /opt/minecraft/config
@ -232,10 +232,10 @@ if [[ "$ansVeloProxy" =~ ["y"|"Y"] || -z $ansVeloProxy ]]; then
fi
fi
#TODO Not like this, what about wget?
# adds aditional mods
if [[ "$ansSkinRestorer" =~ ["y"|"Y"] || -z $ansSkinRestorer ]]; then
mv data/skinrestorer-forge*.jar /opt/minecraft/mods/
wget https://mediafilez.forgecdn.net/files/6897/64/skinrestorer-2.4.3%2B1.21-forge.jar
mv skinrestorer*.jar /opt/minecraft/mods/
fi
### Permisions ###