跳到正文

TBS: AI Integration

An add-on for the "The Broken Script" mod that adds AI to Null

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

TBS: AI Integration — an add-on for The Broken Script that adds AI for Null.

This is an unofficial fan-made add-on. It is not affiliated with the creators of The Broken Script and has not been endorsed by them.

Features

Player Data
Each request to the model includes the following information: player name, TBS reputation, health, hunger, biome, dimension, in-game day and time, and recent events.

Context
Dialogues are stored in the world’s SavedData—up to 1,000 entries

Event Control
The AI can trigger one of The Broken Script’s 90 random events depending on what you’ve written to it. It cannot trigger story events. In the config, you can set the cooldown and the hourly limit for such events.

Providers
Built-in support for Google AI Studio (Gemini) and any OpenAI-compatible API. More will be added in the future.

Available Settings
Provider, key, base URL, model, temperature, token limit, events, memory, and system prompt. Requires Configured.

Requirements

  • Minecraft: 1.21.1
  • NeoForge: 21.1.249 or newer
  • The Broken Script: 2.0.5 or newer

The mod is optimized for single-client use and has not been tested on a server

Commands

  • /tbsai memory — memory size, summary length, and latest event.
  • /tbsai resetmemory — clear the AI’s memory in this world.
  • /tbsai test — test request with provider, model, HTTP status, and latency.
  • /tbsai reload — reload the config and recreate the HTTP client.
  • /tbsai event <id> — force a TBS event to trigger.

Important to Know

This addon is completely safe for your worlds. If you install it and later want to remove it, there will be no issues

常见问题

TBS: AI Integration 支持哪些 Minecraft 版本?

TBS: AI Integration 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

TBS: AI Integration 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分