🚀 MultiProxySync v1.3.1
🚀 MultiProxySync v1.3.1
本次更新为 MultiProxySync 带来了一个重要增强:公共 API 支持。
在原有全局同步能力的基础上,现在你可以在其他插件中直接访问跨代理同步后的玩家数据。
This update introduces a major enhancement to MultiProxySync: a public API.
In addition to global synchronization, plugins can now directly access synchronized player data across proxies.
✨ 特性更新 | Features
-
公共 API / Public API:
新增 API 接口,允许其他插件获取全局玩家数据(总人数、分组信息等)。
Introduces a public API allowing other plugins to access global player data (total count, grouped data, etc). -
自动故障自愈 / Automatic Self-Healing:
当代理节点异常下线时,Redis 中的数据会在 TTL 到期后自动清理。
Automatically cleans up stale data from crashed proxy nodes using Redis TTL.
🔌 API 更新说明 | API Highlights
本版本新增的 API 支持以下能力:
The new API provides:
-
获取所有代理节点
Get all proxies -
获取全网玩家 UUID 集合
Get all players across proxies -
按代理分组获取玩家
Get players grouped by proxy -
获取全网玩家总数
Get total player count -
按代理获取人数统计
Get player count grouped by proxy
⚠️ 注意事项 | Notes
-
API 为只读接口,Redis 连接由插件内部管理。
The API is read-only, and Redis connections are managed internally. -
返回的玩家标识为 UUID 字符串,而不是玩家名。
Player identifiers returned are UUID strings, not usernames.
💡 反馈与支持 | Feedback & Support
如果你在使用过程中遇到问题,或有新的想法,欢迎在 Issues 中反馈 🙌
If you encounter any issues or have ideas, feel free to open an issue 🙌