游戏内截图
Fancy Tags
一种完全无需资源包的解决方案,用于实现具有纹理的用户界面元素,例如排名标签和前缀,以及按钮和显示组件。Fancy Tags 是一款全能的标签管理插件,可为您生成并跟踪图像组件。
支持 PlaceholderAPI、MiniPlaceholders 以及开发者 API,任何服务器管理员都可以轻松使用此插件。

功能
命令
根命令为 /fancytags,但 /tags 作为更短的别名也存在。
所有命令均使用相同的权限 fancytags.command。
以下是所有子命令的列表。
| 语法 | 功能 |
|---|---|
| generate <name> [file|url] <path> | 远程或本地生成并导入一个 n*8 x 8 的图像作为标签。 |
| list | 列出所有已注册的标签。 |
| view <name> | 查看标签的信息和操作。 |
| delete <name> | 删除标签。 |
| rename <oldname> <newname> | 重命名标签。 |
| reload | 重新加载插件及其配置文件。 |
用法
该插件支持 PlaceholderAPI,标签可通过占位符 %tags_<name>% 访问(例如 %tags_admin% 或 %tags_youtube%)。同时也支持 MiniPlaceholders,可通过占位符 <fancytags_tag:<name>> 访问(例如 <fancytags_tag:admin> 或 <fancytags_tag:youtube>)
⚠️ 免责声明
MiniMessage 目前不支持这类头部组件,因此在使用 PlaceholderAPI 时完全无法工作。这不是 bug。当 MiniMessage 添加对此的支持后将会修复。MiniPlaceholders 可以正常工作!
配置
完整配置
# 标签仅在客户端缓存 5 分钟(从渲染开始计算),
# 这意味着为了获得无缝体验且没有视觉上的“皮肤加载”延迟,
# 需要定期向玩家发送所有标签。
# 这是通过在加入时发送一个推至屏幕外的标题,并持续按计时器发送来实现的。
cacheSettings:
# 是否应发送缓存更新。
enabled: true
# 是否在玩家加入时向其发送缓存更新。
onJoin: true
# 是否应继续向玩家发送缓存更新。
onTimer: true
# 计时器运行的频率,以秒为单位。
intervalDuration: 300
# 用于将标签推离屏幕所需的间距比例
# 每个“间距”由 2 个空格组成,其宽度与玩家头部组件相同,
# 该比例表示每个玩家头部对应的间距数量。
# 如果标签在屏幕上可见,请考虑提高此数值。
# (这主要是因为标题功能尚未在更大的屏幕尺寸上进行测试,
# 这一点很可能会有所变化)
offScreenRatio: 2.5
# MineSkin API (mineskin.org) 的设置。
# MineSkin 用于生成皮肤签名。
mineSkinSettings:
# 您项目的 MineSkin API 密钥。
# 如果您还没有,请在 https://account.mineskin.org/keys/ 创建账户并获取。
apiKey: ""
# 生成皮肤的可见性。
# PUBLIC - 将在 MineSkin 网站上公开显示
# UNLISTED - 仅可通过链接访问
# PRIVATE - 除账户所有者外任何人不可访问。注意:此选项仅限付费计划使用。
visibility: UNLISTED
# 如果您在 MineSkin 上有付费计划以获得更快的生成速度,
# 您可以在下方设置更高的限制。
# 如果您没有付费计划,可以忽略此项
# 如果您不知道填什么,请将模式保留为 AUTO,它会自动处理
limits:
# 要使用的限制模式。可以是 AUTO 以自动获取允许值,或 CUSTOM 以使用您自己的值。
mode: AUTO
# 每次请求之间的毫秒数。
# 当模式设置为 AUTO 时,此值将被忽略
intervalMillis: 200
# 同时处理的请求数量。
# 当模式设置为 AUTO 时,此值将被忽略
concurrency: 1
展示
标签可以做很多事情,以下是一些我自己制作的示例。
按钮
这是本插件自身使用的菜单,利用以按钮形式呈现的标签。
彩色标签
通过对灰度标签进行着色,相同的纹理可以用于更多的自定义。这里它们用于显示玩家所属的队伍。
高且圆角
可以实现高度为 9 像素且带有 2 个圆角的标签。在此示例中,通过故意使标签缺少底部和右侧,然后应用完全不透明的黑色阴影来实现。这在前后对比图中有所展示(图 1 和图 2)。
Screenshot from ingame
Fancy Tags
A fully resource pack free solution for textured UI elements, such as rank tags and prefixes but also buttons and displays. Fancy Tags is an all in one tag management plugin that generates and keeps track of image components for you.
With support for PlaceholderAPI, MiniPlaceholders and a developer API, this plugin can be used easily by any server admin.

Features
Commands
The root command is /fancytags but /tags exist as a shorter alias.
All commands use the same permission fancytags.command.
Below is a list of all sub-commands.
| Syntax | Function |
|---|---|
| generate <name> [file|url] <path> | Generates and imports a n*8 x 8 image remotely or locally as a tag. |
| list | List all registered tags. |
| view <name> | View information and actions for a tag. |
| delete <name> | Delete a tag. |
| rename <oldname> <newname> | Rename a tag. |
| reload | Reloads the plugin, and it's configs. |
Usage
The plugin offers support for PlaceholderAPI, and the tags can be accessed via the placeholder %tags_<name>% (ex. %tags_admin% or %tags_youtube%). There is also support for MiniPlaceholders and can be accessed via the placeholder <fancytags_tag:<name>> (ex. <fancytags_tag:admin> or <fancytags_tag:youtube>)
⚠️ DISCLAIMER
MiniMessage currently does not support these kind of head components, and thus don't work at all right now when using PlaceholderAPI. This is not a bug. This will be fixed when MiniMessage adds support. MiniPlaceholders does work!
Config
Full config
# The tags are only cached on the client for 5 minutes after rendering,
# which means to have a seamless experience with no visual "skin loading"
# the players have to be sent all the tags regularly.
# This is done by sending a title pushed off-screen on join, and continuously on a timer.
cacheSettings:
# Whether cache updates should be sent.
enabled: true
# Whether players should be sent cache updates on join.
onJoin: true
# Whether players should continue being sent cache updates.
onTimer: true
# How frequent the timer runs, in seconds.
intervalDuration: 300
# The ratio of how much spacing is needed to push the tags off-screen in the title
# Each "spacing" consists of 2 spaces, which is as wide as a player head component,
# and the ratio is how many spacings per player head.
# If the tags are visible on-screen, consider raising this number.
# (This is mostly because the title feature has not been tested on larger screen sizes,
# this is very likely subject to change)
offScreenRatio: 2.5
# Settings for the MineSkin API (mineskin.org).
# MineSkin is used for the skin signature generation.
mineSkinSettings:
# Your project's MineSkin API key.
# If you don't have one already, create an account and get one at https://account.mineskin.org/keys/
apiKey: ""
# The visibility of the generated skin.
# PUBLIC - Will be publicly shown on the MineSkin website
# UNLISTED - Can only be accessed via the link
# PRIVATE - Not accessible by anyone besides the account owner. NOTE: This option is locked to paid plans only.
visibility: UNLISTED
# If you have a paid plan on MineSkin for faster generation,
# you can put your higher limits below.
# If you don't have a paid plan, this can be ignored
# If you however don't know what to put, leave the mode at AUTO and it will sort itself out
limits:
# The mode for what limits to use. Can be AUTO for automatic allowance retrieving, or CUSTOM to use your own values.
mode: AUTO
# How many milliseconds between each request.
# This value is ignored when mode is set to AUTO
intervalMillis: 200
# How many requests to handle concurrently.
# This value is ignored when mode is set to AUTO
concurrency: 1
Showcase
There are so many things you can do with tags, and these are only a handful that I've done myself.
Buttons
This is a menu used in this plugin itself, which utilizes tags in the form of buttons.
Colored tags
By coloring grayscale tags, the same texture can be reused for more customization. Here they are used for showing what team a player might be on.
Tall and rounded
It is possible to achieve 9 pixel tall tags that come with 2 rounded corners. In this example, it was done by deliberately making the tag missing the bottom and right side, and then apply a full opacity black shadow. This is shown in the before and after images (image 1 and image 2).
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fancy Tags
下载 Fancy Tags
下载 Fancy Tags
修复了一个导致大量功能失效的关键错误
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧