If a player has had a ban that was later revoked, calling /GetPlayerProfile
with "ProfileConstraints": { "ShowBannedUntil": true }
will still return the date of the inactive ban.
Potential solutions:
Add
PlayerIsBanned
ProfileConstraint option with a boolean valueShowBannedUntil
to returnnull
if the player has no active ban, no matter the date