/headlessbot

A headless Minecraft bot built with 3arthqu4ke/HeadlessMc and cabaletta/baritone.

Primary LanguageJavaMIT LicenseMIT

headlessbot logo

A headless Minecraft bot built with 3arthqu4ke/HeadlessMc and cabaletta/baritone.


Usage

Tools required for execution and development are managed with Devbox.

Bot

Execute devbox run bot to start the bot.

Server

Execute devbox run server to start a local test server.

Monitoring

Execute devbox run monitoring to start some monitoring stuff.

Visit Grafana at 127.0.0.1:3000 and check the dashboard.

Behavior

The bots behavior is represented as behavior tree.

TODO

(Assorted Ideas)

General / Misc

  • test disconnect/kick
  • expiring flags
  • global cooldowns
  • inventory utils
  • port old player utils
  • more block groups
  • baritone settings
  • permission groups (admin commands)
  • player standing (friend/foe) system
  • config file
  • http api for remote control
  • webhook logs

Behavior Tree

  • Tree walking
  • Composite nodes
  • Decorator nodes
  • Port old behavior
  • WebUI
    • tree viewer
    • tree editor
    • tree manager

Monitoring

  • Prometheus exporter

Modules

Chat Commands

  • command system
  • clear (clear area)
  • take (go to player, pick up dropped items and check containers in range)
  • guard (patrol and kill mobs around anchor position)
  • chatlog (upload latest chatlog as paste)
  • nbt (dump current inventory nbt data as paste)
  • names (get old names of player)
  • search (get infos from ddg/google/etc.)
  • yt (search videos)