Skip to content

Instantly share code, notes, and snippets.

@jyc
Created December 29, 2011 01:29
Show Gist options
  • Save jyc/1531003 to your computer and use it in GitHub Desktop.
Save jyc/1531003 to your computer and use it in GitHub Desktop.
SCREEN_NAME="mc"
MC_DIR="~/craftbukkit"
JAR_NAME="craftbukkit.jar"
send() {
screen -p 0 -S $SCREEN_NAME -X eval "stuff '$1'\015"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment