/importscores
Imports scores directly from an osu! multiplayer lobby using the osu! API.The multiplayer lobby ID from osu! (e.g., “118575195”)
The match ID in the database (e.g., “A1”, “Q1”)
Usage Example
- Fetches all game data from the osu! API for the specified lobby
- Matches beatmap IDs to the round’s map pool
- Matches osu! user IDs to internal database users
- Calculates grades based on score statistics
- Inserts all scores into the database
The osu! multiplayer lobby must be public for the API to access it. For private lobbies, use
/importscores-privaterooms instead.- Handles multiple games in a single lobby
- Maps beatmaps to mod slots (NM1, HD2, etc.)
- Caches user lookups for performance
- Reports the total number of scores imported
/importscores-privaterooms
Manually imports scores from a CSV or TXT file for private lobbies.The match ID in the database
CSV or TXT file containing score data (attach using Discord file upload)
Usage Example
- Column 5: Beatmap ID
- Column 7: osu! User ID
- Column 9: Score
- Column 10: Accuracy
- Column 13: Max Combo
- Column 18: Grade
Each line must start with the tournament name (configured in the server). Other lines are ignored.
- Downloads the file from Discord
- Parses CSV format with quoted field support
- Validates match exists and retrieves round information
- Maps beatmap IDs to mod slots
- Maps osu! user IDs to internal users
- Saves all valid scores to the database
/addmplinkid
Adds the osu! multiplayer lobby ID to a match record.The match ID in the database
The numeric MP link ID from osu!
Usage Example
/importscores.
Find the MP link ID in the osu! multiplayer lobby URL:
https://osu.ppy.sh/community/matches/[ID]/matchups
Displays a paginated list of all matches.Usage Example
- Match ID
- Team names (Red vs Blue)
- Scheduled date and time
- 5 matches per page with navigation buttons
/stats
Generates comprehensive statistics for a qualifier round using Z-sum normalization.The round ID to generate statistics for
Usage Example
- Z-Sum: Normalized score across all maps (accounts for map difficulty variance)
- Average Score: Raw score average across all plays
- Map Rankings: Rank on each individual map
- Per-map Statistics: Mean and standard deviation for each map
- Embed showing top 10 players
- Complete CSV file with all player statistics
- Rankings sorted by Z-Sum (primary) and average score (secondary)
Z-Sum Calculation
For each player on each map:- Harder maps don’t dominate the scoring
- Consistent performance is rewarded
- Outlier protection via standard deviation
The CSV includes detailed breakdowns showing rank and score for each map slot (NM1, HD1, HR2, DT3, etc.).
/preparescores
Admin only. Generates a seeding CSV file compatible with bracket generators.The round ID to prepare scores for
Usage Example
- Team names and flags
- Scores for each map in the pool
- Seeds calculated from Z-sum rankings
- Mod-specific seeds (NM, HD, HR, DT)
- Map rankings for each player
- Player roster with osu! IDs
Maps are automatically ordered by mod type (NM → HD → HR → DT → TB) and then by number.