Conforming to API change: getOnlinePlayers().