From 4810e4f340167725376ce12909d85c1bca59e828 Mon Sep 17 00:00:00 2001 From: mathias Date: Thu, 5 Jul 2018 21:44:48 +0300 Subject: [PATCH] Rework world system --- bin/start | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bin/start b/bin/start index 22e09ee..35b0e87 100755 --- a/bin/start +++ b/bin/start @@ -6,13 +6,6 @@ chmod 400 $(find . ! -path "*/.*" -type f) chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ . -if [ ! -d worlds/ ]; then - cp -r reset/worlds/ . -else - rm -rf worlds/world/region/ - cp -r reset/worlds/world/region/ worlds/world/ -fi - while true; do rsync -Waq -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" plugins worlds serv@kaboom.pw:sync/ > /dev/null 2>&1 sleep 5