Examples
Examples
- Have you ever seen videos in which people control iTunes from minecraft? Well, this plugin can do it (Mac only). In the config.yml file,
scripts: example: path: ./example.sh
change the config to
scripts: play: path: ./pause.sh pause: path: ./play.sh
Create two files called "pause.sh" and "play.sh" where your craftbukkit.jar is. In the pause.sh, put
osascript -e "tell app \"iTunes\" to pause"
and in play.sh, put
osascript -e "tell app \"iTunes\" to play"
In game, run "/scriptexec execute play" and "/scriptexec execute pause" respectively. If it does not work, try doing /se reload.
Comments