HNHacker News
TopNewBestAskShowJobs

walterh

79 karma · joined February 23, 2012

Programmer and Author. http://walterhiggins.net/blog http://www.peachpit.com/store/beginners-guide-to-writing-minecraft-plugins-in-javascript-9780133930146
submissionscomments
walterh··on DevTerm – An Open Source Portable Terminal for Every Dev
It has a trackpoint!
walterh··on Minecraft Modding Software To Teach Kids Coding
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/
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
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...
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
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.
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
RedStoneTorch looks very interesting.
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
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).
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
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.
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
I would love if the Minecraft guys provided Javascript scriptability without the need for a mod.
walterh··on ScriptCraft: Building cool things using Javascript in Minecraft
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.
walterh··on ScriptCraft - A Minecraft mod that lets you build using Javascript
/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.

walterh··on [dead]
Twitter for me is a utility I would happily pay for if Twitter let me. For better or worse they don't want my money.
walterh··on [dead]
I've added some more information to the original post.
walterh··on [dead]
Hi St3fan,

I sent an email to twitter contesting the suspension. It's odd I didn't get a notification email from twitter prior to the suspension. Right now, my guess is that the account got hacked and was used for spamming. I can't think of any other reason why the account would be suspended.

Walter