Gamer-Server-Utility-Scripts/Minecraft/Bedrock/start.sh

24 lines
408 B
Bash
Raw Permalink Normal View History

2024-01-23 13:53:33 -05:00
#!/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