Handles minecraft server's log and executes commands