PingAPI 让开发者能够更灵活地控制对 ping 请求的响应。简而言之,它是对 Bukkit 的 ServerListPingEvent 的一种改进。Javadocs 文档可以在 这里 找到。
距离我上次维护这个项目已经过去了好几年,但我决定更新它以适配更新的 CraftBukkit 版本,同时保持向后兼容性。从现在起,我会尽力维持该项目的更新与维护。需要特别注意的最重要变化是:在运行较新版本的 CraftBukkit 的服务器上,已无法创建动画效果。
功能特性
- 修改在线玩家数量和最大玩家数量
- 更改玩家样本(即鼠标悬停在玩家数量上时显示的玩家列表)
- 伪造协议名称和版本,以显示文本而非玩家数量
- 创建服务器列表动画(1.8 或更早版本)
使用方法
PingAPI gives developers more control over how they reply to ping requests. Simply put it provides an improvement to Bukkit's ServerListPingEvent. The Javadocs can be found here.
It has been a few years since I have worked on this project, but I decided to update it for newer versions of CraftBukkit and keep backwards compatibility. I will try to keep it maintained and up to date from now on. The most important change to note is that creating animations is no longer possible for servers running newer versions of CraftBukkit.
Features
- Modify the online player count and the max players
- Change the player sample (list of players shown when hovering over the player count)
- Fake the protocol name and version to display text instead of the player count
- Create server list animations (1.8 or earlier)
Usage
- Creating a basic listener
- Changing the player count
- Changing the player count to text
- Changing the player sample (hover message)
- Creating animations
下载 PingAPI
下载 PingAPI
下载 PingAPI
下载 PingAPI
下载 PingAPI
下载 PingAPI
上传了错误的文件
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个强大的 API,用于为你的 Minecraft 服务器创建自定义进度。
评论 0
登录后参与评分
还没有评论,来抢沙发吧