ScriptCraft
ScriptCraft copied to clipboard
Write Minecraft Plugins in JavaScript.
What I mean is if I tell a drone to move forward can i then do something akin to ``` .fwd().queryBlock('fwd', function(info){ if( info.blocktype() == 'wood'){ say('this is wood'); }...
Major events like events.blockLeftClick are missing, then i get errors on some saying sendMessage isnt defined
If you try to do a POST request with semicolon inside the data, the post data after the semicolon will be ignored. Sample code : ``` var http = require('http');...
Currently with the classroom module, events registered by an user are unregistered on reload, which is a really, really, really useful feature (as you don't need to do it yourself...
I can create a stair with `/js box(blocks.stairs.stone);` but how do I make it upside-down?
Mobs
Two mobs, that i fix for current version of ScriptCraft.
There are drone functions like box0 and prism0 which generate empty, not-filled structures. The "0" suffix doesn't mean anything. Why not replace that convention with meaningful names, like box_empty and...
my implementation for global TAB completers of commands and some samples of plugins, such as /warp /spawn /fly /god and sign for lifts and teleports to warps and spawn https://github.com/lastuniverse/scripcraft_plugins/blob/master/modules/last/completer.js...