minecraftd/utils.php
// get status of server (num process, ram usage)
get status of server (num process, ram usage)
get status of server ( num process ram usage )
function status() {
	$no_color = 'sed "s/\x1B\[\([0-9]\{1,2\}\(;[0-9]\{1,2\}\)\?\)\?[mGK]//g"';
	$output = shell_exec("minecraftd status | $no_color");
	$tag = "h4";
	return "<$tag>" . str_replace("\n", "</$tag><$tag>", $output) . "</$tag>";
}
function status ( ) { $ no_color = 'sed "s/\x1B\[\([0-9]\{1,2\}\(;[0-9]\{1,2\}\)\?\)\?[mGK]//g"' ; $ output = shell_exec ( " minecraftd status |  $ no_color " ) ; $ tag = " h4 " ; return " < $ tag > " . str_replace ( " \n " , " </ $ tag >< $ tag > " , $ output ) . " </ $ tag > " ; }
get status of server (num process, ram usage)
get status of server ( num process ram usage )
// php is a crap language, use bash for string processing