Hacker Newsnew | past | comments | ask | show | jobs | submit | walterh's commentslogin

It has a trackpoint!


As far as I know they are using ScriptCraft which is a Mod for CraftBukkit and CanaryMod which lets you create mods in Javascript. [disclosure: I maintain ScriptCraft] https://github.com/walterhiggins/ScriptCraft/


Hmm, I find $120/year (after official release) quite a high price for what seems to be different open source software and a 4 slot server packed together.


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.


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.


RedStoneTorch looks very interesting.


It looks like Bukkit might be a perfect fit for ScriptCraft. Bukkit seems to have wrappers around a lot proprietary minecraft code. The ability to use those wrappers in Javascript would mean that once ScriptCraft was installed, futher Bukkit plugins could be written entirely in Javascript (no need for java).


I would love if the Minecraft guys provided Javascript scriptability without the need for a mod.


That would ruin the game for most players. It has to be a server mod.


Agreed. It makes sense for admins to be able to build using javascript but would lead to accidental/deliberate griefing if all players on a server had it.


Hi Dan, Adding in-game scriptability means you can do some serious in-game world building with a little knowledge of Javascript. I haven't used out-of-game tools like mcedit. I personally like the ability to prototype at the in-game command prompt. E.g...

  /js box('35:15',4,9,1)
...creates a 2001 Monolith at the current location. The real power of ScriptCraft though is its ability to load and execute javascript files containing functions, and the ability to easily extend the Drone class. E.g.

  // file monolith.js 
  Drone.extend('monolith',function(){
      return this.box('35:15',4,9,1);
  });
After loading monolith.js, players can do the following to create 3 monoliths...

  /js monolith().right(6).monolith().right(6).monolith()
I've provided a couple of example scripts but it will be interesting to see what players do with this.


/js box(5,6,3,7)

creates a wooden block 6 wide by 3 tall by 7 long.

/js box0(5,6,3,7)

creates an empty box 6 x 3 x 7

/js load()

opens a file chooser dialog so you can load your own scripts.


I've added some more information to the original post.


Thanks! Just remember to keep us posted


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: