OllamaChat

让你的服务器接入 Ollama 或 OpenAI 进行AI对话

工具

一键安装指令

!!MCDR plugin install ollama_chat

作者

数据同步于

...

上次更新

...

最新版本

总下载量

20

返回插件仓库

Some code writing techniques are inspired by reference: https://github.com/gubaiovo/MCDR_chat_with_ai

OllamaChat

[The officially developed OllamaChat plugin MCDR version]

📜 LICENSE: GNU GPLv3 License: GPLv3

A Minecraft server plugin for MCDReforged that enables players to chat with AI using either Ollama or OpenAI.

📦 Dependencies

Features

  • Chat with AI in Minecraft.
  • Supports both Ollama (local) and OpenAI (API) backends.
  • Customizable AI label and setup prompts.
  • View and reset chat history.

Installation

  1. Ensure MCDReforged is installed on your server.
  2. Install required Python dependencies:
    pip install openai requests
    
  3. Place the plugin files in the plugins folder of your MCDReforged server.
  4. Restart the server to generate the default configuration.

Commands

All commands are prefixed with !!oc and can only be used by players.

CommandDescriptionExample
!!oc guideShow this command guide!!oc guide
!!oc recordsView chat history!!oc records
!!oc resetClear chat history!!oc reset
!!oc chat <message>Chat with the AI!!oc chat Hi

Support

介绍文本来源:N/A