MAssistant 将人工智能的强大功能直接带入你的 Spigot 或 Paper 服务器。无需再记忆复杂的命令语法或浏览维基百科——只需让你的助手为你完成操作即可!
无论你是需要一个活跃服务器的聊天伙伴、一个剧情生成器,还是一个强大的管理工具,MAssistant 都能理解自然语言以及你游戏的上下文(包括你的位置、所在世界和用户名)。
为什么选择 MAssistant?
- ?️ 自然语言命令: 不必输入
/time set day 或 /weather clear。只需输入 ?Make it sunny 或 ?It's too dark here。
- ? 上下文感知: AI 知道你是谁、你在哪个世界以及当前的坐标。你可以说
?Spawn a zombie right here,它将确切地知道“这里”是指哪里。
- ?️ 安全设计:
- 双层安全机制: 执行命令需要同时满足配置开关 AND 特定的权限节点 (
massistant.command)。
- 智能选择器: AI 经过训练,会使用安全的选择器如
@p,而不是硬编码玩家名称。
- ⚡ 零延迟: 所有 AI 处理均在异步进行,确保在助手思考时服务器的 TPS 不会下降。
使用方法
- 安装: 将
MAssistant.jar 放入 plugins 文件夹并重启服务器。
- 聊天: 以
?(可配置)开头发送任何消息即可与 AI 对话。
- 玩家:
?How do I craft a shield?
- 管理员:
?Give me a diamond sword with sharpness 5.
- 管理员:
?Teleport me to the surface.
权限
MAssistant 提供细粒度的权限系统,以确保服务器安全。
| 权限节点 |
默认值 |
描述 |
massistant.chat |
True (所有人) |
允许玩家使用 ? 与 AI 聊天。如果玩家请求的命令不具备执行权限,AI 会礼貌地拒绝。 |
massistant.command |
OP (管理员) |
允许 AI 代表该玩家实际执行 Minecraft 命令。 |
massistant.admin |
OP (管理员) |
允许访问 /aireload 等管理命令。 |
配置
你可以在 plugins/MAssistant/config.yml 中自定义插件行为。
# ==========================================
# MAssistant Configuration
# ==========================================
# 触发 AI 的字符 (默认: ?)
trigger-prefix: "?"
# 安全设置:是否允许 AI 全局执行命令?
# 即使设置为 'true',玩家也必须拥有 'massistant.command' 权限。
# 设置为 'false' 可为所有人强制启用仅聊天模式。
allow-commands: true
命令
/aireload
- 描述:立即重载配置文件。
- 权限:massistant.admin
技术与隐私说明 ⚠️
外部服务: 本插件通过 ninario.fr AI 代理通信来处理自然语言。这是实现 AI 功能所必需的。
数据传输: 仅发送玩家姓名、当前世界、坐标以及提示词文本到 API。不共享其他服务器数据。
MAssistant brings the power of Artificial Intelligence directly into your Spigot or Paper server. Stop remembering complex command syntax or browsing wikis-just ask your assistant to do it for you!
Whether you need a chat companion to liven up the server, a lore generator, or a powerful administrative tool, MAssistant understands natural language and the context of your game (your location, world, and username).
Why MAssistant?
- ?️ Natural Language Commands: Don't type
/time set day or /weather clear. Just type ?Make it sunny or ?It's too dark here.
- ? Context Awareness: The AI knows who you are, which world you are in, and your current coordinates. You can say
?Spawn a zombie right here and it will know exactly where "here" is.
- ?️ Secure by Design:
- Double-Layer Security: Command execution requires both a configuration toggle AND a specific permission node (
massistant.command).
- Smart Selectors: The AI is trained to use safe selectors like
@p instead of hard-coding player names.
- ⚡ Zero Lag: All AI processing happens asynchronously, ensuring your server TPS never drops while the assistant is thinking.
How to Use
- Install: Drop the
MAssistant.jar into your plugins folder and restart.
- Chat: Start any message with
? (configurable) to talk to the AI.
- Player:
?How do I craft a shield?
- Admin:
?Give me a diamond sword with sharpness 5.
- Admin:
?Teleport me to the surface.
Permissions
MAssistant features a granular permission system to keep your server safe.
| Permission Node |
Default |
Description |
massistant.chat |
True (Everyone) |
Allows the player to chat with the AI using ?. If they ask for a command without the command permission, the AI will politely refuse. |
massistant.command |
OP (Admins) |
Allows the AI to actually execute Minecraft commands on behalf of this player. |
massistant.admin |
OP (Admins) |
Allows access to administrative commands like /aireload. |
Configuration
You can customize the plugin behavior in plugins/MAssistant/config.yml.
# ==========================================
# MAssistant Configuration
# ==========================================
# The character used to trigger the AI (Default: ?)
trigger-prefix: "?"
# Security: Allow the AI to execute commands globally?
# Even if set to 'true', the player MUST also have the permission 'massistant.command'.
# Set to 'false' to force a chat-only mode for everyone.
allow-commands: true
Commands
/aireload
- Description: Reloads the configuration file instantly.
- Permission: massistant.admin
Technical & Privacy Note ⚠️
External Service: This plugin communicates with the ninario.fr AI Proxy to process natural language. This is required for the AI functionality to work.
Data Transmission: Only the player's name, current world, coordinates, and the text of the prompt are sent to the API. No other server data is shared.
评论 0
登录后参与评分
还没有评论,来抢沙发吧