Teh

插件

· 作者 MidnightTale

浮动伤害/治疗/经验指示器

0 本站下载 0 关注 更新于 1 年前

最新 1.3 · 26.1.2 · Folia / Paper

一键开服(送7天)

Teh - 浮动伤害/治疗/经验指示器

功能

  • 用于显示伤害、治疗、经验获取/损失的动画浮动文本
  • 通过 config.yml 完全自定义颜色、图标和消息
  • 支持 MiniMessage(真彩色、图标、高级格式)
  • 所有显示设置(半透明、背景、阴影、对齐方式、 billboard)均可配置
  • 经验损失指示器及独立的经验损失颜色
  • 仅向启用了该功能的玩家显示指示器(按玩家可见性)
  • PlaceholderAPI 支持:使用 %teh_enabled% 占位符表示玩家指示器状态

快速配置示例

indicator-colors:
  hp-lost: '#FF3B30'
  hp-gain: '#34C759'
  xp-gain: '#5EDE3E'
  xp-lost: '#FFAA00'
messages:
  damage:
    template: "<color:{indicator_color}>{icon} -{amount} {type}</color>"
    icons:
      ENTITY_ATTACK: "?"
  heal:
    template: "<color:{indicator_color}>✨ +{amount} {type}</color>"
  xp-gain:
    template: "<color:{indicator_color}>? +{amount} XP</color>"
  xp-lost:
    template: "<color:{indicator_color}>? -{amount} XP</color>"
display-settings:
  see-through: true
  background-color: '#00000080'
  shadowed: true
  alignment: center
  billboard: true

PlaceholderAPI

如果已安装 PlaceholderAPI,Teh 将注册以下占位符:

占位符 描述
%teh_enabled% 返回玩家的 Enabled 或 Disabled 状态(即该玩家是否启用了指示器)

使用示例:

  • 在聊天插件、计分板等中:%teh_enabled%

权限

  • teh.indicator.toggle — 使用 /toggleteh
  • teh.reload — 使用 /tehreload

命令

  • /toggleteh — 切换你的指示器可见性
  • /tehreload — 运行时重新加载所有配置

软依赖

  • PlaceholderAPI(用于占位符)

伤害 Replace this with a description

治疗 Replace this with a description

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源