AntiHealthIndicator-健康指标

插件 AntiHealthIndicator-健康指标 2.4.0

使用 AntiHealthIndicator 增强公平性!轻量级异步数据包欺骗,确保游戏完整性
What's Changed 有什么变化
Changes 变化

  • 1.21.5 Support 1.21.5 支持

  • Major performance optimizations throughout the plugin.
    整个插件进行了重大性能优化。

  • Player gamemodes are now being spoofed
    玩家游戏模式现在被欺骗

  • Removed the configuration option for enabling bypass permissions, as this no longer adds performance overhead.
    移除了启用绕过权限的配置选项,因为不再增加性能开销。
Fixes 修复
  • Fixed an issue where clients on 1.21.4 did not receive spoofed health data when joining 1.8.8 servers, and vice versa.
    修复了 1.21.4 客户端在加入 1.8.8 服务器时未收到欺骗健康数据的问题,反之亦然。
  • Resolved a bug where horses displayed their actual health when mounted by other entities.
    解决了马匹在被其他实体骑乘时显示实际健康值的问题。
  • Fixed player cache being cleared when using /skin update with SkinsRestorer.
    修复了在使用 /skin update 时 SkinsRestorer 会清除玩家缓存的问题。
  • Golems are now properly spoofed for 1.21.x clients on 1.8.8 servers.
    在 1.8.8 服务器上,Golems 现在可以正确地欺骗 1.21.x 客户端。
Notes 注意
This plugin should now be in a near-perfect state. Whether your server is running 1.8.8 or 1.15.2 and your clients connect with 1.21.5 or the other way around, health is now always being properly spoofed due to properly applying the index based on ViaVersion translations or the client version, depending on the platform used.
这个插件现在应该处于近乎完美的状态。无论你的服务器运行的是 1.8.8 还是 1.15.2,而客户端连接的是 1.21.5 或其他版本,由于正确地应用了基于 ViaVersion 翻译或客户端版本的索引(取决于所使用的平台),健康状态现在总是会被正确地欺骗。
Changes 变化
  • Fixed: Permission being required for the base command, but not given by default
    已修复:基本命令需要权限,但默认情况下不授予权限
  • Added: Help and Discord command
    新增:帮助和不和谐命令
  • Refactored: EntityMetadataListener
    重构:EntityMetadataListener
New Release: Proxy Support and Cache Rewrite
新版本:代理支持和缓存重写
Proxy Support 代理支持

We are happy to announce that our plugin now supports proxy servers, including Velocity and BungeeCord! To use the plugin on your proxy server, simply download the latest release and place it into the plugins directory of your proxy. Ensure that the PacketEvents plugin is also installed on your platform. Once set up, the plugin will automatically take care of all your backends. You won't need the plugin on your backend once installed upon the proxy.
我们很高兴地宣布,我们的插件现在支持代理服务器,包括 Velocity 和 BungeeCord!要在代理服务器上使用该插件,只需下载最新版本并将其放入代理的插件目录中即可。确保平台上也安装了 PacketEvents 插件。设置完成后,该插件将自动处理您的所有后端。一旦安装在代理上,您将不需要后端的插件。

Cache Rewrite 缓存重写
This update also introduces a significant overhaul of our cache management system. Previously, a single cache was maintained for the entire server, retaining entities until they were explicitly removed. This led to inefficiencies, especially when entities remained cached unnecessarily due to the potential for client-side demand.
此更新还对我们的缓存管理系统进行了重大改革。以前,为整个服务器维护单个缓存,保留实体,直到显式删除它们。这导致了效率低下,特别是当实体由于潜在的客户端需求而不必要地缓存时。

To support proxy servers, we completely rewrote the cache manager. Now, each user has their own cache, addressing the challenge of server-specific entity IDs and user server-hopping. This user-centric caching relies entirely on packets, eliminating the need for platform-specific methods to track entity spawning and removal. Entities are promptly removed from the cache when your client receives a packet indicating they are out of render distance, etc, dramatically improving cache size and lookup speeds.
为了支持代理服务器,我们完全重写了缓存管理器。现在,每个用户都有自己的缓存,解决了特定于服务器的实体 ID 和用户服务器跳转的挑战。这种以用户为中心的缓存完全依赖于数据包,无需使用特定于平台的方法来跟踪实体的生成和删除。当客户端收到指示实体超出渲染距离等的数据包时,实体会立即从缓存中删除,从而显著提高缓存大小和查找速度。

With this new approach, we no longer require the Caffeine Library, reducing the plugin size from 1.06MB (1006KB) to a mere 74KB. As the saying goes, "Size doesn't matter, but rather what you do with it." We have surely taken that seriously.
通过这种新方法,我们不再需要咖啡因库,将插件大小从 1.06MB (1006KB) 减少到仅 74KB。俗话说,“尺寸不重要,重要的是你用它做什么。我们肯定认真对待这一点。
1 Jar, 3 Platforms (and forks), hundreds of different versions across all platforms. All of that is in a single jar of 74KB.
1 个 Jar,3 个平台(和分叉),所有平台上的数百个不同版本。所有这些都在一个 74KB 的罐子里。

Acknowledgments 确认
This release wouldn't have been possible without the invaluable contributions of the following individuals:
如果没有以下个人的宝贵贡献,这个版本是不可能实现的:

  • @Tofaa2: Instrumental in supporting Velocity and redesigning the cache system.
    @Tofaa2:在支持 Velocity 和重新设计缓存系统方面发挥了重要作用。
  • @Booky10: Provided essential tips and insights for developing the packet-based entity tracker.
    @Booky10:提供了开发基于数据包的实体跟踪器的基本提示和见解。
  • @Abhigya: Assisted in redesigning the Gradle Build Chain.
    @Abhigya:协助重新设计 Gradle 构建链。
  • @AlexDev: Offered numerous optimization suggestions and guided the configuration manager rewrite.
    @AlexDev:提供了许多优化建议,并指导了配置管理器的重写。
Thank you to everyone involved for your support in making this release possible!
感谢所有参与其中的人,感谢你们的支持,使这个版本成为可能!
  • 添加:支持 1.20.5 和 1.20.6(我们现在支持 1.8.8-1.20.6)
  • 添加了:/AntiHealthIndicator 或 /ahi 命令,用于显示当前插件版本。
  • 更新:2.2.1 -> 2.3.0 的 PacketEvents
  • 已修复:进入或离开车辆时可能会暂时冻结网状线。
  • 已删除:FoliaScheduler,因为它已上游合并到 PacketEvents 中。
完整更新日志https://github.com/Bram1903/AntiHealthIndicator/compare/v2.0.1...v2.1.0
顶部