Skip to content

Data and storage

pixelmonhunt/playerdata.json at the server root holds every player's hunt, cooldown and recent catches. It is outside config/ on purpose, so restoring a config backup does not roll hunts back. It is saved about once a second when something changes, and again on shutdown. A hunt whose species no longer exists is dropped on load.

config/hunt/logs.json records what each player has been paid.

Each catch is also stamped inside the Pokemon's own data (persistent data), which is how "caught after the hunt started" is checked.