Admin/Server API GetUserBans can get all bans for a user. You can invoke this server API method on CloudScript directly, then get “isBanned” variable via getting “GetUserBansResult->”BanData”(Array)->”Active” field value. If this player has never been banned, this “Active” field value will be null. Please click the link for API references.
2 People are following this question.