๐Ÿ”’ Admin Access Required

You must be logged in as an administrator to access this page.

Sign In

๐Ÿ› ๏ธ Content Admin

Manage documents, games, and league data

Admin
โ† Back
๐Ÿ“„ League Documents Manager

Upload and manage official league documents (PDFs, memos, permits). Documents appear on the League Rules page.

๐Ÿ“ค Upload New Document

Lower numbers appear first
๐Ÿ“

Click to select a PDF or drag and drop

PDF files only, max 10MB

Uploading...

๐Ÿ“š Existing Documents

Loading documents...
๐Ÿ“

Select a document from the list to edit

โšพ Game Data Editor
โš ๏ธ

Manual Edit Protection: When you save changes here, the game will be marked as "manually edited". This prevents the weekly update script from overwriting your changes to date, time, or team assignments. Score updates will still be allowed.

Select a season to load games
๐ŸŽฎ

Select a game from the list to edit its details

๐Ÿ“Š Statistics Tools

Tools for aggregating and managing player statistics.

๐ŸŽฎ
Game Stats Aggregator
Aggregate game-level stats (2026+) into season and career totals
โ†’
๐Ÿ“
Submit Game Stats
Enter player stats for individual games
โ†’
๐Ÿ“Š
Admin Stats Entry
Submit stats for any team with CSV bulk upload
โ†’
๐ŸŽฏ
Game Tracker Review
Convert live-tracked game stats to official records
โ†’
๐Ÿ”—
Link Player Accounts
Approve and manage player account linking requests
โ†’
๐Ÿ†
Badge Calculator
Calculate and award player achievement badges
โ†’
๐Ÿ“
Legacy Stats Aggregator
Re-aggregate for new auth users from playerStats (2025 & earlier)
โ†’
๐Ÿ’ก Stats Workflow (2026+)
  1. Captains submit game stats via Submit Game Stats OR track live via Game Tracker
  2. Admin reviews tracked games in Game Tracker Review and converts to official stats
  3. Admin runs Game Stats Aggregator weekly to update totals
  4. Run Badge Calculator to award achievement badges
  5. Season and career stats are automatically recalculated
๐Ÿ‘ฅ User Management
๐Ÿ”ง
User Management Tool
Combine duplicate records, migrate linked accounts, fix auth user issues
โ†’

Create placeholder user accounts for new players when rosters are finalized. Players can later link their real accounts to these profiles.

๐Ÿ“‹ What gets created:
  • users/{player_id} - User profile for authentication
  • aggregatedPlayerStats/{player_id} - Stats record (required for roster visibility)

Players will be added to the active season roster and appear in stats submission.

โž• Create Single User

Matches playerStats format for aggregation

๐Ÿ“‹ Bulk Import

Enter player names, one per line

๐Ÿ“ Preview Users to Create

๐Ÿ“‡ Existing Placeholder Users

Click refresh to load placeholder users
๐Ÿ“ข League Announcements

Send push notifications to all league members who have enabled announcements.

๐Ÿ“ฃ Send New Announcement

Urgent notifications bypass quiet hours
0/100 characters
0/500 characters

๐Ÿ“ฑ Notification Preview

โšพ Mountainside Aces now
Title
Message body

๐Ÿงช Test Notifications

Send a test notification to yourself to verify the system is working.

๐Ÿ“œ Recent Announcements

Click refresh to load recent announcements
๐Ÿงน Offseason Data Management
โš ๏ธ

Safe to wipe anytime. The offseason roster planner and draft tool use isolated collections (offseasonRosters and drafts) that are completely separate from live season data. Wiping them will not affect player stats, schedules, or any production data.

๐Ÿ“‹ Offseason Roster Planner

Collection: offseasonRosters/current + subcollections (changelog, presence)

Loading status...

๐ŸŽฏ Draft Tool

Collection: drafts/current

Loading status...

๐Ÿงช Sandbox Seasons (Setup Wizard Test Data)

Any seasons whose ID starts with sandbox-, created while testing the Season Setup Wizard.

Loading status...