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

MsBeforeNextTick

PropertyLink โ†—
public static int BotManager.MsBeforeNextTick { get; set; }

Gets the remaining delay published for the current cycle, or zero when not waiting. Setting this property configures the minimum total cycle duration in milliseconds; it does not add a separate delay. The configured minimum is readable through MsBetweenTicks.

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.