Astrbot Adapter Mod (1.21) – Link Server Chat With Live AI Replies
Astrbot Adapter Mod connects a Minecraft server directly to an external bot platform through standalone WebSocket and REST API channels. It brings two-way chat forwarding, in-game AI conversations in group or private modes, live server status tracking, player join and leave alerts, server log queries, and filtered remote command execution. Built-in monitoring watches online player counts, JVM memory usage, server uptime, and TPS and MSPT stats across 1-minute, 5-minute, and 15-minute sliding windows without needing extra dependency mods. Standalone networking runs on port 8765 by default with an automatic 32-character authentication token, up to 1000 lines per log query, and five in-game management commands. Everything operates strictly on the server side, so community members play and chat normally without adding anything to their clients.
![]()
In plain words, this is the mod where players type @ or # right in Minecraft chat to talk with an AI bot and see replies appear straight back in game chat, while messages from outside chat groups show up live on the server.
Features:
- Two-Way Chat Bridging: Forwards player chat messages to AstrBot with adjustable prefix filtering and prefix stripping, while pushing outside chat messages into the server with custom platform and username formatting.
- In-Game AI Chat: Lets players talk with AstrBot directly in game using the
@prefix for group mode or the#prefix for private mode, paired with custom echo and reply formats, an adjustable request timeout, and an optional thinking notice. - Native Server Monitoring: Tracks online player lists and counts, JVM memory usage, server uptime, and TPS and MSPT figures across 1-minute, 5-minute, and 15-minute sliding windows with no extra dependency mod required.
- Filtered Remote Commands: Executes server commands over REST API or WebSocket using
NONE,BLACKLIST, orWHITELISTfiltering modes with wildcard matching for allowed or blocked command lists. - Standalone Networking: Runs both WebSocket and REST API services on port 8765 by default, complete with adjustable heartbeat intervals, heartbeat timeouts, per-minute REST rate limits, and an automatically generated 32-character authentication token.
- Join Alerts and Log Queries: Notifies connected AstrBot channels whenever a player joins or quits the server, and lets the adapter read recent lines from the server log file (
logs/latest.logby default, up to 1000 lines per query). - Runs purely on the server side so players join your world without adding anything on their clients.
- Generates
config/astrbotadapter/config.ymlon first server startup with out-of-the-box defaults for pairing with the AstrBot Minecraft adapter plugin. - Offers built-in English (
en_US) and Chinese (zh_CN) language options along with optional debug logging. - Protects sensitive management subcommands behind operator level 2 permissions.
Commands:
/astrbot help: Shows available adapter management commands in chat./astrbot status: Displays live adapter state and server status details./astrbot reload: Reloads the settings file and restarts network services (requires operator level 2)./astrbot token show: Displays the active 32-character authentication token (requires operator level 2)./astrbot token regen: Creates a new 32-character authentication token (requires operator level 2)./astrbot connections: Lists active connections linked to the server (requires operator level 2).
Configuration:
config/astrbotadapter/config.yml: YAML settings file generated on first launch with ready defaults for pairing with the AstrBot Minecraft adapter plugin.en_US/zh_CN: Language choices for adapter output, paired with an optional debug logging switch.logs/latest.log: Default log file path read by remote log queries, returning up to 1000 recent lines per query.NONE,BLACKLIST,WHITELIST: Command filter modes for remote execution with wildcard matching.8765: Default standalone port hosting both WebSocket and REST API services alongside adjustable heartbeat intervals, heartbeat timeouts, and per-minute REST rate limits.
How to Use:
- Start your server with this mod loaded so it automatically creates
config/astrbotadapter/config.ymland generates a 32-character authentication token. - Join the server with operator level 2 permissions and run
/astrbot token showto view your authentication token, or run/astrbot token regento generate a fresh one. - Open
config/astrbotadapter/config.ymlto pick English (en_US) or Chinese (zh_CN), set port8765or custom network limits, adjust chat prefix filters, and chooseNONE,BLACKLIST, orWHITELISTcommand filtering. - Run
/astrbot reloadin chat to load your updated settings and restart the WebSocket and REST API services. - Pair the AstrBot Minecraft adapter plugin with your server’s port and token, then run
/astrbot connectionsor/astrbot statusto confirm the bridge is active. - Type a chat message starting with @ to talk with AstrBot in group mode, or start your message with # for a private AI conversation.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Astrbot Adapter Mod Download Links
For Minecraft 1.21, 1.20.1
Which launcher do you primarily use to manage and run your modded Minecraft instances?
90 responses · See the full results →
0





















This post has no comments yet. Be the first — your comment will appear here.