米饭插件文档 米饭插件文档
🏡首页
  • 付费插件

    • [公会]PlayerGuild
    • [商店]RandomShop
    • [市场]PlayerAuction
    • [回归]PlayerReturn
    • [宠物]CompanionsPlus
    • [充值]AfDianPay
    • [排行]PlayerTop
  • 部分付费

    • [称号]PlayerTitle
    • [任务]PlayerTask
    • [地标]PlayerWarp
  • 开源付费

    • [菜单]PlayerMenu
    • [聊天]PlayerChat
    • [归属]ip2region
    • [离线变量]OfflinePapi
  • 免费插件

    • [强化]PlayerIntensify
    • [货币]PlayerCurrency
    • [AI]DeepSeek
    • [怪物]MonsterPlus
    • [MOTD]RiceMotd
    • [公告]RiceNotice
    • [种族]PlayerRace
    • [奖励]PlayerRewards
    • [疲劳]PlayerFatigue
    • [欢迎]LoginExpansion
    • [签到]PlayerSignIn
    • [QQ登陆]OauthLogin
    • [单挑附属]Fair-DanTiao
    • [MCMMO附属]McMmoView
    • [领地附属]ResidenceEnhance
  • 📚论坛资源
  • 🖥️服务器商
  • 🔌插件推荐
  • 🤖AI助手 (opens new window)
  • ✉️公开信
🎮找服玩玩 (opens new window)
🐧反馈交流 (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
🏡首页
  • 付费插件

    • [公会]PlayerGuild
    • [商店]RandomShop
    • [市场]PlayerAuction
    • [回归]PlayerReturn
    • [宠物]CompanionsPlus
    • [充值]AfDianPay
    • [排行]PlayerTop
  • 部分付费

    • [称号]PlayerTitle
    • [任务]PlayerTask
    • [地标]PlayerWarp
  • 开源付费

    • [菜单]PlayerMenu
    • [聊天]PlayerChat
    • [归属]ip2region
    • [离线变量]OfflinePapi
  • 免费插件

    • [强化]PlayerIntensify
    • [货币]PlayerCurrency
    • [AI]DeepSeek
    • [怪物]MonsterPlus
    • [MOTD]RiceMotd
    • [公告]RiceNotice
    • [种族]PlayerRace
    • [奖励]PlayerRewards
    • [疲劳]PlayerFatigue
    • [欢迎]LoginExpansion
    • [签到]PlayerSignIn
    • [QQ登陆]OauthLogin
    • [单挑附属]Fair-DanTiao
    • [MCMMO附属]McMmoView
    • [领地附属]ResidenceEnhance
  • 📚论坛资源
  • 🖥️服务器商
  • 🔌插件推荐
  • 🤖AI助手 (opens new window)
  • ✉️公开信
🎮找服玩玩 (opens new window)
🐧反馈交流 (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
  • 基础

    • 简介
    • 命令权限
    • 配置详解
      • 图片展示
      • 视频介绍
      • 更新记录
    • 开发者

      • API
    • DeepSeek
    • 基础
    ヽ米 饭
    2025-02-06
    目录

    配置详解

    # 注意事项

    如果你需要使用其他大模型可以自定义

    1. baseUrl
    2. apiKey
    3. model

    例如使用有大量免费额度和免费模型的智谱大模型 (opens new window)

    baseUrl: "https://open.bigmodel.cn/api/paas/v4/chat/completions"
    apiKey: ""
    model: "GLM-4.5-Flash"
    

    # 插件配置

    # 是否开启更新提醒,建议开启
    isCheckUpdate: true
    
    # op登录时候是否发送更新提醒
    isCheckUpdateToOpMsg: true
    
    baseUrl: "https://api.deepseek.com/chat/completions"
    apiKey: ""
    
    # 模型  deepseek-chat 或 deepseek-reasoner
    model: "deepseek-chat"
    
    # 对话聊天机器人,在玩家正常聊天中会随机触发对话
    playerChatAi: "小江"
    # 玩家聊天中带有该机器人的name才能呼叫出来 例如上面的 小江 xxx false不需要带名称也能呼叫出来
    playerChatAiName: true
    # AI保存上下文的最大长度
    playerChatAiSize: 10
    # AI无需重新呼唤名字的时间
    duration: 10
    
    # 自定义聊天人设
    chatSystem:
      客服:
        # 名称
        name: "&e服务器客服"
        # 本角色绑定的npc 不填表示不绑定
        # Citizens2格式 是数字 例如 1
        # Adyeshach格式 是uuid 例如 c54141b9-79d5-4a8c-aeb9-57d09558400c
        # ZNPCsPlus格式 是数字 例如 1
        # FancyNpcs格式 是uuid 例如 d504da41-b92b-4a2a-b3eb-97266a62f0c1
        npcId: '0'
        # 点击NPC后的提醒消息
        greeting: '${name}: &f勇士你好,你有什么事需要我帮忙吗?'
        # 角色
        role: "你是一个精通Minecraft的客服人员,你喜欢用最简短的最精准的语言来回复,回复内容不超过100个字,不回复跟Minecraft不相关内容"
        # 加载中...
        loading:
          - '${name}: &f勇士稍等,我正在思考...'
        # 回复格式
        format:
          - '${name}: &f${message}'
      铁匠:
        # 名称
        name: "&e铁匠"
        # 角色
        role: "你是一个Minecraft中的NPC,身份是铁匠,你喜欢用最简短的最精准的语言来回复,回复内容不超过100个字,不回复跟Minecraft不相关内容"
        # 加载中...
        loading:
          - '${name}: &f勇士稍等,我正在思考...'
        # 回复格式
        format:
          - '${name}: &f${message}'
      木匠:
        name: "&e木匠"
        role: "你是一个Minecraft中的NPC,身份是木匠,你喜欢用最简短的最精准的语言来回复,回复内容不超过100个字,不回复跟Minecraft不相关内容"
        # 加载中...
        loading:
          - '${name}: &f勇士稍等,我正在思考...'
        format:
          - '${name}: &f${message}'
      小江:
        name: "&f[ &dAI &f]&f小江"
        role: "你是一名精通Minecraft玩法的NPC,名字叫小江,你喜欢用最简短的最精准的语言来回复,回复内容不超过100个字"
        format:
          - '${name}: @${player} &f${message}'
    
    
    命令权限
    图片展示

    ← 命令权限 图片展示→

    Theme by Vdoing | Copyright © 2020-2025 米饭插件文档 版权所有
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式