Admin Dashboard
The main dashboard displays real-time metrics across users, beatmaps, and scores with customizable time periods.Admin Dashboard
View server metrics, user statistics, and activity trends
Metrics Overview
The dashboard organizes metrics into three main categories:User Metrics
Total users, active users, and restricted accounts
Map Metrics
Total maps, ranked beatmaps, and custom content
Score Metrics
Total scores and recent submissions
Time Period Selection
Metrics can be viewed across different time periods:- Daily - Last 24 hours (DAU - Daily Active Users)
- Weekly - Last 7 days (WAU - Weekly Active Users)
- Monthly - Last 30 days (MAU - Monthly Active Users)
User Metrics
Total Users
Total Users
Displays the total number of registered users and shows growth with new user count for the selected period.
- Total Count - All registered users in the database
- New Users - Users registered during the selected period (green text for positive growth)
- User Loss - Deleted accounts shown in warning color
Active Users
Active Users
Shows active user count based on the selected time period:
- DAU - Daily Active Users (users active in last 24 hours)
- WAU - Weekly Active Users (users active in last 7 days)
- MAU - Monthly Active Users (users active in last 30 days)
Restricted Users
Restricted Users
Displays currently restricted accounts that cannot participate in rankings or certain community features.
- Count - Total number of restricted accounts
- Status - Currently active restrictions
Map Metrics
Total Maps
Total Maps
All beatmaps in the database, including maps from osu! (Bancho) and custom uploads.
- Total - Complete beatmap count
- New Maps - Maps added during the selected period
Ranked Maps
Ranked Maps
Beatmaps with ranked status that count toward performance points (pp).
- Ranked Count - Maps eligible for ranking
- PP Calculation - These maps contribute to player rankings
Custom Maps
Custom Maps
Beatmaps uploaded directly to Guccho rather than mirrored from osu!.
- Custom Count - Server-specific content
- Community Content - Maps created for your server
Score Metrics
Total Scores
Total Scores
All scores submitted across all game modes and beatmaps.
Recent Scores
Recent Scores
Scores submitted during the selected time period, showing player activity levels.
User Management
The user management interface provides powerful search and filtering capabilities for finding and managing user accounts.User Management
Search, filter, and manage user accounts
Search Parameters
Administrators can search users by multiple criteria:User ID for direct lookup
Username or display name
Stable username used in profile links
Email address associated with the account
Filter by country or region
Filter by user roles (admin, moderator, etc.)
Search Results
User search results display in a paginated table with the following information:- User Profile - Avatar, name, and country
- Roles - Badges showing assigned roles
- Email - Contact information (clickable mailto link)
- Registration Date - When the account was created
- Last Activity - Most recent user activity
- Actions - Link to detailed user management page
Pagination Controls
- Page Size - Configure results per page (1-20 users)
- Page Navigation - Jump to specific pages or use quick navigation
- Total Count - Shows total matching users
Individual User Management
Clicking “details” on a user opens their administrative profile page at/admin/users/[id] where you can:
- View detailed user statistics
- Modify user roles and permissions
- Review user activity
- Manage restrictions
Beatmap Management
The beatmap management interface allows administrators to moderate and update beatmap status.Beatmap Management
Search and manage beatmap rankings
Beatmap Search
Search beatmaps using multiple criteria:- Keyword - Search by beatmap ID, artist, title, version, or MD5 hash
- Game Mode - Filter by specific osu! game mode
- Player Requests - View beatmaps requested by players
Beatmap Information
Search results show detailed information for each beatmap:Beatmapset Information
- Set ID - Beatmapset identifier (links to osu! if from Bancho)
- Artist - Song artist
- Title - Song title (links to local beatmapset page)
- Source - Origin (Bancho or custom upload)
Ranking Status Management
Administrators can update beatmap ranking status:- Graveyard - Inactive or abandoned beatmaps
- WIP - Work in progress
- Pending - Awaiting moderation
- Ranked - Approved for ranking (counts pp)
- Approved - Special category for marathon maps
- Qualified - In qualification period
- Loved - Community favorites (no pp)
Batch Updates
The interface supports batch operations:- Change status for multiple beatmaps
- Review changes in the batch queue
- Click “Save” to apply all changes at once
Logs and Monitoring
The logs page provides access to system logs for debugging and monitoring server health.Server Logs
View and filter system logs
Log Filtering
Filter logs by multiple criteria:Minimum log level to display (0-6):
- 0: Trace
- 1: Debug
- 2: Info
- 3: Warn
- 4: Error
- 5: Fatal
- 6: Silent
Number of recent log entries to fetch (default: 50)
Sort order for log entries (ascending or descending)
Log Display
Each log entry shows:- Timestamp - When the event occurred (localized)
- Level - Log severity level
- Label - Log category or component
- Backend - Which backend service generated the log
- Message - Detailed log message
Log Management
Truncate Logs
Truncate Logs
Administrators can clear all logs using the “truncate” button. This action is irreversible and should be used carefully.
Access Control
Admin panel access is restricted through middleware:Permission Levels
Users must have theadmin role to access administrative features. The system checks:
- User Authentication - Must be logged in
- Role Verification - Must have admin privileges
- Session Validity - Active session required
Role-Based Features
Different admin features may require different permission levels:- Metrics Dashboard - Read-only admin access
- User Management - User moderation privileges
- Beatmap Management - Content moderation privileges
- System Logs - Full admin access
Best Practices
Regular Monitoring
Regular Monitoring
- Check user metrics daily to track growth
- Monitor active user trends to gauge engagement
- Review restricted accounts periodically
Beatmap Moderation
Beatmap Moderation
- Only rank beatmaps that meet quality standards
- Respond to player beatmap requests promptly
- Review custom beatmaps before ranking
User Management
User Management
- Investigate unusual account activity
- Manage roles and permissions carefully
- Keep user data secure and private
System Maintenance
System Maintenance
- Review logs regularly for errors
- Monitor server performance through metrics
- Keep log levels appropriate for production
Implementation Reference
The admin panel is implemented across these files:src/pages/admin/index.vue- Main dashboard with metricssrc/pages/admin/users/index.vue- User search and managementsrc/pages/admin/users/[id]/index.vue- Individual user detailssrc/pages/admin/beatmaps.vue- Beatmap search and status managementsrc/pages/admin/logs.vue- Log viewer and management
The admin panel uses reactive data fetching with automatic updates when filters change. Loading states and error handling are built into all components.