Added a player handler onPlayerJoin.