Better Statistics Screen

Better Statistics Screen

21M Downloads

[Suggestion] Add `DeathLog` mod support

latipun7 opened this issue ยท 3 comments

commented

What is this suggestion for?

Mod Itself

Suggestion

DeathLog has a button to access death log on vanilla Statistics screen. Please add support to add DeathLog button on BSS.
Thank you.

Code of Conduct

  • I agree that I will be available later for any follow-up questions to help with implementing the suggested thing.
commented

Hello, and thank you for the suggestion!
Aside from this issue being a duplicate of #13, there are unfortunately technical limitations preventing me from implementing this feature.

In order for me to implement this, the other mod (in this case DeathLog), would have to provide some sort of API or something that functions like an API, that is reliable, and that other mod developers can use in order to open the DeathLog Screen from another mod such as this one.
Now, as you can probably already tell by now, DeathLog features no APIs. This basically means I do not have any tools to actually make this possible.

I did however, eventually make my own APIs for this mod, back in v3.0. As of right now, betterstats has APIs for various things, including:

  • Creating custom statistics tabs, and
  • Adding custom items to the menu-bar (likely what DeathLog wants)

And with the API I implemented into this mod, I am hoping other mod developers can do stuff to make their mods more available through this mod. I of-course, am trying to find ways (especially as of lately) to support other mods and their modded features, but in some cases such as this one, I simply don't have the tools to make it possible.

In other words, I am basically saying that perhaps the developer of DeathLog could either implement an API in their own mod, or use this mod's API to implement support themselves. If they or any other mod developer out there, ever needs help using my APIs, they may feel free to reach out to me and ask me anything.

So hopefully that explains things for you. If you need anything else or have any questions, feel free to let me know. As for this issue, I think it will have to be closed as "Not planned".
Have a great day (or night)!

Edit: typo fixes

commented

Thank you for the reply, I understand.
Sorry, I forgot to search the issue before opening new issue ๐Ÿ™

commented

It's been quite a while since I posted gliscowo/deathlog#38
Given there is no response for now, I have decided to close this issue so it doesn't end up open indefinitely. If a way to implement this presents itself, then this issue may be reopened and the feature may be implemented.
Thanks again, and have a great day!