HoloInfo (虚拟信息-[显示玩家信息的虚拟显示])
基本上,这个插件会在玩家蹲下时向其显示一个信息的虚拟显示。当玩家停止蹲下时,虚拟显示会消失。它是一个非常简单且轻量级的插件,但在大厅等地方可能会有用。
功能:
- 多世界支持
- PlaceholderAPI支持
- WorldGuard支持
- 命令来为每个玩家启用和禁用虚拟显示
- 兼容1.8+版本
- 与Spigot/CraftBukkit兼容
配置:
首先,您需要在服务器上安装HolographicDisplays插件:[HolographicDisplays下载链接](
接下来是配置文件样例:
Config:
distance_vector: 3.85
show_hologram_when_flying: true
enabled_worlds:
- world
- world_nether
- world_the_end
worldguard_regions:
enabled: false
enabled_regions:
- spawn
hologram_info:
- "&a>"
- ""
- "&eWelcome %player%"
- "&7Follow us on Twitter:&b@MyServer"
- "&7Follow us on Facebook:&9facebook.com/MyServer"
- "&7If you like the server please Support:"
- "&6myserver.buycraft.net"
- ""
- "&a>"
Messages:
prefix: "&5[&dHoloInfo&5]"
noPermissions: "&cYou don't have permissions to use that command."
reloadCommand: "&aConfig Reloaded."
commandDoesNotExists: "&cThat command doesn't exists."
hologramAlreadyDisabled: "&cYour information hologram is already disabled."
hologramDisabled: "&aYour information hologram is now disabled."
hologramAlreadyEnabled: "&cYour information hologram is already enabled."
hologramEnabled: "&aYour information hologram is now enabled."
helpCommandAdmin:
- "&5[&dHoloInfo&5]"
- "&c/hi help &7Shows this message."
- "&c/hi reload &7Reloads the Config."
- "&c/hi enable &7Enables the Hologram when sneaking."
- "&c/hi disable &7Disables the Hologram when sneaking."
- "&5[&dHoloInfo&5]"
helpCommandUser:
- "&5[&dHoloInfo&5]"
- "&c/hi enable &7Enables the Hologram when sneaking."
- "&c/hi disable &7Disables the Hologram when sneaking."
- "&5[&dHoloInfo&5]"
您可以通过更改distance_vector来设置虚拟显示的距离。在hologram_info消息中,您可以使用PlaceholderAPI的变量。如果将show_hologram_when_flying设置为false,玩家在飞行时将不会看到虚拟显示。您可以使用worldguard_regions选项设置虚拟显示将出现的WorldGuard区域,并将它们添加到列表中。记住,您需要在服务器上安装WorldGuard插件:[WorldGuard下载链接](
命令:
- /hi reload - 权限:holoinfo.admin
- /hi help - 权限:holoinfo.admin
- /hi enable - 启用蹲下时的虚拟显示 - 权限:holoinfo.enable
- /hi disable - 禁用蹲下时的虚拟显示 - 权限:holoinfo.disable
屏幕截图:
暂无
希望您喜欢这个插件,如果您有任何想法,欢迎提出!
.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;}
收录

![HoloInfo (虚拟信息-[显示玩家信息的虚拟显示])第1张-SODA HoloInfo (虚拟信息-[显示玩家信息的虚拟显示])](https://i.sodamc.com/spigotres/ZgBKMEKVM8.jpg)

