drekdrek / grinding-stats

Openplanet plugin which shows statistics
https://openplanet.dev/plugin/grindingstats
MIT License
6 stars 5 forks source link

Exporting data to be used as a dependency #40

Open FabianvZ opened 1 month ago

FabianvZ commented 1 month ago

Lokulicious and I have created our own plugin Discord Rivalry Ping. https://openplanet.dev/plugin/discordrivalryping. This plugin sends a message via a discord webhook when you beat your clubmates. We also send the grinding stats in this message. Currently we are running the grinding stats plugin within our plugin, but we would like to be able to use your plugin as a dependency. The data we use are the session and total stats for time, resets and respawns. It would also be nice if the Timer::to_string() method could be exported since we use this as well.

drekdrek commented 1 month ago

I've been thinking about this as I've been working on my big update/rewrite. I'm currently stuck trying to optimize recap, as it crashes when you load too many files.

I'll take a look at exposing as much data as possible as efficiently as possible.