BukkitScript

4.6k Downloads

BukkitScript

Unsupported!

I have decided to stop supporting this plugin. I hereby apologize to everyone who commented or posted on the forum who I am so unceremoniously and impolitely abandonding with this action. The reason is that between my other plugins, WorldPainter and the rest of my life I just don't have the time to do a proper job (which I wasn't therefore doing anyway), and it wasn't fair to keep giving the illusion that I would, much as it pains me to have to admit it and take this drastic action...

Sorry!

I'm not going to abandon the plugin, as I'm still using it myself for mc.pepsoft.org. It does work and has some useful functionality. It's open source, so anyone is welcome to add functionality themselves, fork it, etc.. I'll keep updating it for new Minecraft releases, and may add functionality that I need myself, but I'm not going to take patches or suggestions, answer questions, or otherwise support it.

Introduction

A general-purpose scripting plugin that allows you to write scripts that can react to and influence your CraftBukkit worlds. Features:

  • Scripting language: JavaScript (other languages may possibly be added in the future)
  • Name blocks to easily refer to them in scripts
  • Bind scripts to a multitude of in-world events
  • Bind scripts to commands
  • Events can also refer to named blocks
  • Easy interface for getting information from the world and make changes to it

My motivation for writing this plugin is have a way to implement complex game mechanics without having to use redstone. It's not meant for regular users to use. I believe redstone is an important gameplay element for regular users, with its space, resource and personal skill requirements adding genuine interest to the game, but as an admin you often want to do things for which redstone is not adequate, and you are not interested in the gameplay elements of having to use redstone. You just want to get things done already to improve the experience of your users.

Requirements

Note that BukkitScript requires the server to run on the Oracle Java 6 JRE or higher! It relies on the included JavaScript scripting engine. Versions of Java prior to version 6 don't include scripting support, and OpenJDK does not include the JavaScript engine. It is probably possible to add scripting engines to other versions of Java (and even to support other scripting languages), but I have not yet investigated the details of this.

Documentation

Preliminary documentation here.