main updates added abillity to change port

This commit is contained in:
2023-11-12 06:52:19 -08:00
parent eeb018cfc0
commit fe49f1c654
4 changed files with 8 additions and 10 deletions

View File

@@ -85,6 +85,9 @@ else
echo "WARNING ! Something went wrong, please check EULA variable"
fi
sleep 1
echo "INFO ! Setting game port."
sed -i '/server-port='*'/c\server-port='$GAME_PORT'' /MCserver/server.properties
sleep 1
# Set permissions.