ObscureRTPQ
ObscureRTPQ 是一款专为现代 Spigot 和 Paper Minecraft 服务器平台(面向 Minecraft 1.21+)打造的高性能异步匹配队列扩展插件。
它提供了一套类似“水晶 PvP”风格的竞技匹配循环,利用非阻塞并发集合数组将玩家配对。匹配成功的玩家会被无缝分配至具有结构安全坐标偏移量的相同随机坐标点。该插件支持通过游戏内 GUI 库存菜单进行完整的运行时自定义,并能原生对接默认服务器世界以及由 Multiverse-Core 管理的自定义世界。
?️ 已实现功能
线程安全的匹配队列:由 QueueManager 内部隔离的 ConcurrentLinkedQueue 序列提供支持,以管理快速且干净的条目更新,避免线程争用、内存死锁或卡顿延迟。
异步坐标处理 (RtpProvider):将繁重的世界区块验证计算卸载到后台 CompletableFuture 工作线程中,确保在主线程处理传送安全帧时 TPS 不受影响。
无缝集成 Multiverse-Core:设计为在世界加载后(POSTWORLD)加载,使其能够自动识别、注册并与自定义导入或生成的 Multiverse 世界开箱即用地进行交互。
游戏内管理员配置 GUI 菜单:管理员可通过执行 /rtpq config 调出交互式箱子库存界面,显示所有活跃世界。点击选项可动态更新并将活跃的匹配世界实时保存至服务器磁盘。
严格的 WorldGuard 限制:通过专用的运行时验证检查来限制队列操作。玩家无法从未列入白名单的世界加入队列;而在队列中切换世界的玩家会被自动且安全地过滤掉。
独立的管理员调试层:管理员可触发 /rtpq debug 以启用独立的匹配脚本。激活后,加入队列会模拟立即找到虚拟对手,从而允许单独测试聊天字符串、目标位置、偏移量以及音频音效机制。
ObscureRTPQ
ObscureRTPQ is a high-performance, asynchronous matchmaking queue extension built for modern Spigot and Paper Minecraft server platforms targeting Minecraft 1.21+.
It provides a competitive "Crystal PvP" style matchmaking loop that pairs players using non-blocking concurrent collection arrays. Matched players are seamlessly distributed into identical random coordinates with a structural safety coordinate offset. The plugin features full runtime customization using an in-game GUI inventory menu that interfaces natively with both default server worlds and custom worlds managed by Multiverse-Core.
?️ Features Implemented
Thread-Safe Matchmaking Queue: Backed by an isolated ConcurrentLinkedQueue sequence inside the QueueManager to manage swift entry updates cleanly without thread contention, memory deadlocks, or lag spikes.
Asynchronous Coordinate Processing (RtpProvider): Offloads heavy world block verification calculations to a background CompletableFuture worker thread, ensuring main-thread TPS remains unaffected while processing teleport safety frames.
Seamless Multiverse-Core Integration: Built to load post-world (POSTWORLD), allowing it to automatically recognize, register, and interface with custom imported or generated Multiverse worlds right out of the box.
In-Game Admin Configuration GUI Menu: Administrators can execute /rtpq config to pull up an interactive chest inventory displaying all active worlds. Clicking options dynamically updates and saves active matching worlds to the server disk in real-time.
Strict World Guard Restrictions: Restricts queue actions via dedicated runtime validation checks. Players cannot join the queue from unlisted worlds, and players who shift between worlds while sitting in the queue are automatically filtered out safely.
Isolated Administrative Debug Layer: Admins can trigger /rtpq debug to toggle a solo matching script. While active, joining the queue simulates finding a dummy match instantly to test chat strings, target locations, offsets, and audio sound mechanics completely alone.
评论 0
登录后参与评分
还没有评论,来抢沙发吧