battleyephp/global-ban
最新稳定版本:v0.0.2
Composer 安装命令:
composer require battleyephp/global-ban
包简介
PHP BattlEye Global Ban Checker
README 文档
README
It provides BattlEye Global Ban checker.
You can check if any GUID is banned globally.
Currently only Arma 3 is supported by default, but you can provide Arma 2 OA or DayZ BattlEye hostname with port to check it too.
Installation
Requires PHP 8.2+
Requires ext-sockets
You can install the package via composer:
composer require battleyephp/global-ban
Usage
To check if a Steam account has a global ban:
use BattlEye\GlobalBan\Checker; use BattlEye\Guid\Guid; $checker = new Checker(); $guid = Guid::fromSteamId64(76561198066209976); $ban = $checker->check($guid); if ($ban->exists) { echo sprintf('User is banned: %s', $ban->reason); } else { echo 'User is not banned'; }
Testing
composer test
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-01