Ollama Chat
1.2.2A versatile Minecraft plugin that integrates Ollama and OpenAI-class APIs, providing multi-language support, real-time AI interactions, and advanced prompt and conversation management for immersive in
1.2.2latestOllama Chat 1.2.2Jul 21, 2026 Version 1.2.2
Overview
This release restores Bukkit compatibility, adapts to Minecraft 1.21.5+ SNBT text component format changes, and optimizes AI streaming output for natural sentence-level delivery.New Features
- Bukkit Compatibility: ResolvedNoClassDefFoundErrorcaused by direct dependency onnet.md_5.bungee.api.chat.*inSuggestedResponseHandler. Extracted clickable message sending into an abstraction layer with automatic platform detection. - 1.21.5+ SNBT Format Support:BukkitClickableSendernow auto-detects server version and generates the correcttellrawcomponent format — JSON (1.20–1.21.4) or SNBT withclick_event/commandsnake_case keys (1.21.5+).Changes
- SuggestedResponseHandler: Removednet.md_5.bungeeimports; delegates toClickableMessageSenderinterface (SpigotClickableSenderfor Paper/Spigot/Folia,BukkitClickableSenderfor CraftBukkit). - AIService Streaming: Replaced the 50-character arbitrary flush threshold with intelligent sentence-boundary detection (findFlushPoint). Text is now flushed at paragraph breaks (\n\n), sentence endings (.?!!), or emergency word-boundaries (300 chars), producing natural multi-sentence delivery.Fixes
- Clickable suggestions on Bukkit: Now works via/tellrawcommand with automatic version-adaptive JSON/SNBT format selection and dual-format fallback. - Streaming text breaks: No more mid-sentence cutoffs at the 50-character mark. Player receives logically complete sentences.Technical
- New classes:ClickableMessageSender,SpigotClickableSender,BukkitClickableSender- Modified classes:SuggestedResponseHandler,AIService- Version support: Minecraft 1.20.x through 26.x | Bukkit / Spigot / Paper / Folia1.2.1-hotfixOllama Chat 1.2.1-hotfixJun 16, 2026 Version 1.2.1-hotfix
Overview
Hotfix for clickable suggestion components that stopped working in v1.2.1Fixes
- Clickable Suggestions: Partially revertedSuggestedResponseHandlerto restore click-to-use functionality for suggested responses - Component Compatibility: Fixed text component rendering issue where[Click to use]was displayed as plain text instead of an interactive element ---1.2.1Ollama Chat 1.2.1May 21, 2026 Version 1.2.1
Overview
This release introduces Markdown formatting support for AI responses.New Features
- Markdown Formatting: AI responses are now automatically converted from Markdown to Minecraft-compatible formatting.Changes
- Formatter Integration:ConfigManagernow manages Markdown formatting settings with configurable options inconfig.ymlTechnical
- Markdown conversion supports: headers, bold, italic, strikethrough, code blocks, lists, blockquotes, links, and horizontal rules1.2.0Ollama Chat 1.2.0Apr 30, 2026 Version 1.2.0
Overview
This release introduces Folia server compatibility and refactors the search moduleNew Features
- Folia Compatibility: New scheduler abstraction layer compatible with Bukkit, Spigot, Paper, and FoliaChanges
- Web Search Module Restructured: MovedWebSearchService,BochaSearchService, andBraveSearchServiceinto dedicatedcom.ollamachat.searchpackage for better code organization1.1.9Ollama Chat 1.1.9Apr 10, 2026 Version 1.1.9
Overview
This release focuses on improving the help system, enhancing the plugin API, and adding bStats metrics integration for better usage analytics.New Features
- Enhanced Help System: Added/ollamachat helpcommand with detailed subcommand documentation, providing clearer usage instructions for all commands - API Improvements: Refined the public API interface for better third-party plugin integration, with more consistent method naming and error handling - bStats Integration: Added anonymous usage statistics collection via bStats (https://bstats.org/). You can opt-out by modifying theplugins/bStats/config.ymlfileChanges
- Improved command feedback messages with better formatting and color coding - Updated language files with comprehensive help entries ---1.1.8Ollama Chat 1.1.8Mar 14, 2026 Version 1.1.8
Overview
This major release introduces comprehensive web search capabilities with multi-engine support (Bocha and Brave), enhanced configuration management, and improved user experience with new commands and language switching. The update focuses on bringing real-time information retrieval to AI conversations while maintaining flexibility for international users. This version supports Minecraft 1.20.x through 1.21.x.New Features
- Web Search Integration: - Added support for two search engines: Bocha (Chinese-focused) and Brave (International) - Automatic web search when messages contain trigger keywords (configurable) - Manual search command/ollamachat search query <text>for on-demand searches - Search results are formatted and fed to AI for informed responses - Configurable result count (1-50), site filtering, and time range restrictions - Multi-Engine Support: - Bocha Search Engine: Chinese-focused search with site inclusion/exclusion, time range, and freshness filters - Brave Search Engine: International search with country, language, and safe search settings - Easy switching between engines via/ollamachat search engine <name>- New Search Management Commands: -/ollamachat search toggle- Enable/disable web search -/ollamachat search status- View current search configuration -/ollamachat search engine [name]- Show/change search engine -/ollamachat search setkey <engine> <key>- Set API key for engines -/ollamachat search setcount <number>- Configure result count -/ollamachat search addkeyword <word>- Add trigger keywords -/ollamachat search removekeyword <word>- Remove trigger keywords -/ollamachat search listkeywords- List all trigger keywords - Language System Improvements: - Hot-reload language files with/ollamachat reloadEnhancements
- Configuration: - Added complete web-search configuration section with detailed comments - Engine-specific configuration blocks for Bocha and Brave - Configurable trigger keywords for automatic search - Customizable search prompt template for AI context - Removed config-version for simpler upgrades - Performance: - Asynchronous search operations to prevent server lag - Efficient result parsing and formatting - Connection pooling for search API requestsConfiguration Example
web-search: enabled: false auto-trigger: true trigger-keywords: - "search" - "find" - "what is" result-count: 5 engine: "brave" bocha: api-key: "" include-sites: false include-sites-list: [] exclude-sites: false exclude-sites-list: [] time-range: 0 freshness: "" brave: api-key: "" country: "US" search-lang: "en" ui-lang: "en" safe-search: "moderate" prompt-template: "Based on the following search results... {search_results} ... {prompt}"Permissions:
- New permissions added for search management: -ollamachat.search.toggle- Enable/disable search -ollamachat.search.status- View search status -ollamachat.search.query- Perform manual searches -ollamachat.search.setkey- Set API keys -ollamachat.search.setcount- Configure result count -ollamachat.search.keywords- Manage trigger keywords -ollamachat.search.engine- Change search engineCommands Usage Examples
- API Keys: - Bocha API key: Get from https://www.bochaai.com/ - Brave API key: Get from https://api.search.brave.com/app/keys - Both engines require valid API keys to function - Language Files: - Update language files to include new search-related keys ---# Enable web search /ollamachat search toggle # Change search engine to Bocha /ollamachat search engine bocha # Set Brave API key /ollamachat search setkey brave your-api-key-here # Perform manual search /ollamachat search query latest Minecraft updates # Add trigger keyword /ollamachat search addkeyword research # Check search status /ollamachat search status # Reload configuration with new language /ollamachat reload1.1.7Ollama Chat 1.1.7Feb 27, 2026 Version 1.1.7
Overview
This release introduces web search capabilities through Brave Search API integration, allowing AI responses to leverage real-time information from the internet. Players can now trigger web searches directly in chat to get up-to-date, informed answers from the AI.New Features
- Brave Search Integration: - Added web search functionality using Brave Search API for real-time information retrieval. - Players can trigger searches with@web <query>in chat messages. - Search results are automatically fed into AI prompts for context-aware responses. - Configurable Search Settings: - Addedbrave-searchsection toconfig.ymlwithenabledandapi-keyoptions. - New language messages for search feedback:search-searching,search-empty-query, andsearch-error. - Chat-based Search: - Added@webprefix support for triggering web searches directly from chat.1.1.6Ollama Chat 1.1.6Oct 18, 2025 Version 1.1.6
Bug Fixes
- Fixed HikariCP dependency loading for MySQL connections1.1.5Ollama Chat 1.1.5Jul 31, 2025 Version 1.1.5
Overview
This release reintroduces HikariCP for enhanced MySQL database performance and adds a public API for other plugins to interact with OllamaChat's AI chat functionality. It focuses on improving database efficiency, extensibility, and developer integration while maintaining compatibility with existing configurations.New Features
- HikariCP Integration: - Added HikariCP connection pooling for MySQL databases to improve performance and resource management. - Configurable HikariCP settings inconfig.ymlunderdatabase.mysql.hikarifor tuning connection pool parameters (e.g.,maximum-pool-size,connection-timeout). - Public API: - IntroducedOllamaChatAPIinterface (com.ollamachat.api.OllamaChatAPI) for other plugins. - Supports sending AI queries, managing conversations, and accessing chat history programmatically with methods likesendAIQuery,createConversation, andlistConversations. - Added API documentation inAPI.mdfor developer integration.Enhancements
- Database Management: - UpdatedDatabaseManagerto leverage HikariCP for MySQL connections, while preserving SQLite functionality. - Dependency Management: - UpdatedDependencyLoaderto include HikariCP (version 5.1.0) alongside MySQL and SQLite JDBC drivers, downloaded at runtime toplugins/OllamaChat/libs. - MaintainedcompileOnlyinbuild.gradlefor non-Paper dependencies to minimize JAR size. - Configuration: - Addeddatabase.mysql.hikarisection toconfig.ymlwith default settings for connection pooling. - Improvedconfig.ymlcomments for clarity and ease of use.Bug Fixes
- No specific bug fixes in this release, as the focus was on new features and performance improvements.API Usage Example
Plugin ollamaPlugin = getServer().getPluginManager().getPlugin("OllamaChat"); if (ollamaPlugin != null && ollamaPlugin.isEnabled()) { OllamaChatAPI api = ((com.ollamachat.core.Ollamachat) ollamaPlugin).getAPI(); api.sendAIQuery(player, "ollama", "Hello, how are you?") .thenAccept(response -> player.sendMessage("AI Response: " + response)); }Configuration Example
database: type: mysql mysql: host: localhost port: 3306 database: ollamachat username: root password: "" hikari: maximum-pool-size: 10 connection-timeout: 30000Notes for Upgrading
- Configuration: - Updateconfig.ymlto include thedatabase.mysql.hikarisection if using MySQL. Default values are added automatically. - Backup existingconfig.ymlbefore updating to avoid data loss. - Dependencies: - The plugin downloads HikariCP (version 5.1.0) automatically on first startup. Ensure server internet access or verifyHikariCP-5.1.0.jarinplugins/OllamaChat/libs. - Delete thelibsfolder to force re-download if dependencies are corrupted. - API Integration: - Developers can hook intoOllamaChatusingOllamaChatAPI. Addsoftdepend: [OllamaChat]toplugin.ymland refer toAPI.md. - Compatibility: - This update is backward-compatible with existing configurations and databases. - Testing: - Test database operations (e.g.,/ollamachat conversation new) to verify MySQL/SQLite functionality. - Check server logs for dependency loading or database errors.Known Issues
- HikariCP settings may require manual tuning for optimal performance based on server load and MySQL configuration.版本 1.1.5
概述
本次更新重新引入HikariCP以提升MySQL数据库性能,并新增公共API供其他插件与OllamaChat的AI聊天功能交互。重点改进数据库效率、可扩展性和开发者集成,同时保持与现有配置的兼容性。新特性
- HikariCP集成: - 为MySQL数据库添加HikariCP连接池,提升性能和资源管理 - 在config.yml的database.mysql.hikari下可配置连接池参数(如maximum-pool-size、connection-timeout) - 公共API: - 新增OllamaChatAPI接口(com.ollamachat.api.OllamaChatAPI) - 支持通过编程方式发送AI查询、管理会话和访问聊天记录(如sendAIQuery、createConversation、listConversations等方法) - 开发者文档见API.md功能增强
- 数据库管理: - 更新DatabaseManager以使用HikariCP管理MySQL连接,同时保留SQLite功能 - 依赖管理: - 更新DependencyLoader包含HikariCP(5.1.0版)及MySQL/SQLite驱动,运行时下载至plugins/OllamaChat/libs- 保持build.gradle中非Paper依赖使用compileOnly以减小JAR体积 - 配置优化: - 在config.yml新增database.mysql.hikari配置段 - 改进配置注释的清晰度问题修复
- 本版本主要侧重新功能和性能提升,无特定问题修复API使用示例
Plugin ollamaPlugin = getServer().getPluginManager().getPlugin("OllamaChat"); if (ollamaPlugin != null && ollamaPlugin.isEnabled()) { OllamaChatAPI api = ((com.ollamachat.core.Ollamachat) ollamaPlugin).getAPI(); api.sendAIQuery(player, "ollama", "你好吗?") .thenAccept(response -> player.sendMessage("AI回复: " + response)); }配置示例
database: type: mysql mysql: host: localhost port: 3306 database: ollamachat username: root password: "" hikari: maximum-pool-size: 10 connection-timeout: 30000升级须知
- 配置: - 使用MySQL需更新config.yml添加hikari配置段(默认值会自动生成) - 升级前备份现有配置 - 依赖: - 首次启动自动下载HikariCP(5.1.0版),确保服务器联网或检查plugins/OllamaChat/libs目录 - 依赖损坏时可删除libs文件夹强制重新下载 - API集成: - 开发者可通过OllamaChatAPI集成,在plugin.yml添加softdepend: [OllamaChat]并参考API.md- 兼容性: - 保持与现有配置和数据库的向后兼容 - 测试建议: - 测试数据库操作(如/ollamachat conversation new命令) - 检查服务器日志中的依赖加载和数据库错误已知问题
- HikariCP参数可能需要根据服务器负载手动调优1.1.4Ollama Chat 1.1.4Jul 14, 2025 Version 1.1.4
Changes in this Update:
--- #### Bug Fixes- Spigot and Bukkit Compatibility #### Architectural
- Database Manager Refactoring: - Removed HikariCP dependency and replaced connection pooling with direct
DriverManagerconnections for MySQL and SQLite. #### Dependency Management- Runtime Dependency Loading: - Added
DependencyLoaderclass to download and load dependencies (mysql-connector-java:8.0.33,sqlite-jdbc:3.46.0.0) at runtime from Maven Central toplugins/OllamaChat/libs. - Updatedbuild.gradleto usecompileOnlyfor non-Paper dependencies, reducing JAR size. - ModifiedOllamachatmain class to initializeDependencyLoaderbefore other components. #### Configuration Updates- Database Configuration: - Supports both MySQL and SQLite with fallback to SQLite if MySQL initialization fails. - Configuration example for
config.yml:
--- Important Notes: 1.database: type: mysql mysql: host: localhost port: 3306 database: ollamachat username: root password: ""Configuration Requirement: - Ensure
config.ymlincludes valid MySQL or SQLite settings. Missing or incorrect settings may cause fallback to SQLite. - Backup existingconfig.ymlbefore updating to avoid data loss. 2.Dependency Download: - On first startup, the plugin downloads dependencies to
plugins/OllamaChat/libs. Ensure the server has internet access. - Delete thelibsfolder to force re-download if dependencies are corrupted. ---版本 1.1.4
本次更新的主要变更:
--- #### 错误修复- Spigot 和 Bukkit 兼容性 #### 架构
- 数据库管理器重构: - 移除 HikariCP 依赖,改用直接
DriverManager连接支持 MySQL 和 SQLite。 #### 依赖管理- 运行时依赖加载: - 新增
DependencyLoader类,从 Maven Central 下载并加载依赖(mysql-connector-java:8.0.33,sqlite-jdbc:3.46.0.0)到plugins/OllamaChat/libs。 - 更新build.gradle,对非 Paper 依赖使用compileOnly,减少 JAR 大小。 - 修改Ollamachat主类,在其他组件初始化前加载DependencyLoader。 #### 配置更新- 数据库配置: - 支持 MySQL 和 SQLite,若 MySQL 初始化失败则回退到 SQLite。 -
config.yml配置示例:
--- 注意事项: 1.database: type: mysql mysql: host: localhost port: 3306 database: ollamachat username: root password: ""配置要求: - 确保
config.yml包含有效的 MySQL 或 SQLite 配置,错误配置可能导致回退到 SQLite。 - 建议备份现有config.yml以防数据丢失。 2.依赖下载: - 首次启动时,插件会将依赖下载到
plugins/OllamaChat/libs,确保服务器具备网络连接。 - 如依赖损坏,可删除libs文件夹以重新下载。1.1.2Ollama Chat 1.1.2Jul 5, 2025 Version 1.1.2
Changes in this Update:
--- #### New Features - Configurable Response Suggestion Count: Set the number of suggested responses viasuggested-response-count(default: 3). - Customizable Suggestion Prompt Template: Addedsuggested-response-promptfor tailored suggestion generation. - Preset Suggested Responses: Introducedsuggested-response-presets(e.g., "I see what you mean.") with toggle viasuggested-response-presets-enabled. - Model-Specific Suggestion Toggles: Control suggestion generation per model withsuggested-response-model-toggles. - Suggestion Hover Text: Added hover text for suggested responses to enhance interactivity. - New Command:/ollamachat suggests toggleto enable/disable suggestions, withollamachat.suggests.togglepermission. - Suggestion Rate Limiting: Addedsuggested-response-cooldown(default: 10 seconds) to prevent suggestion spam. #### Fixes - Fixed Default Language Error: Corrected incorrect default language setting in the configuration file. #### Configuration Updates - New Configuration Options:
- Note: Backup existing configuration before updating to ensure compatibility with new structure. #### Optimizations - Improved suggestion generation logic for faster and more accurate responses. - New permissions:suggested-response-count: 3 suggested-response-prompt: "Conversation:\nUser: {prompt}\nAI: {response}\n\nBased on the above conversation, suggest {count} natural follow-up responses the user might want to say. They should be conversational in tone rather than questions. List them as:\n1. Response 1\n2. Response 2\n3. Response 3" suggested-response-presets: - "I see what you mean." - "That's interesting!" - "Tell me more about that." suggested-response-presets-enabled: false suggested-response-model-toggles: - llama3 suggested-response-cooldown: 10ollamachat.suggests.toggleandollamachat.suggests-presets.toggle. --- Important Notes: 1.Configuration Changes: - New configuration options added for enhanced suggestion customization. - Recommended to back up old config and regenerate. 2.
Delete
langdirectory to regenerate localization files. 3.Suggested responses and presets are disabled by default; enable via configuration. ---
版本 1.1.2
本次更新的主要变更:
--- #### 新增功能 - 可配置建议回复数量:通过suggested-response-count设置建议回复数量(默认:3 条)。 - 自定义建议提示模板:新增suggested-response-prompt,支持自定义建议回复生成模板。 - 固定建议回复预备:新增suggested-response-presets(如 "I see what you mean."),通过suggested-response-presets-enabled启用/禁用。 - 按模型建议开关:通过suggested-response-model-toggles控制各模型的建议回复功能。 - 建议回复悬停文本:为建议回复添加悬停提示,提升交互体验。 - 新命令:/ollamachat suggests toggle用于开关建议回复,权限为ollamachat.suggests.toggle。 - 建议回复速率限制:新增suggested-response-cooldown(默认:10 秒),避免频繁生成建议。 #### 修复 - 修复默认语言错误:修正配置文件中默认语言设置错误。 #### 配置更新 - 新增配置项:
- 注意:建议备份旧配置文件后重新生成,以兼容新配置结构。 #### 优化 - 优化建议回复生成逻辑,生成速度更快、结果更精准。 - 新增权限:suggested-response-count: 3 suggested-response-prompt: "Conversation:\nUser: {prompt}\nAI: {response}\n\nBased on the above conversation, suggest {count} natural follow-up responses the user might want to say. They should be conversational in tone rather than questions. List them as:\n1. Response 1\n2. Response 2\n3. Response 3" suggested-response-presets: - "I see what you mean." - "That's interesting!" - "Tell me more about that." suggested-response-presets-enabled: false suggested-response-model-toggles: - llama3 suggested-response-cooldown: 10ollamachat.suggests.toggle和ollamachat.suggests-presets.toggle。 --- 注意事项: 1.配置文件变更: - 新增建议回复相关配置项。 - 建议备份旧配置后再更新。 2.
删除
lang目录以重新生成语言文件。 3.建议回复及预设默认关闭,需在配置文件中手动启用。
1.1.1Ollama Chat 1.1.1Jun 30, 2025 Version 1.1.1
Changes in this Update:
--- #### Architectural Optimization- Modular Refactoring: - Codebase restructured into three functional modules: -
chatpackage: Core handlers (ChatTriggerHandler) + new Suggested Response Processor (SuggestedResponseHandler) -commandpackage: Centralized AI command implementations (AIChatCommand/OllamaChatCommand) with tab completion -corepackage: Main class (Ollamachat) and configuration manager (ConfigManager) #### New Features- Smart Response Suggestions: - Added
SuggestedResponseHandlerfor multi-model collaboration - Generates 3 clickable follow-up questions after each AI response - Configurable via YAML:
#### Localization & Configurationsuggested-responses-enabled: true suggested-response-models: - llama3- Language File Updates: - New entries for response suggestions:
--- Important Notes: 1."suggested-responses-header": "§a[OllamaChat] Suggested Responses:", "suggested-response-prefix": "§7[Click to Reply] §f"Configuration Changes: - New
suggested-responsesconfig section added - Recommended to backup old config before updating 2.Delete
langdirectory to regenerate localization files 3.Response suggestions disabled by default (enable in config) ---
版本 1.1.1
本次更新的主要变更:
--- #### 架构优化- 模块化重构: - 代码结构按功能拆分为三大模块: -
chat包:包含聊天核心处理器(ChatTriggerHandler)和新增的候选回复处理器(SuggestedResponseHandler) -command包:集中管理所有AI命令实现(AIChatCommand/OllamaChatCommand)及自动补全逻辑(TabCompleter) -core包:保留主类Ollamachat和配置管理器ConfigManager#### 新增功能- 智能候选回复系统: - 新增
SuggestedResponseHandler实现多模型协同推荐 - 玩家收到AI回复后,自动生成3条可点击的后续提问建议 - 支持通过配置文件启用/禁用:
#### 配置与本地化suggested-responses-enabled: true suggested-response-models: - llama3- 语言文件更新: - 新增候选回复相关词条:
--- 注意事项: 1."suggested-responses-header": "§a[OllamaChat] 推荐回复:", "suggested-response-prefix": "§7[点击回复] §f"本次更新涉及配置文件结构变更: - 新增
suggested-responses配置组 - 建议备份旧配置后重新生成 2.语言文件需删除
lang目录让插件重新生成 3.候选回复功能默认关闭,需在配置中手动启用 ---
1.1.0Ollama Chat 1.1.0May 25, 2025 Version 1.1.0
Changes in this Update:
Features:
- Introduced prompt management system, allowing creation, deletion, listing, selection, and clearing of prompts to customize AI interactions. - Added conversation management system, enabling players to start, switch, delete, and view AI-associated conversations. - Updated language file format to accommodate new commands and enhance localization support. - Implemented Tab completion for/ollamachatsubcommands to improve command usability.New Commands:
| Command | Permission | Description | |---------|------------|-------------| |/ollamachat prompt set <promptName> <promptContent>|ollamachat.prompt.set| Creates and saves a new prompt to the configuration. | |/ollamachat prompt delete <promptName>|ollamachat.prompt.delete| Removes a specified prompt from the configuration. | |/ollamachat prompt list|ollamachat.prompt.list| Displays all available prompts with the current default. | |/ollamachat prompt select <promptName>|ollamachat.prompt.select| Sets a prompt as the default for AI interactions. | |/ollamachat prompt clear|ollamachat.prompt.select| Resets the default prompt to none. | |/ollamachat conversation new <aiName> <convName>|ollamachat.conversation.new| Starts a new conversation linked to a specific AI. | |/ollamachat conversation select <aiName> <convName>|ollamachat.conversation.select| Switches to an existing conversation for interaction. | |/ollamachat conversation delete <aiName> <convName>|ollamachat.conversation.delete| Deletes a specified conversation. | |/ollamachat conversation list <aiName>|ollamachat.conversation.list| Shows all conversations for a given AI. |Notes:
- Please back up your configuration files before upgrading! - Language files must be deleted to allow the plugin to regenerate them with the updated format. - If errors occur after upgrading from a previous version, ensure you back up your current configuration, delete the configuration folder, and let the plugin regenerate all files.版本 1.1.0
本次更新的主要变更:
功能:
- 新增提示词管理系统,支持创建、删除、列出、选择和清除提示词,以定制 AI 交互体验。 - 新增对话管理系统,允许玩家启动、切换、删除和查看与 AI 关联的对话。 - 更新语言文件格式,以支持新命令并优化本地化体验。 - 为/ollamachat子命令添加 Tab 补全功能,提升命令输入便捷性。新命令:
| 命令 | 权限 | 描述 | |------|------|------| |/ollamachat prompt set <promptName> <promptContent>|ollamachat.prompt.set| 创建并保存新的提示词到配置文件。 | |/ollamachat prompt delete <promptName>|ollamachat.prompt.delete| 删除指定的提示词。 | |/ollamachat prompt list|ollamachat.prompt.list| 列出所有提示词并显示当前默认提示词。 | |/ollamachat prompt select <promptName>|ollamachat.prompt.select| 将指定提示词设为默认提示词。 | |/ollamachat prompt clear|ollamachat.prompt.select| 清除当前默认提示词。 | |/ollamachat conversation new <aiName> <convName>|ollamachat.conversation.new| 创建与指定 AI 关联的新对话。 | |/ollamachat conversation select <aiName> <convName>|ollamachat.conversation.select| 切换到现有的对话进行交互。 | |/ollamachat conversation delete <aiName> <convName>|ollamachat.conversation.delete| 删除指定的对话。 | |/ollamachat conversation list <aiName>|ollamachat.conversation.list| 显示指定 AI 下的所有对话。 |注意事项:
- 升级前请备份配置文件! - 必须删除语言文件以让插件按新格式重新生成。 - 若从历史版本升级后出现错误,请备份当前配置,删除插件配置文件夹,让插件重新生成所有文件。1.0.3-hotfixOllama Chat 1.0.3-hotfixMay 6, 2025 fix: correct OpenAI API request format again1.0.3Ollama Chat 1.0.3May 6, 2025 Version 1.0.3
Changes in this Update: - Feature: Added status bar display for prompt answer generation, showing 0% at start and 100% at completion. - Feature: Implemented streaming response functionality for testing (Note: Limited practical effect due to Minecraft's native constraints). - Improvement: UpdatedOllamachatto apply response prefix only to the first streaming message for cleaner output. Notes: - Please back up your configuration files in advance! This update still requires a rebuild of the configuration. - This update requires deleting thelangfiles so that the plugin can regenerate them. ---版本 1.0.3
本次更新的主要变更: - 功能: 新增了生成提示答案时的状态显示条,显示开始时 0%,完成时 100%。 - 功能: 实现了流式传输功能的测试(注:受 Minecraft 原生限制,此功能几乎无实际表现)。 - 改进: 更新了Ollamachat,仅对流式传输的首条消息应用响应前缀,以获得更简洁的输出。 注意事项: - 请提前备份好配置文件!本次更新仍需重新生成配置。 - 本次更新需删除lang文件以让插件重新生成新的语言文件。1.0.2Ollama Chat 1.0.2Mar 6, 2025 Version 1.0.2
Changes in this Update: - Fix: Resolved an issue with incorrect OpenAI API request formatting that caused request failures. - Feature: Merged thefeature-chat-history-save-callbranch, adding support for saving and retrieving chat history. - Improvement: Updated related code to ensure compatibility and smooth execution of new features. Notes: - Please back up your configuration files in advance! - This update requires deleting thelangfiles so that the plugin can regenerate them. - If configuration files fail to regenerate after deletion, please submit an issue for assistance; we will address it as soon as possible. ---版本 1.0.2
本次更新的主要变更: - 修复: 修正了 OpenAI API 请求格式错误的问题,该问题曾导致请求失败。 - 功能: 合并了feature-chat-history-save-call分支,新增了聊天历史记录保存和调用的支持。 - 改进: 更新了相关代码,确保新功能的兼容性和平稳运行。 注意事项: - 请提前备份好配置文件! - 本次更新需删除lang文件以让插件重新生成新的语言文件。 - 如果配置文件仍无法再生,请提交Issue,我们将尽快修复相关问题。1.0.2-rc2Ollama Chat 1.0.2-rc2Feb 26, 2025 Version 1.0.2-rc2
Changes in this Update: - Added multi-language support for command usage text inplugin.yml. - Implemented player conversation history save and call functionality during AI interactions. - Fixed issues related to configuration file updates. Notes: - Please back up your configuration files in advance! - This update requires deleting thelangfiles so that the plugin can regenerate them. - If configuration files fail to regenerate after deletion, please submit an issue for assistance; we will address it as soon as possible.1.0.1Ollama Chat 1.0.1Feb 12, 2025 Version 1.0.1 New Features: - Added multi-language support, including thelangdirectory withen.lang(English) andzh_cn.lang(Simplified Chinese) language files. - Added/ollamachat toggle <ai-name>command to dynamically enable or disable specific AI services. - Added/aichat <ai-name> <prompt>command to interact with other AI services. Improvements: - Optimized configuration file loading logic to automatically updateconfig.ymlwhen configurations do not match, without modifying the original configuration values. - Enhanced error message prompts to support reading messages from language files. Fixes: - Fixed issues with language file formatting to ensure compliance with YAML specifications. - Resolved problems where AI configurations were not properly loaded during plugin config reloads.1.0ollama chat 1.0Feb 4, 2025 - Added support for real-time interaction with Ollama. - Added/ollamareloadcommand to reload plugin configurations.
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta