CustomHealth (自定义生命值条-允许自定义生命值条的大小)
根据插件功能,CustomHealth允许玩家自定义生命值条的大小,支持Minecraft 1.7至1.17版本。安装简便,只需将CustomHealth.jar放入插件文件夹,并重启服务器或加载插件即可生效。
配置方法:
在config.yml文件中,可以设置默认的生命值条大小,例如将默认大小设置为2,即显示1颗心。
代码(文本):
Messages:
ErrorMsg: "&c[CHealth] : 出现了一些错误."
HelpMessages:
banner:
msg: "=== &e[&aCustomHealth 命令列表 (%version%)&e] &r==="
help:
msg: "&a\/chealth help : 显示帮助菜单."
reload:
msg: "&a\/chealth reload : 重新加载配置文件."
permission: "customhealth.reload"
debug:
msg: "&a\/chealth debug : 打开 \/ 关闭调试模式."
permission: "customhealth.debug"
EventPriorityMap:
PlayerJoinEvent: "MONITOR"
PlayerRespawnEvent: "MONITOR"
权限:
customhealth.reload
customhealth.debug
CustomHealth (自定义生命值条-允许自定义生命值条的大小)
可用版本为:|1.7|1.8|1.9|1.10|1.11|1.12|1.13|1.14|1.15|1.16|1.17
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录



