Skip to main content
HotPotato tracks wins, losses, games played, transfers, and more. This page covers where that data lives and how to move it to a database.

Choose a backend

Set the storage type in config.yml:
storage:
  type: yaml
TypeBest for
yamlSingle servers. The default, no setup needed.
sqliteSingle servers that want a real database file.
mysqlMultiple servers sharing one stats database.

Backends

The default. Stats are kept in a file in the plugin folder. No setup needed.
storage:
  type: yaml
  yaml:
    file: stats.yml
Keep your database password out of any file you share publicly. Do not paste your real config.yml into a support channel without removing it first.

Saving and the leaderboard

stats:
  enabled: true
  leaderboard-size: 10
  save-interval-seconds: 60
  leaderboard-refresh-seconds: 30
  • save-interval-seconds is how often stats are written out.
  • leaderboard-size is how many ranks the leaderboard keeps, used by the top placeholders.
  • Set stats.enabled: false to turn tracking off entirely.