Table of Contents

Class BannedEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after banning a player from the server.

public class BannedEventArgs : IPlayerEvent, IExiledEvent
Inheritance
BannedEventArgs
Implements
Inherited Members
Extension Methods

Constructors

BannedEventArgs(Player, Player, BanDetails, BanType, bool)

Initializes a new instance of the BannedEventArgs class.

public BannedEventArgs(Player target, Player issuer, BanDetails details, BanHandler.BanType type, bool isForced)

Parameters

target Player
issuer Player
details BanDetails
type BanHandler.BanType
isForced bool

Properties

Details

Gets the ban details.

public BanDetails Details { get; }

Property Value

BanDetails

IsForced

Gets a value indicating whether the ban is forced.

public bool IsForced { get; }

Property Value

bool

Player

Gets the issuer player.

public Player Player { get; }

Property Value

Player

Target

Gets the banned player.

public Player Target { get; }

Property Value

Player

Type

Gets the ban type.

public BanHandler.BanType Type { get; }

Property Value

BanHandler.BanType