Aktualizovat adjust.sh
All checks were successful
Build Minecraft Image / Build-Minecraft-Stats-Image (push) Successful in 44s
All checks were successful
Build Minecraft Image / Build-Minecraft-Stats-Image (push) Successful in 44s
This commit is contained in:
parent
ac68d7834d
commit
5d4cb3fc86
@ -19,3 +19,6 @@ FILE_PATH="/data/server.properties"
|
||||
# Create or overwrite the server.properties file with the hostname
|
||||
echo "server-name=$HOSTNAME" >> "$FILE_PATH"
|
||||
echo "enforce-secure-profile=false" >> "$FILE_PATH"
|
||||
echo "view-distance=6" >> "$FILE_PATH"
|
||||
echo "difficulty=hard" >> "$FILE_PATH"
|
||||
sed -i 's/^view-distance=10/view-distance=6/; s/^difficulty=easy/difficulty=hard/' "$FILE_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user