added fixed compatability for getOnlinePlayers()