๐ตYour own statistics system
The library supports a custom stats system.
You can create your stats system in 5 steps.
Setup with database.
If you want to use file storage, see
Create UserStats model (Choose the saving method - file or database)
Create a loader to load data from a file or database
Create UserStatsManager (It is important to manage users)
Create migration to create a database table (optional when you want to use file storage)
Setup all in your main class
How to add stats?
Create method getUserStatsOrCreate(player, arena) in your UserStatsManager.
Add stats