{# vocation statistics #} {% if setting('core.online_vocations') %}
{% if setting('core.online_vocations_images') %}
Sorcerers Druids Paladins Knights
{{ vocs[1] }} {{ vocs[2] }} {{ vocs[3] }} {{ vocs[4] }}
 
{% else %} {% for i in 1..config.vocations_amount %} {% endfor %}
Vocation statistics
{{ config.vocations[i] }} {{ vocs[i] }}

{% endif %} {% endif %}
{# show skulls #} {% if setting('core.online_skulls') %}
- 1 - 6 Frags
- 6+ Frags or Red Skull
- 10+ Frags or Black Skull
{% endif %}
{% set title = 'World Information' %} {% set tableClass = 'Table3' %} {% set background = config('darkborder') %} {% set content %} {% if setting('core.online_record') %} {% endif %}
Status: {% if not status.online %}Offline{% else %}Online{% endif %}
Players Online: {% if setting('core.online_afk') %} {% set players_count = players|length %} {% set afk = players_count - status.players %} {% if afk < 0 %} {% set players_count = players_count + afk|abs %} {% set afk = 0 %} {% endif %} Currently there are {{ status.players }} active and {{ afk }} AFK players.
Total number of players: {{ players_count }}.
{% else %} {{ players|length }} {% endif %}
Online Record: {{ record }}
Location Datacenter: {{ setting('core.online_datacenter') }} (Server date & time: - {{ "now"|date("d/m/Y H:i:s") }})
PvP Type: {% set worldType = config('lua')['worldType']|lower %} {% if worldType in ['pvp','2','normal','open','openpvp'] %} Open PvP {% elseif worldType in ['no-pvp','nopvp','non-pvp','nonpvp','1','safe','optional','optionalpvp'] %} Optional PvP {% elseif worldType in ['pvp-enforced','pvpenforced','pvp-enfo','pvpenfo','pvpe','enforced','enfo','3','war','hardcore','hardcorepvp'] %} Hardcore PvP {% endif %}
{% endset %} {% include 'tables.headline.html.twig' %}

{% set title = 'Players Online' %} {% set tableClass = 'Table2' %} {% set content %} {% if setting('core.account_country') %} {% endif %} {% if setting('core.online_outfit') %} {% endif %} {% set i = 0 %} {% for player in players %} {% set i = i + 1 %} {% if setting('core.account_country') %} {% endif %} {% if setting('core.online_outfit') %} {% endif %} {% endfor %}
#   OutfitName   [sort] Level   [sort] Vocation   [sort]
{{ player.country_image|raw }}player outfit {{ player.name|raw }}{{ player.skull }} {{ player.level }} {{ player.vocation }}
{% endset %} {{ include('tables.headline.html.twig') }}