Skip to content

qe201020335/SongPlayHistory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SongPlayHistory

release

Track all your scores and song votes. This is the actively maintained fork of the original SongPlayHistory mod.

Note

For information on the Vote and Play history data API, see For Modders.

Screenshot

Features

  • Keep detailed track of your plays
  • Show how many times you've played a single beatmap
  • Interop with BeatSaverVoting and DiTails to track your vote
  • Visualize your song preferences (👍/👎) (if you don't have BeatSaverVoting installed)

Requirements

  • BSIPA
  • BeatSaberMarkupLanguage
  • BS Utils
  • SiraUtil
  • SongCore

Available in ModAssistant or on BeatMods

Notes

  • Recording play data begins when you first install this plugin. (This doesn't apply to play counts.)
  • The data file SongPlayData.json is created in Beat Saber's UserData directory. You can delete individual records from there if you want.
  • The data are not uploaded anywhere so you have to backup the file when re-installing the game.
  • If you run into any problems, please contact me either via Discord (Search me in the BSMG discord server) or by open an issue.

For Modders

Vote Data

  • To access the vote data, use Zenject and inject IVoteTracker.
  • IVoteTracker is installed into PCAppInit, using SiraUtil's Location.App.

Play History Data

  • Inject IRecordManager
  • IRecordManager is installed into PCAppInit, using SiraUtil's Location.App.

Scoring Data Cache

  • Inject IScoringCacheManager
  • IScoringCacheManager is installed into PCAppInit, using SiraUtil's Location.App.

Credits