List enabled extensions
foreach (var plugin in PluginManager.EnabledPlugins)
{
var displayName = plugin.Name;
}Use the enabled list when a feature depends on another extension being active.
Discover installed plugins and inspect the enabled extensions for the current session.
Namespace: DreamPoeBot.Loki.Bot
public static class PluginManagerView DPB2 version →using System;
using System.Linq;
using DreamPoeBot.Loki.Game;
using DreamPoeBot.Loki.Game.Objects;
using DreamPoeBot.Loki.Bot;
using DreamPoeBot.Loki.Bot.Pathfinding;
using DreamPoeBot.Loki.Common;foreach (var plugin in PluginManager.EnabledPlugins)
{
var displayName = plugin.Name;
}Use the enabled list when a feature depends on another extension being active.
public static PluginManager.PluginEvent PluginManager.OnPluginDisabled
Raised for on plugin disabled. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.OnPluginEnabled
Raised for on plugin enabled. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PostStart
Raised for post start. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PostStop
Raised for post stop. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PostTick
Raised for post tick. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PreStart
Raised for pre start. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PreStop
Raised for pre stop. Subscribe with the callback type shown in the signature.
public static PluginManager.PluginEvent PluginManager.PreTick
Raised for pre tick. Subscribe with the callback type shown in the signature.
public static bool PluginManager.Disable(IPlugin plugin)
Executes the disable operation with the supplied arguments.
pluginIPluginReturns: A Boolean result. The member description explains the condition being checked.
public static bool PluginManager.Disable(string name)
Executes the disable operation with the supplied arguments.
namestringReturns: A Boolean result. The member description explains the condition being checked.
public static bool PluginManager.Enable(IPlugin plugin)
Executes the enable operation with the supplied arguments.
pluginIPluginReturns: A Boolean result. The member description explains the condition being checked.
public static bool PluginManager.Enable(string name)
Executes the enable operation with the supplied arguments.
namestringReturns: A Boolean result. The member description explains the condition being checked.
public static bool PluginManager.IsEnabled(IPlugin plugin)
Checks whether enabled using the supplied arguments.
pluginIPluginReturns: A Boolean result. The member description explains the condition being checked.
public static bool PluginManager.IsEnabled(string name)
Checks whether enabled using the supplied arguments.
namestringReturns: A Boolean result. The member description explains the condition being checked.
public static void PluginManager.Start()
Starts this component's lifecycle.
public static void PluginManager.Stop()
Stops this component's lifecycle.
public static void PluginManager.Tick()
Updates this component for the current bot tick. Keep repeated work short.
public static List<IPlugin> PluginManager.DisabledPlugins { get; }
Gets the disabled plugins collection. Its element types are linked below.
public static List<IPlugin> PluginManager.EnabledPlugins { get; }
Gets the enabled plugins collection. Its element types are linked below.
public static IReadOnlyList<IPlugin> PluginManager.Plugins { get; }
Gets the plugins 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.