LunaticChat
一款面向 Paper、Folia 和 Velocity 的下一代聊天插件。
支持 Minecraft 26.3 | 需要 Java 25+ 和 Gradle 9+
功能
- 频道聊天:为特定玩家创建和管理群组聊天的频道。包括私人频道和管理功能。
- 私聊:通过
/tell 或 /msg 命令发送 1 对 1 聊天。使用 /reply 快速回复最后发送消息的玩家。
- 罗马音转换:自动将罗马音输入转换为日语。基于缓存的高速性能。
- Velocity 跨服聊天:通过 Velocity 代理在多个服务器间中继全局聊天。从任何服务器加入对话。
- 灵活配置:通过基于 YAML 的配置文件开启或关闭各项功能。自定义以适应你的服务器需求。
- 最新版本支持:极少的插件外部依赖,始终支持最新的 Minecraft 版本。
安装
[!WARNING]
LunaticChat 仅支持 Paper / Folia 服务器。不支持 Spigot 和 BungeeCord,且未来也没有计划支持它们。对于 Spigot 环境,建议使用 LunaChat 的分叉版本。
要求
| 项目 |
要求 |
| Minecraft |
26.3 或更高版本 |
| Java |
25 或更高版本 |
| 服务器 |
Paper, Folia, 或 Velocity |
下载
从以下任一来源获取插件 JAR:
Paper 和 Folia 使用 LunaticChat-<version>.jar;Velocity 代理使用 LunaticChat-<version>-velocity.jar。两者版本独立发布。
Paper / Folia
- 将
LunaticChat-<version>.jar 放入服务器的 plugins/ 目录
- 启动(或重启)服务器
plugins/LunaticChat/config.yml 会自动生成
- 根据需要调整配置并重启服务器
Velocity
- 将
LunaticChat-<version>-velocity.jar 放入 Velocity 的 plugins/ 目录
- 启动(或重启)代理
- 在每个后端服务器的
config.yml 中将 features.velocityIntegration.enabled 设置为 true
- 重启后端服务器,然后通过
/lcv status 检查连接——握手仅在玩家加入时发送一次,因此空服务器会报告 DISCONNECTED
更多详情,请参阅入门指南。
配置
服务器级设置位于 plugins/LunaticChat/config.yml 中,首次启动时自动生成。大多数功能默认处于禁用状态,请启用你需要的功能:
language: "en" # 插件语言 (en / ja)
features:
quickReplies:
enabled: true # /reply 命令
japaneseConversion:
enabled: false # 罗马音转日语
channelChat:
enabled: false # 频道聊天
velocityIntegration:
enabled: false # Velocity 代理集成
没有重载命令 —— 重启服务器以应用更改。
聊天输出可通过 messageFormat 进行自定义,支持如 {sender}、{message}、{channel} 和 {server} 等占位符:
messageFormat:
channelMessageFormat: "§7[§b#{channel}§7] §e{sender}: §f{message}"
玩家通过 /lc settings 控制自己的偏好设置(私聊通知、频道通知和罗马音转换)。这些设置按 UUID 存储在 player-settings.yaml 中。
每个键、其类型及默认值均列于配置参考。另请参阅玩家设置参考和默认 config.yml。
Velocity 集成
LunaticChat 可以通过 Velocity 代理在后端的多个 Paper / Folia 服务器之间中继全局聊天,并可选择跨服务器传递私聊。请在 Velocity 代理和每个后端服务器上安装该插件。
Paper–Velocity 兼容性仅由内部协议版本决定,与插件版本无关。协议版本不兼容的构建将无法中继聊天,因此请保持两端同步更新。
有关支持的组合和设置详情,请参阅Paper / Velocity 兼容性和Velocity 集成。
从源码构建
git clone git@github.com:m1sk9/LunaticChat.git
cd LunaticChat
./gradlew shadowJar
JAR 文件将写入 platform-paper/build/libs/ 和 platform-velocity/build/libs/。开发工作流请参阅 CONTRIBUTING,设计概览请参阅开发者指南。
许可证
LunaticChat 根据 GNU General Public License v3.0 发布。
® 2026 m1sk9
LunaticChat 与 Mojang Studios 或 Microsoft 无关。
LunaticChat
A next-generation chat plugin for Paper, Folia and Velocity.
Supports Minecraft 26.3 | Requires Java 25+ and Gradle 9+
Features
- Channel Chat: Create and manage channels for group conversations between specific players. Includes private channels and moderation features.
- Direct Messages: Send 1-on-1 chats with
/tell or /msg commands. Quickly reply to the last sender with /reply.
- Romaji Conversion: Automatically convert romaji input into Japanese. Fast performance powered by caching.
- Velocity Cross-Server Chat: Relay global chat across multiple servers via a Velocity proxy. Join conversations from any server.
- Flexible Configuration: Toggle features on/off with a YAML-based config file. Customize to fit your server's needs.
- Latest Version Support: Minimal external plugin dependencies, always supporting the latest Minecraft versions.
Installation
[!WARNING]
LunaticChat only supports Paper / Folia servers. Spigot and BungeeCord are not supported, and there are no plans to support them in the future. For Spigot environments, we recommend using a fork of LunaChat.
Requirements
| Item |
Requirement |
| Minecraft |
26.3 or later |
| Java |
25 or later |
| Server |
Paper, Folia, or Velocity |
Download
Grab the plugin JAR from either of the following:
Paper and Folia use LunaticChat-<version>.jar; Velocity proxies use LunaticChat-<version>-velocity.jar. The two are versioned independently.
Paper / Folia
- Place
LunaticChat-<version>.jar into the server's plugins/ directory
- Start (or restart) the server
plugins/LunaticChat/config.yml is generated automatically
- Adjust the configuration as needed and restart the server
Velocity
- Place
LunaticChat-<version>-velocity.jar into the Velocity plugins/ directory
- Start (or restart) the proxy
- Set
features.velocityIntegration.enabled to true in the config.yml of every backend server
- Restart the backend servers, then check the connection with
/lcv status — the handshake is sent once a player joins, so an empty server reports DISCONNECTED
For more detail, see Getting Started.
Configuration
Server-wide settings live in plugins/LunaticChat/config.yml, generated on first startup. Most features are disabled by default, so enable the ones you want:
language: "en" # Plugin language (en / ja)
features:
quickReplies:
enabled: true # /reply command
japaneseConversion:
enabled: false # Romaji to Japanese conversion
channelChat:
enabled: false # Channel chat
velocityIntegration:
enabled: false # Velocity proxy integration
There is no reload command — restart the server to apply a change.
Chat output is customizable through messageFormat with placeholders such as {sender}, {message}, {channel} and {server}:
messageFormat:
channelMessageFormat: "§7[§b#{channel}§7] §e{sender}: §f{message}"
Players control their own preferences with /lc settings (direct message notifications, channel notifications, and romaji conversion). These are stored per UUID in player-settings.yaml.
Every key, its type, and its default are listed in the Configuration reference. See also the Player Settings reference and the default config.yml.
Velocity Integration
LunaticChat can relay global chat across multiple Paper / Folia servers behind a Velocity proxy, and optionally deliver direct messages across servers. Install the plugin on both the Velocity proxy and each backend server.
Paper–Velocity compatibility is determined solely by an internal protocol version, not by the plugin version. Builds with incompatible protocol versions will refuse to relay chat, so keep both sides updated together.
For supported combinations and setup details, see Paper / Velocity Compatibility and Velocity Integration.
Building from Source
git clone git@github.com:m1sk9/LunaticChat.git
cd LunaticChat
./gradlew shadowJar
The JARs are written to platform-paper/build/libs/ and platform-velocity/build/libs/. See CONTRIBUTING for the development workflow, and the Developer Guide for the design overview.
License
LunaticChat is published under GNU General Public License v3.0.
® 2026 m1sk9
LunaticChat is not affiliated with Mojang Studios or Microsoft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧