DPB1Class · Bots, plugins and tasks

Blacklist

Provides blacklist data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Bot

public static class BlacklistView DPB2 version →

Members and overloads

9 results

Add

MethodLink ↗
public static void Blacklist.Add(int id, TimeSpan duration, string reason = "")

Executes the add operation with the supplied arguments.

idint
Specifies id.
durationTimeSpan
Specifies duration.
reasonstring
Specifies reason. Optional; the default is shown in the signature.

AddWithNoLog

MethodLink ↗
public static void Blacklist.AddWithNoLog(int id, TimeSpan duration)

Adds with no log using the supplied arguments.

idint
Specifies id.
durationTimeSpan
Specifies duration.

Clear

MethodLink ↗
public static void Blacklist.Clear()

Executes the clear operation.

Contains

MethodLink ↗
public static bool Blacklist.Contains(NetworkObject entity)

Executes the contains operation with the supplied arguments.

entityNetworkObject
Specifies entity.

Returns: A Boolean result. The member description explains the condition being checked.

Contains

MethodLink ↗
public static bool Blacklist.Contains(int id)

Executes the contains operation with the supplied arguments.

idint
Specifies id.

Returns: A Boolean result. The member description explains the condition being checked.

Remove

MethodLink ↗
public static bool Blacklist.Remove(int id)

Executes the remove operation with the supplied arguments.

idint
Specifies id.

Returns: A Boolean result. The member description explains the condition being checked.

Reset

MethodLink ↗
public static void Blacklist.Reset()

Executes the reset operation.

Ids

PropertyLink ↗
public static IEnumerable<int> Blacklist.Ids { get; }

Gets the ids collection. Its element types are linked below.

Objects

PropertyLink ↗
public static IEnumerable<NetworkObject> Blacklist.Objects { get; }

Gets the objects collection. Its element types are linked below.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.