ScarAI — 永不休息的 AI 职员
ScarAI 是一个由 AI 驱动的管理员,存在于你的服务器聊天中。玩家只需在任何句子中说出触发词——“scar hey”、“hey scar”、“how are you scar”——它就会以真实的个性回答:随意、机智且真正乐于助人。它记得每一个与之对话的玩家,按请求运行实用命令,保持聊天友好,并立即执行管理员指令。将 jar 文件放入 plugins 文件夹,粘贴 API 密钥,然后向 Scar 打个招呼吧。
ScarAI 的功能
像人一样交谈。 它连接任何兼容 OpenAI 的 API(默认使用 NVIDIA NIM,OpenRouter 等也支持)。每位玩家都拥有独立的持久化记忆(约 2000 token),即使重启或重新登录也能保留,因此回归玩家能接续之前的对话。具备现实时间感知能力,“现在几点了?”会得到准确的答案。在它思考时,细微的附魔粒子会围绕你的头顶漂浮。
立即服从管理员。 OP(管理员)不会收到问题、说教或确认提示——只有结果。“scar kill Steve”、“scar make it day”、“scar give Steve 64 diamonds”:ScarAI 输出命令,控制台随即执行。有一个严格禁止的命令列表(op, stop, ban, whitelist 等)永远无法触及,即使是 OP 也不能执行封禁操作。
为每个人提供工具。 普通玩家可以通过聊天获得实用命令:玩家间传送(需 /tpaccept 同意——坐标传送已永久禁用)、设置时间、查看 TPS 和玩家统计、私人地标、离线留言以及 /spawn。
保持你的聊天环境健康。 实时毒性监控让模型每隔几分钟审查最近的聊天记录;如果有人表现出真正的恶意,他们会被静音,服务器也会听到原因——如果大家都表现良好,它将完全保持沉默。重复发送相同消息会自动被踢出,输入玩家名称(带或不带 @)会以黄色高亮显示并发出私密提示音。可选的被动模式会读取所有聊天内容,进行实时翻译和审核。
有趣的功能。 玩家可以设置个人提醒(“scar remind me 10 min later that I need to check the furnace”),这会在指定时间用私密声音通知他们,并且即使在服务器重启后也能保留。每天,ScarAI 都会发布一份服务器回顾——包括最高频发言者、最多死亡次数、最繁忙的小时等,全部由 AI 用自己的话撰写。它甚至会调侃那些死于岩浆或重力的玩家(PvP 死亡则免于调侃)。
由你塑造。 /scarai 打开一个简洁的 GUI,每位玩家可以选择自己的模型(最多 14 种,在配置文件中完全定义),在快速回复和详细回复之间切换,并清除自己的历史记录。整个系统提示词和服务器规则都可以在配置文件中编辑。
命令
| 命令 |
描述 |
权限 |
/scarai |
打开 ScarAI 菜单(模型、回复风格、清除历史) |
所有人 |
/scarai setkey <key> |
设置 API 密钥 |
scarai.admin |
/scarai trigger <word> |
更改触发词 |
scarai.admin |
/scarai model <id> |
设置服务器默认模型 |
scarai.admin |
/scarai reload |
实时重载配置文件 |
scarai.admin |
/scarai clearmemory |
清除所有玩家的对话记忆 |
scarai.admin |
/scarai recap [YYYY-MM-DD] |
发布指定日期的统计回顾 |
scarai.admin |
/scarai info |
插件的完整实时状态 |
scarai.admin |
/spawn |
前往出生点的预热传送(别名:/scaraispawn) |
所有人 |
/setspawn |
将当前位置设置为出生点(别名:/scaraisetspawn) |
scarai.setspawn |
/tpaccept |
接受待处理的传送请求 |
所有人 |
/tpdeny |
拒绝待处理的传送请求 |
所有人 |
权限
| 权限 |
描述 |
默认值 |
scarai.admin |
/scarai 的管理子命令 |
op |
scarai.setspawn |
使用 /setspawn |
op |
scarai.combat-bypass |
在战斗标记期间继续使用命令 |
op |
配置指南
所有内容都在 config.yml 中,更改后通过 /scarai reload 生效:
api-url / api-key — 你的兼容 OpenAI 的端点和密钥(或者设置 NVIDIA_API_KEY 环境变量)
trigger — 唤醒词;作为整个单词在消息中的任何位置匹配
models — 最多 14 个条目,包含 id、display 名称和用于 GUI 的 icon 材质
op-exec.enabled + blocked-commands — OP 的原始命令执行及其安全网
allowed-commands — 每个玩家可以通过 ScarAI 使用的实用工具命令
rate-limit.max-per-minute — 每分钟每位玩家的 AI 消息数(默认 4)
history — 记忆预算、修剪点和过期时间(默认:闲置 3 天后删除)
reminders — 开关、私密声音、最小/最大延迟、每位玩家的待处理提醒上限
toxicity-monitor — 检查间隔、静音命令模板和广播格式
stats — 回顾时间、AI 撰写或纯文本、广播或控制台、保留天数
system-prompt / server_rules — ScarAI 的大脑和你的规则,带有占位符如 %player_name%、%online_players% 和 %minecraft_data%
spawn-warmup / combat-tag — 传送预热(移动或受伤时取消)以及完整的战斗退出系统:标签、动作栏倒计时以及注销惩罚(掉落整个物品栏)
兼容性
专为 Minecraft 1.21+(api-version 1.21,Java 21)上的 Paper 和 Spigot 构建。ScarAI 没有必需的依赖项,并附带官方的 Mojang 1.21.4 配方数据库用于物品查找。对于毒性静音和被动模式警告,它只是运行你配置的 mute/warn 命令,因此 EssentialsX —— 或任何具有这些命令的审核插件 —— 都可以无缝接入。
ScarAI — The AI Staff Member Who Never Sleeps
ScarAI is an AI-powered staff leader that lives in your server chat. Players just say the trigger word anywhere in a sentence — "scar hey", "hey scar", "how are you scar" — and it answers with actual personality: casual, witty, and genuinely helpful. It remembers every player it talks to, runs utility commands on request, keeps your chat friendly, and follows operator orders instantly. Drop the jar in your plugins folder, paste an API key, and say hi to Scar.
What ScarAI does
Talks like a person. It connects to any OpenAI-compatible API (NVIDIA NIM by default, OpenRouter and friends work too). Every player gets their own persistent memory (~2000 tokens) that survives restarts and relogs, so returning players pick up right where they left off. Real-world time awareness means "what time is it?" actually gets a correct answer. While it thinks, subtle enchant particles float around your head.
Obeys operators instantly. OPs don't get questions, lectures, or confirmations — just results. "scar kill Steve", "scar make it day", "scar give Steve 64 diamonds": ScarAI outputs the command and the console runs it. A hard-blocked command list (op, stop, ban, whitelist and friends) can never be touched, and banning is permanently off the table even for OPs.
Gives everyone tools. Regular players get utility commands through chat: player-to-player teleports (with /tpaccept consent — coordinate teleports are permanently disabled), time set, TPS and player stats, private waypoints, offline messages, and /spawn.
Keeps your chat healthy. A live toxicity monitor has the model review recent chat every couple of minutes; if someone is being genuinely toxic they get muted and the server hears why — and if everyone's behaving, it stays completely silent. Same-message spam gets an automatic kick, and typing a player's name (with or without @) highlights it in yellow with a private ping sound. An optional passive mode reads all chat for real-time translation and moderation.
The fun stuff. Players can set personal reminders ("scar remind me 10 min later that I need to check the furnace") that ping them with a private sound and survive server restarts. Every day, ScarAI posts a server recap — top chatter, most deaths, busiest hour — written by the AI in its own words. It even roasts players who die to lava or gravity (PvP deaths get a pass).
Yours to shape. /scarai opens a clean GUI where every player picks their own model (up to 14, fully defined in the config), switches between Fast and Detailed replies, and clears their own history. The entire system prompt and server rules are editable in the config.
Commands
| Command |
Description |
Permission |
/scarai |
Opens the ScarAI menu (model, reply style, clear history) |
Everyone |
/scarai setkey <key> |
Sets the API key |
scarai.admin |
/scarai trigger <word> |
Changes the trigger word |
scarai.admin |
/scarai model <id> |
Sets the server default model |
scarai.admin |
/scarai reload |
Reloads the config live |
scarai.admin |
/scarai clearmemory |
Wipes all player conversation memory |
scarai.admin |
/scarai recap [YYYY-MM-DD] |
Posts the stats recap for a given day |
scarai.admin |
/scarai info |
Full live status of the plugin |
scarai.admin |
/spawn |
Warmup teleport to spawn (alias: /scaraispawn) |
Everyone |
/setspawn |
Sets spawn to your location (alias: /scaraisetspawn) |
scarai.setspawn |
/tpaccept |
Accepts a pending teleport request |
Everyone |
/tpdeny |
Denies a pending teleport request |
Everyone |
Permissions
| Permission |
Description |
Default |
scarai.admin |
Admin subcommands of /scarai |
op |
scarai.setspawn |
Use /setspawn |
op |
scarai.combat-bypass |
Keep using commands while combat-tagged |
op |
Config guide
Everything lives in config.yml, and changes apply with /scarai reload:
api-url / api-key — your OpenAI-compatible endpoint and key (or set the NVIDIA_API_KEY environment variable instead)
trigger — the wake word; matched as a whole word anywhere in a message
models — up to 14 entries with id, display name and icon material for the GUI
op-exec.enabled + blocked-commands — raw command execution for OPs and its safety net
allowed-commands — the utility tools every player may use through ScarAI
rate-limit.max-per-minute — AI messages per player per minute (default 4)
history — memory budget, trim point, and expiry (default: deleted after 3 days idle)
reminders — toggle, private sound, min/max delay, pending limit per player
toxicity-monitor — check interval, the mute command template, and the broadcast format
stats — recap time, AI-written or plain text, broadcast or console, retention days
system-prompt / server_rules — ScarAI's brain and your rules, with placeholders like %player_name%, %online_players% and %minecraft_data%
spawn-warmup / combat-tag — teleport warmup (cancel on move or damage) and the full combat-log system: tag, action bar countdown, and logout punishment that drops your entire inventory
Compatibility
Built for Paper and Spigot on Minecraft 1.21+ (api-version 1.21, Java 21). ScarAI has no required dependencies and ships with the official Mojang 1.21.4 recipe database for item lookups. For toxicity mutes and passive-mode warnings it simply runs your configured mute/warn commands, so EssentialsX — or any moderation plugin with those commands — plugs right in.
评论 0
登录后参与评分
还没有评论,来抢沙发吧