social-common / pragma.account / AccountPlugin / onAccountBanned /

onAccountBanned #

open suspend fun onAccountBanned(pragmaAccount: PragmaAccount, banRecord: BanRecord)

Called after a user account has received a ban. Player ban notification (BanV1Notification) will be sent before this plugin function is called.

Used by

  • AccountService.banAccountOperatorV1
  • AccountService.banAccountPartnerV1

Parameters #

pragmaAccount

PragmaAccount of the user

banRecord

The record of the ban