Live data from Hacker News

ScriptCraft: Building cool things using Javascript in Minecraft

walterhiggins.net

31–34 of 34 posts

Re: ScriptCraft: Building cool things using Javascript in Minecraft

#31

Considering how much of Minecraft can be about grinding for resources or MCMMO levels... imagine being able to script the player, or even being allowed "bot teammates" you can script! Since that part of it could run on just the client (minus small interface stuff on the server for clients to request basic info and send player input), you could go all out with as much advanced AI as you can muster, without draining th…

Oh, I should have known this would happen :) Thanks all!

Re: ScriptCraft: Building cool things using Javascript in Minecraft

#32
post #28

Earlier quoted context omitted.

Bukkit plugins require running a separate server and giving the kids access to the server. Doesn't seem as practical as a client mod if you're trying to make it kid friendly.

The author mentioned It makes it possible for Minecraft Server administrators to create interesting places for players to come and play. I agree a client mod is a great place to have this functionality, but if it is being done on the server as well then using a framework like Bukkit is a great choice. For one thing, the author complained about obfuscation making it difficult to expose different functions in the game.…

I've implemented ScriptCraft as a bukkit plugin now. Bukkit's API and plug-in deployment mechanism is sweet. ScriptCraft and Bukkit are really well suited.

Re: ScriptCraft: Building cool things using Javascript in Minecraft

#33
post #10

This is cool, but for the server it is already possible to use a number of scripting languages. By using the Bukkit server mod, which provides a stable plugin API, it is relatively easy to add a wrapper around a scripting engine [0]. For example, a plugin providing Rhino support [2] and one providing python support [2]. I would recommend either porting your work to the Bukkit framework, or working with one of the exi…

Thanks for the bukkit recommendation - it really is a great minecraft framework to code against. I've since added a ScriptCraft bukkit plug-in... https://github.com/walterhiggins/ScriptCraft/blob/master/buk...

Re: ScriptCraft: Building cool things using Javascript in Minecraft

#34
post #33
post #10

This is cool, but for the server it is already possible to use a number of scripting languages. By using the Bukkit server mod, which provides a stable plugin API, it is relatively easy to add a wrapper around a scripting engine [0]. For example, a plugin providing Rhino support [2] and one providing python support [2]. I would recommend either porting your work to the Bukkit framework, or working with one of the exi…

Thanks for the bukkit recommendation - it really is a great minecraft framework to code against. I've since added a ScriptCraft bukkit plug-in... https://github.com/walterhiggins/ScriptCraft/blob/master/buk...

No worries :)

I used to be very active on the team there, but haven't contributed any code for a while now. I get the urge almost every week, so maybe I should jump back in for a bit.

It has its problems, but is miles ahead from where we started and really does enable plugin authors in a way straight modding never can.

Post reply on HN