Carbon 是一款基于频道的现代聊天插件,几乎所有设置和格式均可自定义。
需要 Java 21 或更高版本。
功能
- 使用 MiniMessage 进行消息格式化,支持 RGB 颜色、点击事件、悬停提示以及 JSON 聊天支持的所有其他功能。
- 聊天频道,包含加入/离开命令、按半径/世界划分的特定频道等更多功能
- 清空聊天内容
- 通过 Redis、NATS 或 RabbitMQ 实现跨服务器聊天
- 屏蔽和忽略其他玩家
- 物品链接使用
<item>,装备使用如<hat>和<feet>这样的占位符 - 基础队伍系统及队伍聊天
- 支持 EssentialsXDiscord 和 DiscordSRV
@用户名提及带有高亮和声音提示- 快速聊天,支持可自定义的前缀和命令
- 为 mcMMO、FactionsUUID 和 Towny 提供自定义频道
- 多语言支持。自动检测玩家的语言环境,并在可用时使用其语言的翻译文本。
Carbon 在所有平台上都需要 LuckPerms。
示例频道配置
# 频道的键,用于追踪频道。
# 你只需要更改键的第二部分。默认为 "global"。
# 该值是在命令中使用的,这大概是你想要更改的部分。
key="carbon:global"
# 此频道的聊天格式。
format {
# 基本聊天格式。
# "default_format" 格式是你主要想要编辑的格式。
# "console" 格式是显示在控制台上的内容。
# "discord" 格式是显示在支持的 Discord 集成中的内容。
# 键是群组名称,值是聊天格式(MiniMessage)。
basic {
"default_format"="<display_name>: <message>"
discord="<message>"
console="[<channel>] <username>: <message>"
}
# 按语言划分的聊天格式。
locales {
"en_US" {}
}
}
# 如果消息以此前缀开头,则将在该频道中发送。(留空以禁用此频道的快速前缀)
quick-prefix=""
should-register-commands=true
command-aliases=[]
# 玩家必须处于多大距离内才能看到彼此的聊天消息。
# '0' 的值要求两名玩家位于同一个世界中。
# 在 Velocity 中,'0' 要求两名玩家位于同一个服务器上。
radius=-1
# 如果为 true,当玩家因超出半径范围而无法向任何人发送消息时,他们将能够看到这一点。
empty-radius-recipients-message=true
cooldowns {}
cooldown=-1
依赖信息
发布版和测试版已发布至 Maven CentralMaven
<dependency>
<groupId>de.hexaoxi</groupId>
<artifactId>carbonchat-api</artifactId>
<version>3.0.0-beta.28</version>
<scope>provided</scope>
</dependency>
Gradle
repositories {
mavenCentral()
}
dependencies {
compileOnly("de.hexaoxi:carbonchat-api:3.0.0-beta.28")
}
Javadocs
Carbon is a modern chat plugin built on channels, with just about every single setting and format configurable.
Java 21+ is required.
Features
- Message formatting with MiniMessage, which includes support for RGB, clicks, hovers, and everything else JSON chat supports.
- Chat channels, with join/leave commands, radius/world-specific channels, and more
- Chat clearing
- Cross server chat with Redis, NATS, or RabbitMQ.
- Mute and ignore other players
- Item linking with
<item>and armor with placeholders like<hat>and<feet> - Basic party system and party chat
- EssentialsXDiscord and DiscordSRV support
@Usernamepings with highlights and sounds- Quick chat with configurable prefix and command
- Custom channels for mcMMO, FactionsUUID, and Towny
- Multi-language support. Automatically detects player locale and uses translations for their language if available.
Carbon requires LuckPerms on all platforms.
Example Channel Config
# The channel's key, used to track the channel.
# You only need to change the second part of the key. "global" by default.
# The value is what's used in commands, this is probably what you want to change.
key="carbon:global"
# The chat formats for this channel.
format {
# Basic chat formats.
# The "default_format" format is the main one you want to edit.
# The "console" format is what's shown to console.
# The "discord" format is what's shown to supported discord integrations.
# The keys are group names, the values are chat formats (MiniMessage).
basic {
"default_format"="<display_name>: <message>"
discord="<message>"
console="[<channel>] <username>: <message>"
}
# Per-Language chat formats.
locales {
"en_US" {}
}
}
# Messages will be sent in this channel if they start with this prefix. (Leave empty/blank to disable quick prefix for this channel)
quick-prefix=""
should-register-commands=true
command-aliases=[]
# The distance players must be within to see each other's messages.
# A value of '0' requires that both players are in the same world.
# On velocity, '0' requires that both players are in the same server.
radius=-1
# If true, players will be able to see if they're not sending messages to anyone
# because they're out of range from the radius.
empty-radius-recipients-message=true
cooldowns {}
cooldown=-1
Dependency Information
Releases and betas are published to Maven CentralMaven
<dependency>
<groupId>de.hexaoxi</groupId>
<artifactId>carbonchat-api</artifactId>
<version>3.0.0-beta.28</version>
<scope>provided</scope>
</dependency>
Gradle
repositories {
mavenCentral()
}
dependencies {
compileOnly("de.hexaoxi:carbonchat-api:3.0.0-beta.28")
}
Javadocs
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Carbon Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
:hammer: 构建版本
- 使用 Java 25 工具链,目标版本为 21 - c31bf40
提交记录
- bf99fc0: 恢复至 3.0.0-SNAPSHOT(Jason Penilla)
- 190a2f6: 更新 Fabric 以适配 Minecraft 26.1.2(Jason Penilla)
- 55c3a17: 在 Paper 26.3 上运行冒烟测试(Jason Penilla)
- 0ba3864: 标记 Fabric 构建版本兼容 26.2 和 26.3(Jason Penilla)
- 6cee222: 3.0.0-beta.39(Jason Penilla)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧