diff --git a/Minecraft/Bedrock/start.sh b/Minecraft/Bedrock/start.sh new file mode 100644 index 0000000..0a01caf --- /dev/null +++ b/Minecraft/Bedrock/start.sh @@ -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 \ No newline at end of file