View on GitHub

Minecraft Droplet Manager

AngularJS + PHP powered single click control of a Minecraft server droplet hosted on Digital Ocean.

Download this project as a .zip file Download this project as a tar.gz file

Minecraft Droplet Manager

AngularJS + PHP powered single click control of a minecraft server droplet hosted on Digital Ocean.

Thanks to Bootstrap, it's responsive too.

Starts it up when ready to play and tears it down when done. Automatically creates a latest snapshot before destroying droplet.

Let the people play without needing your help and costing you a fortune.

http://http://spcampbell.github.io/minecraft-droplet-manager/

Server down Server starting

Server up Server stopping Server down

Browser Compatibility

I am not able to test this in very many browsers. I can verify it works in Safari 8, Internet Explorer 11, and Chrome 39 (desktop and mobile). If you have success or errors in other browsers, please let me know by submitting issues.

Setup

1. Host this script somewhere and set up your Minecraft droplet.

You'll need a place to host the files that is not on the minecraft server you are controlling. The web host will need to have PHP available.

Before configuring this script, set up your Minecraft server at Digital Ocean. There are several options for this and Google is your friend.

My personal favorite is Mineos: http://minecraft.codeemo.com. To use this, after spinning up your droplet, follow the appropriate install steps for your distribution.

DO NOT FORGET TO CONFIGURE YOUR FIREWALL FOR SECURITY!

2. Configure this script

TIP: If you have multiple people who want to control their own droplet, just make a folder for each on your web host. Put a copy of the files into each folder and they can visit with http://yourhost.com/player1/ etc. Then make the config.php and index.php unique to that person/droplet. Note that you'll need a uniquely named droplet for each person.

3. Try it out

4. Now let the people play!

Q: What is the "admin console" link?

A: You may be wondering what the "admin console" link is all about. This was specifically for mineos. You could use it to link to whatever you are using to manage the server. I may add a config to hide it in the future for those that don't need it.

TODO

This is a work in progress. I still need to add some robust error handling. That is coming soon.

Credit

This was inspired by the work of S-rc-C-d-

http://hi.srccd.com/post/hosting-minecraft-on-digitalocean

I recommend everyone visit his page and read over his excellent write up. He has some great scripts in there for setting up the Minecraft server yourself.

Thank you for your work and for sharing it with us!

License

The MIT License (MIT)

Copyright (c) 2014

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.