Add support for onlyDisplayPlayer flag.