NodeJS + Minecraft: MCNodeSrv
searchhelppartner
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. ![]()
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. ![]()
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. ![]()
Related posts:
- Minecraft Modding – WarpSigns
- Minecraft Modding – Aprilon MCA MCBans integration
- Minecraft Modding
- JavaScript quirks – Objects by reference
What am I doing?- Nichijou 1. January, 2012
- Mashiroiro Symphony 15. November, 2011
- Yuru Yuri 18. August, 2011
- Hanasaku Iroha 13. July, 2011
Interesting stuff
Archives










