Webpage Server Controller [PHP / UNIX]

Calling all programmers: your mods go here!

Post Permalink
by ptarrant » 12/3/2012

Crafty Minecraft Controller
100% Open Source (and free) server control webapp for your bukkit server (vanilla minecraft might work...but untested)

Screenshots
http://imgur.com/ty8Md <--main interface
http://imgur.com/CyyBl <-- config page
http://imgur.com/BzAb3 <-- server commands
http://imgur.com/oczbv <--backups
http://imgur.com/wND8A <--user management

Requirements
    Linux Based OS (Ubuntu is great)
    Apache2 / PHP5
    SQLite3 support for php5 installed
    Screen

Current Version:1.2.6 Beta Testing Started.
Installation Instructions Here

Follow the Devs:@craftycontrol on twitter :)
What It Does

    change all options in your server.properties

    start | stop server

    Op | Deop | Ban | Unban | Kick Players

    View server log (warnings are highlighted)

    send "say " commands to the server (as if from console)

    Create | Delete Backups Manually

    Create any number of users for the system (currently user levels are unused but assigned)

*A Server is required to be apart of the beta testers* <--doesn't have to be public or even with players really.

How To Install Required Sofware
Spoiler
Here is a quick help if installing on debian/ubuntu
* sudo apt-get install apache2

* sudo apt-get install php5

* sudo apt-get install libapache2-mod-php5

* sudo apt-get install php5-sqlite

* sudo /etc/init.d/apache2 restart
Last edited by ptarrant on 1/3/2013, edited 4 times in total.
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by ninja246810 » 12/3/2012

Hmm... I think that this could be very successful.

It could start something big, maybe it could port forward for you.
I hope this gets big.
Image
Image
Image
Image
Image
User avatar
Level 26
Expert Dragonborn
Posts: 592
Joined: 5/3/11
Location: I live in -CLASSIFIED- .
Says: Will it blend?
Minecraft: ninja246810
mc_server: *Forever Alone*

Post Permalink
by RiotShielder » 12/3/2012

Would love this
Image
User avatar
Level 13
Journeyman Mountaineer
Posts: 1217
Joined: 12/13/11
Minecraft: RiotShielder
mc_server: 5DsMC.net

Post Permalink
by ZaphodX » 12/3/2012

Umm theres loads of server tools that do this, most common being

http://www.mcmyadmin.com/
Image
User avatar
Level 72
Legendary Warrior
Posts: 5505
Joined: 7/11/11
Location: UK
Says: I am fond of turtles.
Minecraft: ZaphodX

Post Permalink
by ptarrant » 12/3/2012

Here are my issues with those.

Multicraft cost money or is ad supported and limited to 10 players

McMyAdmin is a .NET application that requires you to install mono/other scripts to get it to run on linux. And is rather a pain IMHO

I was making this for someone who just wants to install Apache and go...if there is one out there that does that, can you point me to it?

I've looked on here already - http://www.minecraftwiki.net/wiki/Progr ... r_wrappers

Thanks
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by Paril » 12/3/2012

If you'd like to develop a nice open source one that will trump the others, more power to you - it would be nice to see some alternatives that don't have Pro plastered all over them.

My personal preference is mcMyAdmin. The requirement of .NET is just to help the cross-platform nature of it on both the developer and the executor's side.

-P
Skinners, interested in an intuitive method of creating skins? Check out MCSkin3D! http://www.planetminecraft.com/project/mcskin3d/

Image
User avatar
Level 67
High Grandmaster Scapegoat
Posts: 2025
Joined: 10/29/11
Location: Canada
Says: Don't play mind checkers with me.
Minecraft: Paril101

Post Permalink
by ptarrant » 12/3/2012

I'm not saying it will trump the others .... most likely it will fall short, but I'm aiming to make make something that has similar functionality. That will be completely open source, and require nothing other than Apache/PHP...

@ninja246810 - I doubt I wanna play with Iptables via a webterface. It could be break many things...if all the other things are done, i'll look into makeing it happen. I do all my forwarding via PFsense so I don't really need it :)

Since there appears to be some interest in it, I'll work on making it more user friendly etc. I'll even post a screenshot in a few I guess.
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by ptarrant » 12/4/2012

So far, here is how it's looking.
Keep in mind, I'm not that big on flashy designs and all that when frameworking something :)

The login system works, All info you see has been generated by the page.
There is very little configuration needed at the moment.

All you do is define where bukkit is installed, the server name you want to it to be called and how many lines you want the log to show (50 default), and your login credientials of course.

Image

The "all players" section will be moved to another page as I'm sure that could get long.
I'll be working on the "server info" section next and moving it to where the players info is.
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by 1001zippy » 12/10/2012

=
Last edited by 1001zippy on 1/2/2013, edited 1 time in total.
Image
User avatar
Level 9
Apprentice Narwhal
Posts: 313
Joined: 6/15/12
Minecraft: 1001zippy

Post Permalink
by ptarrant » 12/10/2012

Posting this just so others know this project isn't dead

:twisted:
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by ptarrant » 12/10/2012

Oh, here is an updated Screen Grab

The CPU load refreshes every 5, and colors change, green < 50%, Yellow 50-75%, Red 75%+

Same with memory.

The server config tab shows your entire server.properties file in a nice form with dropdown values on boolean settings, and other "limited" things such as difficulty.

Soon to come is the save portion, *** SEE EDIT BELOW*** You will have to give a SUDO login/password in the config to get this to work as php/apache doesn't have write access to folders, especially since your bukkit/minecraft more than likely isn't in /var/www

/end geekness

/edit - I opted to just require users to give ww-data read/write/execute privledges to bukkit/minecrafts folder. Seems wiser, a sudo login/password even if encrypted just urked me from the start. as long as apache/php has permission in the folders, your fine.

Image
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Post Permalink
by ptarrant » 12/11/2012

Here is the server config area, I've been busy today :)

Form not pretty enough, I might have help with that...

@zippy, I sent you a PM, but not sure if it actually sent correctly.

Image
Level 12
Journeyman Modder
Posts: 24
Joined: 12/3/12

Next

Return to Modding