Added Feature detector to check which functions/fields we can use and access
Made the PlayerJoinListener 1.6 compatible