pdinklag / MinecraftStats

A Minecraft player statistics browser for the web - supports 1.13 and later!
https://discord.gg/brH5PGG8By
Other
227 stars 53 forks source link

DataVersion sensitivity #32

Closed pdinklag closed 5 years ago

pdinklag commented 5 years ago

Right now, MinecraftStats follows a bleeding edge philosophy, quickly incorporating changes made in shapshots. In the future, this may become more and more problematic as the JSON file format changes (see, for example, #31).

All stats should get a minimum and maximum DataVersion that they support. This way, player stats with a non-matching data version would simply be ignored. When sharing IDs, this would also allow for the same stat to support multiple versions of Minecraft.