Add Minecraft/Bedrock/start.sh
This commit is contained in:
parent
82d661526d
commit
ccdce4d08b
|
@ -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
|
Loading…
Reference in New Issue