add commandSender method for getPlayer