EmotesChat

插件

· 作者 Zhamty

在聊天中添加表情

0 本站下载 0 关注 更新于 4 个月前

最新 2.0 · 26.2 · BungeeCord / Paper

一键开服(送7天)

什么是 EmotesChat

EmotesChat 是一款允许玩家在聊天中发送表情动作的插件。兼容 PlaceholderAPI 与 MiniMessage

示例

Example

命令与权限

命令 描述 权限
/emoteschat EmotesChat 主命令 emoteschat.reload
/emotes 列出可用的表情动作 无
Bungee 配置
config:
  # 允许在这些命令中使用表情动作(你也可以使用 emoteschat.emotesoncommand.<command> 权限)
  allow-on-commands:
    - "/message"
    - "/msg"
    - "/w"
    - "/whisper"
    - "/tell"
    - "/reply"
    - "/r"
  # 在命令中去除颜色标签 `§ca` -> `a`。默认值:false
  strip-color-on-commands: false
  emotes:
    # 这是一个示例表情动作。节名称即为该表情动作的 ID。
    happy:
      # 将被表情动作替换的文本。
      code: ':happy:'
      # 将替换代码的文本(兼容旧版颜色格式)。
      emote: '☺'
      # 玩家使用该表情动作所需的权限(留空表示所有人都可使用)。
      permission: 'emoteschat.emote.happy'
    heart:
      code: ':heart:'
      emote: '§c♡§r' # 记得闭合颜色标签,因为它们会影响消息的其余部分。
      permission: ''

messages:
  emotes-list-header: '§b§l你的表情动作:'
  emotes-list-no-emotes: '§8没有表情动作。'
  emotes-list-emote-identifier: '%EMOTECODE% §e- §r%EMOTE%'

Paper 配置
config:
  # 允许在这些命令中使用表情动作(你也可以使用 emoteschat.emotesoncommand.<command> 权限)
  allow-on-commands:
  - "/message"
  - "/msg"
  - "/w"
  - "/whisper"
  - "/tell"
  - "/reply"
  - "/r"
  # 在命令中去除 MiniMessage 标签 `<red>a` -> `a`。默认值:false
  strip-mm-on-commands: false
  emotes:
    # 这是一个示例表情动作。节名称即为该表情动作的 ID。
    happy:
      # 将被表情动作替换的文本。
      code: ':happy:'
      # 将替换代码的文本(兼容 PlaceHolderAPI 与 MiniMessage)。
      emote: '☺'
      # 玩家使用该表情动作所需的权限(留空表示所有人都可使用)。
      permission: 'emoteschat.emote.happy'
    heart:
      code: ':heart:'
      emote: '<red>♡</red>' # 记得闭合 MiniMessage 标签,因为它们会影响消息的其余部分。
      permission: ''

messages:
  emotes-list-header: '<aqua><bold>你的表情动作:'
  emotes-list-no-emotes: '<dark_gray>没有表情动作。'
  emotes-list-emote-identifier: '%EMOTECODE% <yellow>-</yellow> %EMOTE%'

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源