@extends('template.layout') @section('title', 'Who is online?') @section('submenuItem', 'whoisonline') @section('content') @if(config('multi_world.enabled'))
@csrf
World Selection
World Name:


@endif
World Information
Status: Online
Players Online: {{ number_format($playersOnline->count()) }}
Location: {{-- {{ \App\Utils\World::getCurrentWorld()['location'] }} --}}BR
PvP Type: {{ \App\Utils\World::getCurrentWorld()['pvp_type'] }}

Players Online
@forelse($playersOnline as $online) @php if (Str::startsWith($online->player->name, 'GOD')) { continue; } if (Str::startsWith($online->player->name, 'GM')) { continue; } $rowClass = $loop->index % 2 == 0 ? 'Even' : 'Odd'; @endphp @empty @endforelse
Name [sort] Level [sort] Vocation [sort]
{{$online->player->name }} {{ $online->player->level }} {{ \App\Utils\Vocation::getNameByVocationId($online->player->vocation) }}
Nobody is currently online.
@endsection