Skip to content

Maintainer notes

  • The mod id is showdown; the repo folder and old name is compbattles.
  • Ranked and tournament battles are tracked in Showdown's own ActiveMatchRegistry, not Battlecore's session registry.
  • Mutual draws use NeoForge's CommandEvent to catch only a bare /endbattle from a participant of a Showdown match. /endbattle <player> and non-Showdown battles are left alone, so it works next to pixelmon-endbattle-perms. Ranked draws are saved with end cause showdown:mutual_draw. A tournament draw resets that bracket match for a replay.
  • The Draft Factory pool is copied byte for byte from Pokemon Showdown. Each entry is a paired matchup, not two random teams. Keep the pairing.
  • Every root command sets requires(hasPermission(0)) on purpose. On Youer, without it the command is missing from non-op players' command tree.
  • The MariaDB driver is repackaged without its module info and bundled with HikariCP, to avoid a split-package crash.