<%- await include('parts/header.ejs', locals) %>
Total Players
<%= stats.players %>
Total Playtime
<%= stats.playTime %>
Whitelists
<%= stats.whitelists %>
Warns
<%= stats.warns %>
Bans
<%= stats.bans %>
Ban Identifiers:
<% if (disableBans) { %>

ban checking disabled

<% } else { %> <% if (permsDisable.ban) { %>

you can't ban people

<% } else { %>
Valid identifiers: steam, license, xbl, live, discord, fivem. You can insert multiple IDs separated by comma.
<% } %> <% } %>
<%- message %>
Last <%= queryLimits.players %> joined players
<% if (!lastPlayers.length) { %>

no players yet...

<% } else { %>
<% for (const player of lastPlayers) { %>
<%= player.name %> <%= player.joined %>
<% } %>
<% } %>
Last <%= queryLimits.actions %> actions (bans/warns):
<% if (!lastActions.length) { %>

no actions yet...

<% } else { %>
<% for (const action of lastActions) { %>
<%- action.message %> (<%= action.id %>) <%= action.date %> <% if (!permsDisable.ban) { %> <% if ( action.isRevoked || (action.type === 'warn' && permsDisable.warn) || (action.type === 'ban' && permsDisable.ban) ) { %>   REVOKE <% } else { %>   <% } %> <% } %>
<%= action.reason || "" %> <% if (action.footerNote) { %> <%= action.footerNote %> <% } %>
<% } %>
<% } %> <%# End actions list %>
<%- await include('parts/footer.ejs', locals) %>