The Lovely Messy Code For The MineHub Plugin