Add onPlayerJoin method