#!/bin/sh PATH="$HOME/java/bin/:$HOME/tmux/bin/:$PATH" echo "$REMOTE_KEY" > .ssh/remote echo "$SYNC_KEY" > .ssh/id_rsa chmod 600 .ssh/remote ssh-keyscan github.com >> .ssh/known_hosts chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/schematics/ tmux new -d -s server 'sh -x script/server' tmux new -d -s remote 'sh -x script/remote' tmux new -d -s sync_schematics 'sh -x script/schematics' #sleep 90 tmux new -d -s check_server 'sh -x script/alivecheck' sleep infinity