{{-- GIGAX_AC_PANEL_V2 - PAINEL COMPLETO --}} @extends('layouts.app') @section('title', 'Monitor do Anti-Cheat - GIGAX ARENA') @section('page_title', 'Monitor do Anti-Cheat') @php use Illuminate\Support\Facades\Route; $devices = collect($devices ?? []); $allDevices = collect($allDevices ?? $devices); $onlinePlayers = $allDevices->filter(fn ($d) => (bool) ($d->is_online ?? false))->values(); $recentIncidents = collect($recentIncidents ?? []); $recentMatches = collect($recentMatches ?? []); $playerUrl = static function ($id) { if (!$id) return '#'; if (Route::has('players.show')) return route('players.show', $id); if (Route::has('player.profile')) return route('player.profile', $id); return url('/players/' . $id); }; $adminMatchesUrl = Route::has('admin.matches') ? route('admin.matches') : url('/admin/matches'); $teamspeakUrl = Route::has('admin.teamspeak') ? route('admin.teamspeak') : url('/admin/teamspeak'); $usersUrl = Route::has('admin.users') ? route('admin.users') : url('/admin/users'); $initial = static function ($name) { $name = trim((string) $name); return $name !== '' ? mb_strtoupper(mb_substr($name, 0, 1)) : 'G'; }; $incidentLabel = static function ($type) { $type = strtolower((string) $type); if (str_contains($type, 'macro') || str_contains($type, 'click')) return 'Macro / Auto Click'; if (str_contains($type, 'inject')) return 'Injeção Detectada'; if (str_contains($type, 'file') || str_contains($type, 'integrity') || str_contains($type, 'modif')) return 'Modificação de Arquivos'; if (str_contains($type, 'vpn') || str_contains($type, 'proxy')) return 'Proxy / VPN'; return $type !== '' ? ucwords(str_replace(['_','-'], ' ', $type)) : 'Incidente'; }; @endphp @push('styles') @endpush @section('content')
| Jogador | HWID / ID | Status | Dispositivo | AC | Último heartbeat | Risco | |
|---|---|---|---|---|---|---|---|
@if($d->avatar_url) {{ $d->nickname }}#{{ $d->user_id ?: '—' }} |
{{ $d->email ?: '—' }} | {{ $d->machine_hwid_hash ?: ($d->device_uuid ?: '—') }} | {{ $blocked ? 'BLOQUEADO' : ($d->is_online ? 'ONLINE' : 'OFFLINE') }} {{ strtoupper($d->status ?: '-') }} |
{{ $d->computer_name ?: '—' }} {{ collect([$d->windows_user,$d->os_version])->filter()->implode(' · ') ?: '—' }} |
{{ $d->client_version ?: '—' }} | {{ $d->seconds_since_heartbeat !== null ? $d->seconds_since_heartbeat.'s atrás' : ($d->last_seen_at ?: '—') }} | {{ $d->risk_score }} |
| Nenhum dispositivo encontrado. | |||||||