MCNodeSrv - Dashboard

Presenting: MCNodeSrv

A minecraft server wrapper written in NodeJS, using the express framework.

I wrote it as a replacement for giving away SSH access, which can screw a box up alot harder if done right/wrong. Wink

Features thus far include:

  • Webinterface (derp) styled by Bootstrap
  • Starting/Stopping/Killing the server process
  • Web-based settings for changing command line arguments as well as environment variables of the server process
  • Monitor stdout/stderr (it even highlights lines with the word ‘error’ in it, cool eh?)
  • (planned) Send data to stdin
  • JSON based config file(s)

… and I’m not done yet. Grin
Next up will be hardening the node.js instance so it won’t take the minecraft server down with it, if it should happen to crash. I’m also thinking about adding a command-line interface to do simple stuff.. oh! *mental note: gracefully stop server process on ^C and other harmful signals*

Bottom line: NodeJS is just awesome. Smile

Tagged with:
podcast 

I recently started developing with NodeJS and noticed something peculiar:

var a = {"test": "moo"}; // Define an object
var b = a; // Copy the object
b.test = "meh";
alert(a.test); // alert: "meh"
// wait- what? b = a makes a reference instead of a copy, doh!

One way to get around this is:

var b = JSON.parse(JSON.stringify(a)) // This is one ugly hack

but it feels.. wrong.. and probably doesn’t work with nested functions and stuff like that.Thinking

Tagged with:
 

Huzzah, my new 6950 finally arrived!

It may not be a as big as a step-up as going from 8800GTS to 4870 but the DX11 support is just awesome.
Unigine Heaven suddenly looks.. awesome Grin

To quote XNovaCore: “Its a beast!” – it truly is. And best of all: In its beastiness it still sucks less power when idling/coding. <3

 

marketing
Tagged with:
language 
notice
report