Releases: walterhiggins/ScriptCraft
Coalmine
ScriptCraft now uses CanaryMod. CraftBukkit is still supported (ScriptCraft will work with the latest version CraftBukkit but the CraftBukkit project is no longer being actively developed as of Sept 2014).
This version is compatible with CanaryMod.
3.0.0 Alpha Universal
This is an early release of 3.0.0 for use with CanaryMod. CraftBukkit is also supported as is GlowStone.
Plugins for both CanaryMod and Craftbukkit/Glowstone are included, which is why this is called a Universal.
You should use CanaryMod 1.1.3 SNAPSHOT Shaded .
Known issues:
If using canary, you should use Java 8 only.
Hamster
Rainbows are now made from stained glass. Chessboard has been fixed. SnowballFight and chat plugins have been removed (improved versions of each will be available soon in another repository).
goldfish
Version 2.1.0 includes new bukkit, sounds and items modules, new ways to extend Drone and create commands and a number of bug fixes.
Various improvements to TAB completion have also been made.
kitty
Classroom co-operative building and Event Simplification
Main changes in this release...
- Co-op building.
Better (more co-operative - less CPU-intensive) building when multiple players are building on the same server. This should result in better use in classroom environments - no one player can DDOS the server by building something huge. - Simplified events handling.
The callback function for event handling now only takes 1 single
parameter, the event which triggered the callback. The listener object
is bound to the callback function so within the callback function
this
refers to the listener object. Unregistering listeners has also
been greatly simplified. You can have an event handler which fires
only once by unregistering itself within the callback like this...
events.on('player.PlayerJoinEvent', function( event ) {
// do something
event.player.sendMessage( "You're the first player to join" );
// unregister so this function is called only once ever.
this.unregister();
});
The events.on()
function also returns the same listener object as
this
refered to inside the callback. The listener object has a
single method unregister()
which can be called to stop listening for
the event.
Classroom co-operative building and Event Simplification
Main changes in this release...
- Co-op building.
Better (more co-operative - less CPU-intensive) building when multiple players are building on the same server. This should result in better use in classroom environments - no one player can DDOS the server by building something huge. - Simplified events handling.
The callback function for event handling now only takes 1 single
parameter, the event which triggered the callback. The listener object
is bound to the callback function so within the callback function
this
refers to the listener object. Unregistering listeners has also
been greatly simplified. You can have an event handler which fires
only once by unregistering itself within the callback like this...
events.on('player.PlayerJoinEvent', function( event ) {
// do something
event.player.sendMessage( "You're the first player to join" );
// unregister so this function is called only once ever.
this.unregister();
});
The events.on()
function also returns the same listener object as
this
refered to inside the callback. The listener object has a
single method unregister()
which can be called to stop listening for
the event.
Asynchronous Building
Fixes issue #119 and introducing asynchronous building functions in Drone.
ScriptCraft plugin scriptcraft.jar (required)
If not using MQTT (Arduino support) then just download scriptcraft.jar to the craftbukkit/plugins directory.
Arduino/MQTT Support sc-mqtt.jar (optional)
If using MQTT (Arduino support) then also download sc-mqtt.jar to the craftbukkit directory. For MQTT support, include sc-mqtt.jar in the java classpath when starting craftbukkit.
Classroom SP1
Update
This release includes a bug #119 which causes errors when stopping or reloading the server.
To remedy, create the plugins/scriptcraft/data directory after launching craftbukkit.
Enhancements to classroom module, bug fixes and improved logging of errors on startup.
ScriptCraft plugin scriptcraft.jar (required)
If not using MQTT (Arduino support) then just download scriptcraft.jar to the craftbukkit/plugins directory.
Arduino/MQTT Support sc-mqtt.jar (optional)
If using MQTT (Arduino support) then also download sc-mqtt.jar to the craftbukkit directory. For MQTT support, include sc-mqtt.jar in the java classpath when starting craftbukkit.
java -classpath sc-mqtt.jar:craftbukkit.jar org.bukkit.craftbukkit.Main
mqtt-support
Instructions
Download scriptcraft.jar and copy it to your craftbukkit's plugins/ directory. Reload or start Craftbukkit.
MQTT Support Only
This is the first release which includes mqtt support (for two-way communication with Arduinos or other devices which use the MQTT protocol). If you want to use ScriptCraft with an Arduino or other MQTT device, then you'll need to have a separate jar file to be included in the classpath when running CraftBukkit. See https://github.com/walterhiggins/scriptcraft-extras-mqtt/ for more information. Download sc-mqtt.jar and copy it to the craftbukkit directory (not the plugins/ directory) and include it in the classpath when starting craftbukkit. java -cp sc-mqtt.jar:craftbukkit.jar org.bukkit.craftbukkit.Main
.