battleyephp/global-ban

PHP BattlEye Global Ban Checker

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/battleyephp/global-ban

v0.0.2 2025-05-01 18:43 UTC

This package is auto-updated.

Last update: 2025-10-01 00:10:53 UTC


README

Latest Version on Packagist Tests Total Downloads

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