Ollama ChatСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (19)
release
Ollama Chat 1.2.2
1.2.221 июл. 2026 г.184Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, folia, paper, purpur, spigot
Что нового
# 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**: Resolved `NoClassDefFoundError` caused by direct dependency on `net.md_5.bungee.api.chat.*` in `SuggestedResponseHandler`. Extracted clickable message sending into an abstraction layer with automatic platform detection.
- **1.21.5+ SNBT Format Support**: `BukkitClickableSender` now auto-detects server version and generates the correct `tellraw` component format — JSON (*1.20–1.21.4*) or SNBT with `click_event`/`command` snake_case keys (*1.21.5+*).
## Changes
- **SuggestedResponseHandler**: Removed `net.md_5.bungee` imports; delegates to `ClickableMessageSender` interface (`SpigotClickableSender` for Paper/Spigot/Folia, `BukkitClickableSender` for 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 `/tellraw` command 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 / Folia
release
Ollama Chat 1.2.1-hotfix
1.2.1-hotfix16 июн. 2026 г.75Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2folia, paper, purpur, spigot
Что нового
# Version 1.2.1-hotfix
## Overview
Hotfix for clickable suggestion components that stopped working in v1.2.1
## Fixes
- **Clickable Suggestions**: Partially reverted `SuggestedResponseHandler` to 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
---
release
Ollama Chat 1.2.1
1.2.121 мая 2026 г.74Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# 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**: `ConfigManager` now manages Markdown formatting settings with configurable options in `config.yml`
## Technical
- Markdown conversion supports: headers, bold, italic, strikethrough, code blocks, lists, blockquotes, links, and horizontal rules
release
Ollama Chat 1.2.0
1.2.030 апр. 2026 г.53Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, folia, paper, purpur, spigot
Что нового
# Version 1.2.0
## Overview
This release introduces Folia server compatibility and refactors the search module
## New Features
- **Folia Compatibility**: New scheduler abstraction layer compatible with Bukkit, Spigot, Paper, and Folia
## Changes
- **Web Search Module Restructured**: Moved `WebSearchService`, `BochaSearchService`, and `BraveSearchService` into dedicated `com.ollamachat.search` package for better code organization
release
Ollama Chat 1.1.9
1.1.910 апр. 2026 г.33Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Что нового
# 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 help` command 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 the `plugins/bStats/config.yml` file
## Changes
- Improved command feedback messages with better formatting and color coding
- Updated language files with comprehensive help entries
---
release
Ollama Chat 1.1.8
1.1.814 мар. 2026 г.41Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Что нового
# 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 reload`
## Enhancements
- **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 requests
## Configuration Example
```yaml
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 engine
## Commands Usage Examples
```bash
# 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 reload
```
- **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
---
release
Ollama Chat 1.1.7
1.1.727 февр. 2026 г.33Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Что нового
# 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**:
- Added `brave-search` section to `config.yml` with `enabled` and `api-key` options.
- New language messages for search feedback: `search-searching`, `search-empty-query`, and `search-error`.
- **Chat-based Search**:
- Added `@web` prefix support for triggering web searches directly from chat.
release
Ollama Chat 1.1.6
1.1.618 окт. 2025 г.122Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Что нового
# Version 1.1.6
## Bug Fixes
- Fixed HikariCP dependency loading for MySQL connections
release
Ollama Chat 1.1.5
1.1.531 июл. 2025 г.91Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, purpur, spigot
Что нового
# 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 in `config.yml` under `database.mysql.hikari` for tuning connection pool parameters (e.g., `maximum-pool-size`, `connection-timeout`).
- Public API:
- Introduced `OllamaChatAPI` interface (`com.ollamachat.api.OllamaChatAPI`) for other plugins.
- Supports sending AI queries, managing conversations, and accessing chat history programmatically with methods like `sendAIQuery`, `createConversation`, and `listConversations`.
- Added API documentation in `API.md` for developer integration.
## Enhancements
- Database Management:
- Updated `DatabaseManager` to leverage HikariCP for MySQL connections, while preserving SQLite functionality.
- Dependency Management:
- Updated `DependencyLoader` to include HikariCP (version 5.1.0) alongside MySQL and SQLite JDBC drivers, downloaded at runtime to `plugins/OllamaChat/libs`.
- Maintained `compileOnly` in `build.gradle` for non-Paper dependencies to minimize JAR size.
- Configuration:
- Added `database.mysql.hikari` section to `config.yml` with default settings for connection pooling.
- Improved `config.yml` comments 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
```java
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
```yaml
database:
type: mysql
mysql:
host: localhost
port: 3306
database: ollamachat
username: root
password: ""
hikari:
maximum-pool-size: 10
connection-timeout: 30000
```
## Notes for Upgrading
- Configuration:
- Update `config.yml` to include the `database.mysql.hikari` section if using MySQL. Default values are added automatically.
- Backup existing `config.yml` before updating to avoid data loss.
- Dependencies:
- The plugin downloads HikariCP (version 5.1.0) automatically on first startup. Ensure server internet access or verify `HikariCP-5.1.0.jar` in `plugins/OllamaChat/libs`.
- Delete the `libs` folder to force re-download if dependencies are corrupted.
- API Integration:
- Developers can hook into `OllamaChat` using `OllamaChatAPI`. Add `softdepend: [OllamaChat]` to `plugin.yml` and refer to `API.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使用示例
```java
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));
}
```
## 配置示例
```yaml
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参数可能需要根据服务器负载手动调优
release
Ollama Chat 1.1.4
1.1.414 июл. 2025 г.61Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, purpur, spigot
Что нового
# 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 `DriverManager` connections for MySQL and SQLite.
#### Dependency Management 📦
- **Runtime Dependency Loading**:
- Added `DependencyLoader` class to download and load dependencies (`mysql-connector-java:8.0.33`, `sqlite-jdbc:3.46.0.0`) at runtime from Maven Central to `plugins/OllamaChat/libs`.
- Updated `build.gradle` to use `compileOnly` for non-Paper dependencies, reducing JAR size.
- Modified `Ollamachat` main class to initialize `DependencyLoader` before other components.
#### Configuration Updates 🌐
- **Database Configuration**:
- Supports both MySQL and SQLite with fallback to SQLite if MySQL initialization fails.
- Configuration example for `config.yml`:
```yaml
database:
type: mysql
mysql:
host: localhost
port: 3306
database: ollamachat
username: root
password: ""
```
---
**Important Notes:**
1. ⚠️ **Configuration Requirement**:
- Ensure `config.yml` includes valid MySQL or SQLite settings. Missing or incorrect settings may cause fallback to SQLite.
- Backup existing `config.yml` before 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 the `libs` folder 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` 配置示例:
```yaml
database:
type: mysql
mysql:
host: localhost
port: 3306
database: ollamachat
username: root
password: ""
```
---
**注意事项:**
1. ⚠️ **配置要求**:
- 确保 `config.yml` 包含有效的 MySQL 或 SQLite 配置,错误配置可能导致回退到 SQLite。
- 建议备份现有 `config.yml` 以防数据丢失。
2. 🔄 **依赖下载**:
- 首次启动时,插件会将依赖下载到 `plugins/OllamaChat/libs`,确保服务器具备网络连接。
- 如依赖损坏,可删除 `libs` 文件夹以重新下载。
release
Ollama Chat 1.1.2
1.1.25 июл. 2025 г.55Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7paper, purpur
Что нового
# Version 1.1.2
## Changes in this Update:
---
#### New Features
- **Configurable Response Suggestion Count**: Set the number of suggested responses via `suggested-response-count` (default: 3).
- **Customizable Suggestion Prompt Template**: Added `suggested-response-prompt` for tailored suggestion generation.
- **Preset Suggested Responses**: Introduced `suggested-response-presets` (e.g., "I see what you mean.") with toggle via `suggested-response-presets-enabled`.
- **Model-Specific Suggestion Toggles**: Control suggestion generation per model with `suggested-response-model-toggles`.
- **Suggestion Hover Text**: Added hover text for suggested responses to enhance interactivity.
- **New Command**: `/ollamachat suggests toggle` to enable/disable suggestions, with `ollamachat.suggests.toggle` permission.
- **Suggestion Rate Limiting**: Added `suggested-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**:
```yaml
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: 10
```
- **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: `ollamachat.suggests.toggle` and `ollamachat.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 `lang` directory 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 秒),避免频繁生成建议。
#### 修复
- **修复默认语言错误**:修正配置文件中默认语言设置错误。
#### 配置更新
- **新增配置项**:
```yaml
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: 10
```
- **注意**:建议备份旧配置文件后重新生成,以兼容新配置结构。
#### 优化
- 优化建议回复生成逻辑,生成速度更快、结果更精准。
- 新增权限:`ollamachat.suggests.toggle` 和 `ollamachat.suggests-presets.toggle`。
---
**注意事项:**
1. ⚠️ **配置文件变更**:
- 新增建议回复相关配置项。
- 建议备份旧配置后再更新。
2. 🔄 删除 `lang` 目录以**重新生成语言文件**。
3. 💡 建议回复及预设默认关闭,需在配置文件中手动启用。
release
Ollama Chat 1.1.1
1.1.130 июн. 2025 г.50Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7paper, purpur
Что нового
# Version 1.1.1
## Changes in this Update:
---
#### Architectural Optimization 🧱
- **Modular Refactoring**:
- Codebase restructured into three functional modules:
- `chat` package: Core handlers (`ChatTriggerHandler`) + **new Suggested Response Processor** (`SuggestedResponseHandler`)
- `command` package: Centralized AI command implementations (`AIChatCommand`/`OllamaChatCommand`) with tab completion
- `core` package: Main class (`Ollamachat`) and configuration manager (`ConfigManager`)
#### New Features ✨
- **Smart Response Suggestions**:
- Added `SuggestedResponseHandler` for multi-model collaboration
- Generates **3 clickable follow-up questions** after each AI response
- Configurable via YAML:
```yaml
suggested-responses-enabled: true
suggested-response-models:
- llama3
```
#### Localization & Configuration 🌐
- **Language File Updates**:
- New entries for response suggestions:
```json
"suggested-responses-header": "§a[OllamaChat] Suggested Responses:",
"suggested-response-prefix": "§7[Click to Reply] §f"
```
---
**Important Notes:**
1. ⚠️ **Configuration Changes**:
- New `suggested-responses` config section added
- Recommended to backup old config before updating
2. 🔄 Delete `lang` directory 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条**可点击的后续提问建议**
- 支持通过配置文件启用/禁用:
```yaml
suggested-responses-enabled: true
suggested-response-models:
- llama3
```
#### 配置与本地化 🌐
- **语言文件更新**:
- 新增候选回复相关词条:
```json
"suggested-responses-header": "§a[OllamaChat] 推荐回复:",
"suggested-response-prefix": "§7[点击回复] §f"
```
---
**注意事项:**
1. ⚠️ 本次更新涉及**配置文件结构变更**:
- 新增`suggested-responses`配置组
- 建议备份旧配置后重新生成
2. 🔄 语言文件需删除`lang`目录让插件**重新生成**
3. 💡 候选回复功能默认关闭,需在配置中手动启用
---
release
Ollama Chat 1.1.0
1.1.025 мая 2025 г.78Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6bukkit, paper, purpur, spigot
Что нового
# 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 `/ollamachat` subcommands 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 下的所有对话。 |
### 注意事项:
- 升级前请备份配置文件!
- 必须删除语言文件以让插件按新格式重新生成。
- 若从历史版本升级后出现错误,请备份当前配置,删除插件配置文件夹,让插件重新生成所有文件。
release
Ollama Chat 1.0.3-hotfix
1.0.3-hotfix6 мая 2025 г.52Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Что нового
fix: correct OpenAI API request format again
beta
Ollama Chat 1.0.3
1.0.36 мая 2025 г.38Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5bukkit, paper, purpur, spigot
Что нового
## 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:** Updated `Ollamachat` to 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 the `lang` files so that the plugin can regenerate them.
---
## 版本 1.0.3
**本次更新的主要变更:**
- **功能:** 新增了生成提示答案时的状态显示条,显示开始时 0%,完成时 100%。
- **功能:** 实现了流式传输功能的测试(注:受 Minecraft 原生限制,此功能几乎无实际表现)。
- **改进:** 更新了 `Ollamachat`,仅对流式传输的首条消息应用响应前缀,以获得更简洁的输出。
**注意事项:**
- 请提前备份好配置文件!本次更新仍需重新生成配置。
- 本次更新需删除 `lang` 文件以让插件重新生成新的语言文件。
release
Ollama Chat 1.0.2
1.0.26 мар. 2025 г.66Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, purpur, spigot
Что нового
## Version 1.0.2
**Changes in this Update:**
- **Fix:** Resolved an issue with incorrect OpenAI API request formatting that caused request failures.
- **Feature:** Merged the `feature-chat-history-save-call` branch, 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 the `lang` files 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,我们将尽快修复相关问题。
beta
Ollama Chat 1.0.2-rc2
1.0.2-rc226 февр. 2025 г.43Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4bukkit, paper, purpur, spigot
Что нового
## Version 1.0.2-rc2
**Changes in this Update:**
- Added multi-language support for command usage text in `plugin.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 the `lang` files 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.
release
Ollama Chat 1.0.1
1.0.112 февр. 2025 г.58Minecraft: 1.21.1bukkit, paper, purpur, spigot
Что нового
Version 1.0.1
**New Features:**
- Added multi-language support, including the `lang` directory with `en.lang` (English) and `zh_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 update `config.yml` when 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.
release
ollama chat 1.0
1.04 февр. 2025 г.75Minecraft: 1.21.1bukkit, paper, purpur, spigot
Что нового
- Added support for real-time interaction with Ollama.
- Added `/ollamareload` command to reload plugin configurations.