Add Minecraft/Bedrock/start.sh

This commit is contained in:
Clarth 2024-01-23 13:53:33 -05:00
parent 82d661526d
commit ccdce4d08b
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#!/bin/bash
cd /home/moddedmc/KidsBedrock || exit
rm -rf *.zip
cp server.properties Master_Copies
cp permissions.json Master_Copies
url=$(curl https://claytonia.net/bedrock_url.txt)
wget $url
unzip -o *.zip
rm -rf *.zip
rm -f server.properties
cp Master_Copies/server.properties server.properties
cp Master_Copies/permissions.json permissions.json
LD_LIBRARY_PATH=. ./bedrock_server
exit 0