Example
Getting Started
1. Download the plugin and place it in your CraftBukkit plugins directory
2. (Re)start CraftBukkit or reload the plugins by typing /reload on the console, or in-game as an operator
3. Using a text editor of your choice, create a file called helloworld.js in the BukkitScript/scripts subdirectory inside your CraftBukkit plugins directory, with the following contents:
player.sendMessage('Hello, ' + player.name + '!');
4. Again (re)start CraftBukkit or reload the plugins, so the script gets loaded (you should see "[BukkitScript] Loaded 1 script(s)" in the server log).
5. Log in to the game as an operator
6. Place a stone button somewhere
7. While looking directly at the button, type /setname button in the chat to assign it the name "button"
8. Bind the script to the button by typing /bindscript block.button.interacted helloworld in the chat
9. Press the button!
Comments