jorgebyte/reachlimiter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jorgebyte/reachlimiter

Composer 安装命令:

composer create-project jorgebyte/reachlimiter

包简介

An optimized scope violation validator for PocketMine-MP 5.

README 文档

README

An optimized, scalable, and highly accurate Reach violation validator for PocketMine-MP 5. Built for competitive and high-performance server environments.

Features

  • Fail-Fast Reach Detection: Instantaneous damage discarding reducing CPU overhead via squared math.
  • Smart Ping Profiling (Rolling Median Filter): Caches minor network histories to auto-prevent false positives during lag-spikes.
  • Zero Memory Leaks: Powered by native PHP 8 WeakMap implementation to fully prevent string-map garbage piling.
  • Clean Code Architecture: Full PSR-12 standard, strict types & static code analysis (PHPStan Level Max).

Configuration

Modify plugins/ReachLimiter/config.yml to fit your server's needs:

  • max-reach: Base competitive range before padding (Usually 3.15).
  • extra-buffer: Distance tolerance (Default: 0.45).
  • ping-buffer-per-100ms: Additional mathematical distance tolerance per 100ms of ping.

Permissions

  • reachlimiter.notify: Allows a staff member to receive violation alerts.
  • reachlimiter.bypass: Allows a player to completely bypass distance checks.

Installation

  1. Drop the ReachLimiter.phar into your /plugins/ folder.
  2. Restart the server.
  3. Enjoy your competitive environment perfectly secured.

Open Source

This plugin is perfectly fitted for production logic. Developed by Jorgebyte. Licensed under GNU General Public License v3.0.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固