{% extends 'admin/custom_base.html' %} {% block body %}

Dashboard

Signed in as {{ account.username }} {% if SCOPE_ADMIN in scopes %}Admin{% else %}Mod{% endif %}
Go
Total Players
{{ total_players }}
Online
{{ online_count }}
Sessions
{{ session_count }}
Pending Gifts
{{ pending_gifts }}
Banned
{{ banned_count }}
Admin Logins Today
{{ admin_logins_today }}
Total Playtime

Online Players

{{ online_count }}
{% if online_players %} {% for p in online_players %} {% endfor %}
PlayerLevelRoomActions
{{ p.username }} {% if p.developer %}Dev{% endif %} {% if p.screen_mode %}Screen{% else %}VR{% endif %} {{ p.level }} {{ p.room }}
{% if SCOPE_ADMIN in scopes %} {% endif %}
{% else %}
No players online
{% endif %}

Active Sessions

View All →
{% if active_sessions %} {% for s in active_sessions %} {% endfor %}
RoomActivityPlayersMode
{{ s.photon_room_id }} {{ s.name }} {{ s.players|length }} {% if s.sandbox %}Sandbox {% elif s.private %}Private {% else %}Public{% endif %}
{% else %}
No active sessions
{% endif %}

Top Players by Playtime

All time
#PlayerLevelPlaytimeSessions
Loading…

Recent Admin Actions

{% if recent_actions %} {% for a in recent_actions %} {% endfor %}
ActionAdminDetailsTime
{% if 'ban' in a.action and 'unban' not in a.action %}{{ a.action|upper }} {% elif a.action == 'unban' %}UNBAN {% elif a.action == 'login' %}LOGIN {% elif a.action == 'disconnect' %}KICK {% elif a.action in ('gift_all', 'gift_xp', 'gift_player') %}GIFT {% elif a.action == 'reroll_store' %}STORE {% elif a.action == 'toggle_dev' %}DEV {% elif a.action == 'reset_password' %}RESET PASS {% elif a.action == 'send_dm' %}DM {% elif a.action == 'maintenance_mode' %}MAINT {% elif a.action == 'git_sync' %}GIT {% elif a.action == 'create_room' %}ROOM {% else %}{{ a.action|upper }}{% endif %} {{ a.admin_name }} {{ (a.details or '—')|e }} {{ a.created_at[:16] if a.created_at else '' }}
{% else %}
No recent actions
{% endif %}
{% if SCOPE_ADMIN in scopes %}

Quick Actions

Gifts
Messaging
Store
Force a new 12-hour rotation
Photos
Stitch all HD photos into one image
Server
Checking...
Pull latest from remote
Restart the Flask process
Off — reboot once all players leave
Player Quick Actions
{% endif %} {% if SCOPE_ADMIN in scopes %}

Anticheat Suspects

Click Refresh to load

Sanitize Log

Click Refresh to load
{% endif %}
{% if SCOPE_ADMIN in scopes %}

Maintenance Mode

{% endif %} {% endblock %}