Ban
Raise
This Event is raised when an admin ban a player
Usage
Can be used to change Reason/Duration or even prevent the ban or store the ban inside a Database
BanEvent
EventArgs | Type | Description |
---|---|---|
Player | SynapsePlayer | The Player that is going to be banned |
Allow | bool | If the Player can be banned |
BanIssuer | SynapsePlayer | The Person who banns the Player |
Reason | string | The reason for the Ban |
Duration | long | The Duration of the Ban |
GlobalBan | bool | If this is a Global Ban |
Last updated