猹の聊天框
配置文件
yml
############################
# 全局设置 #
############################
# 验证API
apiKey: "apiKey"
############################
# 系统设定 #
############################
# 聊天界面常驻
keep: true
# info界面中频道tab的数量
channel-length: 6
# 附近消息支持的范围
nearby: 10
# 频道聊天记录上限
message-max: 100
# 发送冷却(tick),防止刷屏
chat-cooldown: 20
# 玩家聊天格式,支持PAPI变量
chat-format: "&7[&f{world}&7]&7[&f%player_group%&7] &f{player}&7: &f{message}"
############################
# 频道设定 #
############################
# 自定义频道,其中【全部|世界|附近|组队】频道为系统内置功能
# 组队频道需要前置ChaTeam插件
channel:
# 自定义频道抓取条件
系统:
# 消息触发条件,目前支持【start(以tag内容开头)|contain(包含tag内容)】
condition: start
# 消息满足以下内容将被自动归档到系统频道
tag:
- "【系统】"
战斗:
condition: start
tag:
- "【战斗】"
奖励:
condition: contain
tag:
- "【奖励】"
############################
# 喇叭设定 #
############################
speaker:
# 节点名请勿更改,目前仅支持小喇叭和大喇叭
小喇叭:
# 道具名称模糊匹配
match: "小喇叭"
# 标题显示
display: "小喇叭"
# 字数限制
limit: 32
# 显示时间(tick)
duration: 60
# 喇叭条数上限,超出将替换掉旧的
length: 3
大喇叭:
match: "大喇叭"
display: "大喇叭"
limit: 64
duration: 100
length: 3
############################
# emoji设定 #
############################
emoji:
emoji1:
match: "#1#"
path: "local<->textures/misc/emoji/1.png"
emoji2:
match: "#2#"
path: "local<->textures/misc/emoji/2.png"语言文件
yml
speaker-empty: "§c你的喇叭未输入内容"
speaker-null: "§c你没有{speaker}"
speaker-not-found: "§c该喇叭不存在"
chat-frequency: "§c你发言过快,请稍后再试"
test-broadcast: "【广播】这是一条广播,当使用/chachat broadcast test-broadcast时会发送本条信息,支持使用PAPI变量如:%player_name%"
# 龙核界面变量
speaker-small: "【小喇叭】{sender}:{message}"
speaker-small-bg-y: "h*0.09+h*0.03*{index}+h*0.05"
speaker-small-label-y: "2 + h*0.09+h*0.03*{index} + h*0.05"
speaker-big: "【大喇叭】{sender}:{message}"
speaker-big-bg-y: "h*0.0+h*0.03*{index}+h*0.05"
speaker-big-label-y: "2 + h*0.0+h*0.03*{index} + h*0.05"
猹件开发组