Skip to content

Data and storage

MariaDB, in the database named in the config (shared with Battlecore). Showdown owns:

Tables Holds
match_history, player_elo, players Ranked results, ratings, names
ranked_reward_players, ranked_reward_pairs, ranked_reward_matches, ranked_reward_jobs Reward counters, pair heat, audit log, payouts waiting for the player
tournaments, tournament_participants, tournament_matches, tournament_reward_jobs Tournaments, brackets and prize payouts
automated_tournaments Automated tournament templates
draft_pools, draft_pool_entries Draft pools and their Pokemon
draft_transfer_sessions, draft_transfer_participants, draft_transfer_rosters, draft_factory_transfers Draft teams waiting to be played on the events server

rulesets, seasons and arenas belong to Battlecore. Do not edit transfer or reward-job rows by hand. The Draft Factory matchups are built into the jar.