DPB1Class ยท Bots, plugins and tasks

BotManager

Discover installed bots, inspect the selected bot and observe or control its lifecycle.

Namespace: DreamPoeBot.Loki.Bot

public static class BotManagerView DPB2 version โ†’

Examples

Imports used by these examples
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;

Check the selected bot

var bot = BotManager.Current;
if (bot == null || !BotManager.IsRunning)
    return;

var botName = bot.Name;

Observe the current selection without starting or stopping it.

Members and overloads

1 results
Show all members

Stop

MethodLink โ†—
public static bool BotManager.Stop(StopReasonData reason, bool force = false)

Stops this component's lifecycle.

reasonStopReasonData
Specifies reason.
forcebool
Specifies force. Optional; the default is shown in the signature.

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

Related types

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.