此插件已不再由我(Tonus_)继续开发。为了让插件在没有更新的情况下继续运行,2.0.0 及以上版本不再包含插件所依赖的 API——NBT-API。NBT-API 现在是一个必需的依赖项,你可以在此处下载。所有 1.x.x 版本虽然包含此 API,但将无法在未来的 Minecraft 版本中工作。插件的源代码可在其 GitHub 仓库找到。
HatCosmetics 提供了一种简单的方法,可以将使用自定义模型数据的自定义资源包模型应用到你的服务器。所有提供的“帽子”都放置在一个可自定义的 GUI 中,玩家只要没有穿戴实际的盔甲并且拥有该帽子的权限,就可以装备它。除了提供获取自定义模型的便捷方式外,插件还包含确保帽子始终保持在玩家头上而非其他位置的功能。
插件主指令为 /hats,其别名为 /hatcosmetics。
/hats - 打开帽子选择 GUI。- 所需权限:`hatcosmetics.hat.<hat>`(用于访问特定帽子)。/hats help - 打开插件的指令列表。/hats equip <hat> [player] - 为指定玩家装备指定的帽子。- 所需权限:`hatcosmetics.equip.other`(用于为其他玩家装备)。/hats unequip [player] - 移除指定玩家已装备的帽子。- 所需权限:`hatcosmetics.unequip.other`(用于移除其他玩家的帽子)。/hats reload - 重载插件配置。- 所需权限:`hatcosmetics.reload`。# HatCosmetics 配置文件版本:3
# 为了你我的方便,请勿更改此版本号!
# 物品列表请参考 Spigot-API Materials:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# 所有帽子默认使用的物品:
item: FEATHER
# GUI 中帽子周围的边框物品:
border: LIGHT_BLUE_STAINED_GLASS_PANE
# GUI 中帽子的行数(必须在 1 到 4 之间)
# 此设置仅针对帽子本身,不包括边框和关闭菜单物品的两行
gui_rows: 1
hats:
# 在此处添加你的帽子
staffHat: # 用于 /hats equip 指令和权限的帽子名称
#item: DIAMOND_HOE # (可选)仅当此帽子使用与其他帽子不同的物品时设置
data: 1000101 # 在你的资源包中为此物品定义的自定义模型数据
name: "&fStaff Hat" # 物品上显示的名称
#description: # (可选)在“Hat Cosmetic”行下方添加描述文本
# - ""
# - "&bShow who's boss!"# HatCosmetics 消息文件版本:2
# 为了你我的方便,请勿更改此版本号!
# 可用占位符:
# {hat} - 返回已装备/已卸下帽子的名称
prefix: "&3&lHats"
suffix: " &3&l>> "
gui_title: "&b&lHats"
hat_equip: "&bClick to equip"
hat_unequip: "&bClick to unequip"
hat_not_exist: "&bThat hat does not exist!"
hat_success: "&bYou equipped {hat}&b successfully!"
hat_success_other: "&bThe player equipped {hat}&b successfully!"
hat_unequip_success: "&b{hat}&b has been unequipped!"
hat_unequip_success_other: "&bThat player's {hat}&b has been unequipped!"
helmet_exist: "&bSomething else is already on your head!"
helmet_exist_other: "&bThat player already has something on their head!"
no_hat: "&bYou don't have a hat equipped!"
no_hat_given: "&bYou must specify a hat to equip!"
no_hat_other: "&bThat player doesn't have a hat equipped!"
no_hat_permission: "&bYou do not have permission to equip {hat}&b."
no_hat_permission_other: "&bThat player does not have permission to equip {hat}&b."
no_permission: "&bYou do not have permission to do this."
not_online: "&bThat player is not currently online!"
plugin_reload: "&bPlugin has been reloaded!"我个人使用一款名为 BlockBench 的程序来制作模型。你可以查看他们的快速入门指南来开始学习。
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:2,670,113 | 历史访问人次:3,236,576
今日访问人数:15,505 | 今日访问人次:17,554
昨日访问人数:30,655 | 昨日访问人次:36,381
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6