一款高级且强大的全息显示插件


功能特性
随着新型全息技术的发现(见下方视频),HoloAPI 旨在通过其强大的命令基础和 API,为您带来无缝的全息显示创建体验。
为您的 Bukkit 服务器提供先进的全息技术,HoloAPI 具备以下功能(还有更多!):
| 轻松管理您自己的全息显示 |
| 使用图像、动画(GIF)和多行文本创建全息显示 |
| 允许开发者通过广泛的 API 创建和管理自己的全息显示 |
| 全息聊天气泡(字幕),在说话者头顶显示聊天消息 |
| 支持动态文本 |
| 自动UTF-8 字符格式化和替换 |
| 超级流畅的动态全息图和全息传送功能! |
| 自动标签替换,例如 "Hello there %name%!"(其中 name 会被替换为观察者的名称) |
| 内置支持 VanishNoPacket 的全息聊天气泡 |
| 触摸屏全息图,拥有广泛且易于使用的 API |
| 浮动物品显示,配有易于使用的标签 - %item:id% |
| 支持 BungeeCord 的触摸屏全息图和在线人数占位符 |
| 支持从 1.6.4 到 1.7.9 的 Bukkit 以及 MCPC+ 1.6.4 |
保持最新,确保您拥有 HoloAPI 的最新版本!
这一广泛的 API 旨在为您提供最简单、功能最丰富的资源,以创建和管理您自己的全息图。

HoloAPI 还使用了智能图像转换技术(感谢 @bobacadodl),将普通图像转化为未来感十足的全息图,以您从未想象过的方式增强您的服务器。


或者

本项目的开发构建版本可在提供的持续集成服务器上获取。这些构建版本未经 BukkitDev 工作人员批准。使用风险自负。

命令与权限
| 命令 | 权限 | 描述 |
| /holoupdate | holoapi.update | 如果发现新版本,则更新 HoloAPI。 |
| /holo | holoapi.holo | HoloAPI 基础命令。所有在游戏中创建全息显示的命令方法均在此命令下。单独输入此命令将提供 HoloAPI 的版本信息。 |
| /holo create | holoapi.holo.create | 创建一个全息显示。可以逐行输入内容。 |
| /holo create image <image_id> | holoapi.holo.create | 根据图像创建全息显示。有关如何设置的更多信息,请参阅 Wiki 上的配置页面。 |
| /holo create animation | holoapi.holo.create | 根据文本行创建动态全息显示。 |
| /holo create animation <animation_id> | holoapi.holo.create | 创建一个动画全息图。有关如何设置 GIF 的信息,请参阅 配置维基 页面。 |
| /holo remove <id> | holoapi.holo.remove | 通过其分配的 ID 移除一个全息图。 |
| /holo info | holoapi.holo.info | 查看所有活动的全息显示及其各自的 ID。 |
| /holo move <id> | holoapi.holo.move | 将一个全息图移动到你当前的位置。 |
| /holo teleport <id> | holoapi.holo.teleport | 传送到特定的全息图。 |
| /holo build | holoapi.holo.build | 动态构建由文本和图像组合而成的全息图。 |
| /holo edit <id> <line> | holoapi.holo.edit | 编辑现有全息图的一行。 |
| /holo edit <id> <line> <content> | holoapi.holo.edit | 编辑现有全息图的一行。内容可以多于一行。 |
| /holo nearby <radius> | holoapi.holo.nearby | 查看指定半径内所有附近全息图的信息。 |
| /holo copy <id> | holoapi.holo.copy | 将现有全息图复制到你当前的位置。 |
| /holo refresh <id> | holoapi.holo.refresh | 刷新指定 ID 的全息图。 |
| /holo reload | holoapi.holo.reload | 重新加载所有配置文件和全息图。 |
TouchScreen Hologram Commands
| Command | Permission | Description |
| /holo touch add <id> <command> | holoapi.holo.touch.add | 为某个全息图添加触碰时执行的动作。未通过 API(而是通过此命令)定义的动作可能只能是命令。可以使用 `%name%` 占位符来定义触碰该全息图的用户。命令可以包含多个单词。 |
| /holo touch add <id> <command> <as_console> | holoapi.holo.touch.add | 与 `/holo touch add <command>` 功能相同。`<as_console>` 定义该动作是由控制台还是触碰全息图的玩家执行。 |
| /holo touch remove <id> <touch_id> | holoapi.holo.touch.remove | 移除 TouchScreen 全息图的一个动作,其中 `<touch_id>` 是 TouchAction 的 ID。要移除基于命令的触碰动作,只需输入命令即可。 |
| /holo touch clear <id> | holoapi.holo.touch.clear | 清除特定 TouchScreen 全息图的所有触碰动作。 |
| /holo touch info <id> | holoapi.holo.touch.info | 查看特定 TouchScreen 全息图的所有触碰动作信息。 |

Configuration

Metrics
Metrics 用于收集插件统计数据。仅收集如插件版本和在线玩家数量等数据。如果你不希望收集这些数据,请在你的 'plugins' 目录中的 'Plugin Metrics' 文件夹中禁用它。

Update Checking
HoloAPI 自带自动更新器,旨在节省你作为服务器管理员不断检查此页面以获取新文件的时间。它简单地连接到 dev.bukkit.org 并比较可用文件的版本。如果你不希望 HoloAPI 执行此检查,请导航到你 plugins 文件夹中 HoloAPI 目录下的配置文件 (config.yml),并将 "checkForUpdates" 和 "autoUpdate" 更改为 "false"。第一个值完全禁用版本比较,第二个值会在检测到新文件时自动更新插件。

Plugins Using HoloAPI
一些利用 HoloAPI 强大功能的插件:
...以及更多!


Credit to Asdjke for coming up with the idea

An advanced and powerful holographic display plugin


Features
With the discovery of new hologram technology (as seen in the video below), HoloAPI is designed to bring you a seamless experience in holographic display creation through the powerful command base and API.
Providing advanced Hologram Technology for your Bukkit server, HoloAPI has the following features (and more!):
| Easily manage your own holographic displays |
| Create Holographic displays with images, animations (GIFs) and multi-line text |
| Allows developers to create and manage their own holographic displays through the extensive API |
| Holographic chat bubbles (captions) that show chat messages above the speaker'a head |
| Animated text support |
| Automatic UTF-8 character formatting and replacing |
| Super smooth Animated Holograms and hologram teleportation! |
| Automatic tag replacement e.g. "Hello there %name%!" (Where name is replaced with the observer's name) |
| Holographic chat bubbles with in-built support for VanishNoPacket |
| TouchScreen Holograms with an extensive and easy to use API |
| Floating Item displays with easy to use tags - %item:id% |
| BungeeCord support for TouchScreen holograms and online count placeholders |
| Supports Bukkit from 1.6.4 through to 1.7.9 and MCPC+ 1.6.4 |
Stay up to date and make sure you have the latest version of HoloAPI!
This extensive API is designed to provide you with the easiest, most feature packed resources for creating and managing your own holograms.

HoloAPI also uses intelligent image-translation technology (thanks to @bobacadodl) to transform ordinary images into futuristic holograms that can enhance your server in ways that you have never imagined.


or

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

Commands and Permissions
| Command | Permission | Description |
| /holoupdate | holoapi.update | Update HoloAPI if a new version has been found. |
| /holo | holoapi.holo | Base HoloAPI command. All in-game methods for creating holographic displays can be found under this command. Entering this command by itself will provide version information for HoloAPI. |
| /holo create | holoapi.holo.create | Create a holographic display. Lines can be entered one after each other. |
| /holo create image <image_id> | holoapi.holo.create | Create a holographic display from an image. See the Configuration page on the Wiki for more information on how to set this up. |
| /holo create animation | holoapi.holo.create | Create an animated holographic display from lines of text. |
| /holo create animation <animation_id> | holoapi.holo.create | Create an animated hologram. See the Configuration Wiki page for info on how to set up GIFs. |
| /holo remove <id> | holoapi.holo.remove | Remove a hologram by its assigned ID. |
| /holo info | holoapi.holo.info | View all active holographic displays and their respective IDs. |
| /holo move <id> | holoapi.holo.move | Move a hologram to your current position. |
| /holo teleport <id> | holoapi.holo.teleport | Teleport to a specific hologram. |
| /holo build | holoapi.holo.build | Dynamically build a combined hologram of both text and images. |
| /holo edit <id> <line> | holoapi.holo.edit | Edit a line of an existing hologram. |
| /holo edit <id> <line> <content> | holoapi.holo.edit | Edit a line of an existing hologram. The content can be more than one line. |
| /holo nearby <radius> | holoapi.holo.nearby | View information on all nearby holograms within the specified radius |
| /holo copy <id> | holoapi.holo.copy | Copy an existing hologram to your current position. |
| /holo refresh <id> | holoapi.holo.refresh | Refresh a Hologram of the specified ID. |
| /holo reload | holoapi.holo.reload | Reload all configuration files and holograms |
TouchScreen Hologram Commands
| Command | Permission | Description |
| /holo touch add <id> <command> | holoapi.holo.touch.add | Add an action for a certain hologram to perform when touched. Actions defined without the use of the API (through this command) may only be commands. The `%name%` placeholder can be used to define the user that touched the hologram. Commands can be more than one word. |
| /holo touch add <id> <command> <as_console> | holoapi.holo.touch.add | Same functionality as `/holo touch add <command>`. `<as_console>` defines whether the action is performed by the console or the player that touched the hologram |
| /holo touch remove <id> <touch_id> | holoapi.holo.touch.remove | Remove an action for a TouchScreen hologram, where `<touch_id>` is the ID of the TouchAction. To remove a command-based Touch Action, simply enter the command" |
| /holo touch clear <id> | holoapi.holo.touch.clear | Clear all Touch Actions for a particular TouchScreen hologram |
| /holo touch info <id> | holoapi.holo.touch.info | View information on all Touch Actions for a particular TouchScreen hologram |

Configuration

Metrics
Metrics is used to collect plugin statistics. Only data such as plugin version and players online is collected. If you do not wish for this data to be collected, disable it in the 'Plugin Metrics' folder of your 'plugins' directory.

Update Checking
HoloAPI comes with an auto-updater to save you, as a server owner, from continually checking this page for new files. It simply connects to dev.bukkit.org and compares the versions of available files. If you do not wish for HoloAPI to perform this check, navigate to the Configuration File (config.yml) in the HoloAPI directory of your plugins folder and change "checkForUpdates" and "autoUpdate" to "false". The first value disables the version comparison altogether and the second updates the plugin automatically if new files are detected.

Plugins Using HoloAPI
Some of the plugins that utilise the powerful features in HoloAPI:
...And many more!


Credit to Asdjke for coming up with the idea

评论 0
登录后参与评分
还没有评论,来抢沙发吧