Implemented most of minecraft.php and index.php to python.