DisplayEntities 是一款实用插件,提供了用于操作服务端显示实体(Display Entities)、交互实体(Interaction Entities)和木偶(NPCs)的命令。支持 PlaceholderAPI 和 MiniMessage。
那么,什么是 显示实体?
显示实体是轻量级的类全息图实体,于 1.19.4 版本加入。它们能够显示文本、物品和方块,可作为盔甲架的替代品。您可以在此处阅读更多相关信息 这里。
该插件如何工作?
由该插件创建的每个实体将在世界中 物理存在,直到被手动移除。可以通过插件提供的命令或内置的原版命令进行移除。
由于所有实体均为服务端实体,您可以使用外部工具(如 Axiom)自由移动或缩放它们。
为什么它是一款 实用 插件?
除了配置文件以及附加到它所交互的每个实体的 PDC(持久数据容器)中的必要数据外,插件本身不存储任何其他内容。它在服务器上留下的痕迹极小。
为了让插件更具实用性,它支持 MiniMessage 格式,并提供基于数据包层面的 PlaceholderAPI 钩子。这应该使其与您已经熟悉的其他全息图插件一样有用。
功能特性
依赖要求
插件仅在 Paper(或 Folia)1.21.10 及更高版本上运行,需搭配 Java 21 或更高版本。
入门指南
插件文档可在此处找到:
grabsky.github.io
编译
# 克隆仓库。
$ git clone https://github.com/Grabsky/DisplayEntities.git
# 进入克隆的仓库目录。
$ cd ./DisplayEntities
# 编译并构建产物。
$ ./gradlew clean build
贡献
本项目欢迎贡献。非常感谢您对提升性能、添加新功能或修复 bug 方面的帮助。
DisplayEntities is an utility plugin adding commands for manipulation of server-side Display Entities, Interaction Entities and Mannequins (NPCs). Comes with PlaceholderAPI and MiniMessage support.
But what are Display Entities?
Display entities are lightweight hologram-like entities added in 1.19.4. They are capable of displaying text, items and blocks, and serve as an alternative to armor stands. You can read more here.
How does the plugin work?
Each entity created by the plugin will be physically kept in the world until manually removed. This can be done either by plugin-provided command or built-in, vanilla commands.
Since all entities are server-side, you can move / scale them freely with external tools such us Axiom.
How is that an utility plugin?
Plugin does not store anything on it's own except configuration file and necessary data attached to the PDC (Persistent Data Container) of each entity it interacts with. It leaves minimal footprint on the server.
To make the plugin a bit more useful, it comes with MiniMessage support and packet-level PlaceholderAPI hook. That should possibly make it as useful as any other holograms plugin you're already familiar with.
Features
-
Pure Simplicity
Based on existing Bukkit and Paper APIs with no NMS access involved.
-
Minimal Footprint
Basically a user-friendly wrapper around display entities. There's not much logic attached to it.
-
Compatibility
Entities created by the plugin are real entities that can be modified with commands and other plugins.
-
MiniMessage Support
Text display entities are capable of parsing MiniMessage formatting.
-
Folia Support
Designed to run on Paper and Folia servers. Folia Scheduler APIs are used when needed.
-
PlaceholderAPI Support
Placeholders inside text displays are parsed and displayed per-player.
(Requires PlaceholderAPI and PacketEvents)
Requirements
Plugin runs only on Paper (or Folia) 1.21.10 and above, powered by Java 21 or higher.
Getting Started
Plugin documentation can be found here:
grabsky.github.io
Compiling
# Cloning the repository.
$ git clone https://github.com/Grabsky/DisplayEntities.git
# Entering the cloned repository.
$ cd ./DisplayEntities
# Compiling and building artifacts.
$ ./gradlew clean build
Contributing
This project is open for contributions. Help in regards of improving performance, adding new features or fixing bugs is greatly appreciated.
评论 0
登录后参与评分
还没有评论,来抢沙发吧