So I was using this plugin with the desktop version of MusicBee and like the poster above said, the plugin uses the location where MusicBee is installed to save the playlist history, and writing to this location requires Administration privileges by default. I wanted to move to using the Microsoft Store version of MusicBee and thus this plugin didin't work at all because of this issue. So I modified the plugin to use the normal user accessible folder to do its thing.
Download it here: Modified PlaylistHistory plugin (https://1drv.ms/u/s!AmxDwvq11Y6WstAIZCuKEm51HloAiA?e=GJa97J)
May I ask where does your version stores its history?
Sorry for the late reply. It saves to
mbApiInterface.Setting_GetPersistentStoragePath(), "PlaylistHistory.History.txt"
which translates to
if using the standalone version, or
%localappData\Packages\50072StevenMayall.MusicBee_kcr266et74avj\LocalCache\Roaming\MusicBee
if using the MS Store version.