World changes

This commit is contained in:
mathias 2018-07-11 06:52:20 +03:00
parent b9850e21d2
commit 71c04c6b03
2 changed files with 1 additions and 2 deletions

View file

@ -27,5 +27,4 @@ plugins/UltraCosmetics/config.yml
plugins/UltraCosmetics/messages.yml
plugins/Updater/
plugins/WorldEdit/config.yml
worlds/world/region/
*.jar

View file

@ -2,7 +2,7 @@
mkdir -p crash-reports/ dumps/
touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json
echo "$PRIVATE_KEY" > .ssh/id_rsa
chmod 400 $(find . ! -path "*/.*" ! -path "./worlds/world/region/*" -type f)
chmod 400 $(find . ! -path "*/.*" -type f)
chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/
if [ "$(ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x serv@kaboom.pw 'du -s sync/worlds/' | awk '{print $1}')" -gt "500000" ]; then