该项目灵感来源于 Spigot 的 Holographic Displays 插件,但我需要一个更轻量的版本,因此诞生了这个插件!如果你想要更多功能,我强烈建议你去看看 Holographic Displays,它是一款非常出色的插件!
请下载最新版本!!旧版本可能不稳定或不安全!
使用方法:
首先,将最新发行版中的 .jar 文件拖入你的 PaperMC Minecraft 服务器目录,然后重启服务器即可!
命令列表如下:
/holo <操作>
共有五种操作:create、edittext、movehere、delete、addline 和 list。
输入操作后,根据你所选的操作,还需执行若干后续步骤。
对于 create,你只需在全息显示中键入文本即可。通常这必须以 MiniMessage 格式 编写,但你可以在末尾添加 --nominimessage 来使用旧版代码(如 &c、&7 等)。
对于 edittext,你必须先输入目标全息显示的 ID。可以通过执行 list 命令来获取该 ID。随后,在 ID 之后填入你想要替换的文本,其格式需与 create 保持一致。
对于 movehere,你只需输入要移动的全息显示的 ID,该 ID 同样可通过 list 命令获取。
addLine 仅向选定的全息图添加新行。为简化操作,此命令实际上是在现有全息图下方创建一个包含指定文本的新全息图。此方法的一个问题是:当服务器重启后,你必须向链条中最底部的行添加内容,否则顶部的行将会重叠。若要删除某一行,只需删除对应的全息图即可。它将在 holo list 命令的输出中显示。
最后,使用 delete 命令时,你同样只需输入全息图的 ID,该 ID 可通过 list 命令再次查看。
现在,你已成为 LightweightHolograms 的使用高手!玩得开心!
(未来可能会添加更多功能)
This project was inspired by the Holographic Displays plugin for spigot, but I needed one that was more lightweight, so this plugin was born! If you'd like more features, I'd definately reccomend checking out Holographic Displays, it's an amazing plugin!
Please download the latest version!! Older versions may be unstable or insecure!
How to use:
To begin, simple drag the .jar file from the latest release into your PaperMC Minecraft server, then restart it!
The command list is this:
/holo <operation>
There are five operations, create, edittext, movehere, delete, addline, and list.
After you enter the operation, there are a few more steps depending on the operation you selected.
For create, all you need to do is type the text in the hologram. Normally, this must be done in MiniMessage format, but you can use --nominimessage at the end to use legacy codes (&c, &7, etc)
For edittext, you must first enter the id of the hologram. You can find this by running the list operation. After the id, you put the text you want to replace it with, following the same format as create.
For movehere, you only need to enter the id of the hologram you wish to move, which can be found with the list operation.
addLine just adds a new line to the selected hologram. For simplicity's sake, all this does is create a new hologram underneath the existing one with the given text. One quirk with this is that when the server is restarted, you have to add lines to the bottom line in the chain, the top one will overlap. To delete a line, just delete the hologram. It will show up in the holo list operation.
Finally, delete, you also only need to enter the id of the hologram, which, once again, can be found with list.
Now you're a pro at LightweightHolograms! Have fun!
(More features may be added in the future)
评论 0
登录后参与评分
还没有评论,来抢沙发吧