Table of Contents

Class UnbanningEventArgs

Namespace
Exiled.Events.EventArgs.Server
Assembly
Exiled.Events.dll

Contains all information before player is unbanned.

public class UnbanningEventArgs : IDeniableEvent, IExiledEvent
Inheritance
UnbanningEventArgs
Implements
Inherited Members
Extension Methods

Constructors

UnbanningEventArgs(string, BanType, bool)

Initializes a new instance of the UnbanningEventArgs class.

public UnbanningEventArgs(string id, BanHandler.BanType banType, bool isAllowed = true)

Parameters

id string
banType BanHandler.BanType
isAllowed bool

Properties

BanType

Gets the ban type.

public BanHandler.BanType BanType { get; }

Property Value

BanHandler.BanType

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

TargetId

Gets or sets the target player id.

public string TargetId { get; set; }

Property Value

string