#12 #13 Vanilla commands are supported as well Now it'll send the command output to the player as well, if ran on Discord Minecraft chat sending to Discord made async Started using CraftBukkit Updated Travis config according to that
11 lines
333 B
Bash
11 lines
333 B
Bash
#!/bin/sh
|
|
FILENAME=$(find target/ -maxdepth 1 ! -name '*original*' -name '*.jar')
|
|
echo Found file: $FILENAME
|
|
|
|
if [ $1 = 'production' ]; then
|
|
echo Production mode
|
|
echo $UPLOAD_KEY > upload_key
|
|
chmod 400 upload_key
|
|
yes | scp -B -i upload_key -o StrictHostKeyChecking=no $FILENAME travis@server.figytuna.com:/minecraft/main/plugins
|
|
fi
|