mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
World changes
This commit is contained in:
parent
b9850e21d2
commit
71c04c6b03
|
@ -27,5 +27,4 @@ plugins/UltraCosmetics/config.yml
|
|||
plugins/UltraCosmetics/messages.yml
|
||||
plugins/Updater/
|
||||
plugins/WorldEdit/config.yml
|
||||
worlds/world/region/
|
||||
*.jar
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue