XP tracking support and position metadata
Checklist
- [x] I've searched the issues and pull requests for similar looking suggestions.
- [x] I've checked the
Unreleasedsection of the changelog for newly added features that sound like my suggestion.
Describe your Suggestion
Two different webhooks:
- XP gained
- Current position
XP gained is already implemented in other tracker plugins (example : https://github.com/osrseye/rseye-connector/ ), but it would be nice to have dink as the swiss knife. Format would just simply be:
skill startXp endXp
Current position is also implemented on other plugins, but reasoning is the same. Format:
x y plane isInstance (is that even possible? not sure)
Reasoning
While they wouldn't really be viable for use in discord notifications (due to the massive amount of notifications flying out), it would be beneficial for custom tools. We have a small tool for our clan where we do contests, and this data would greatly help us!
E: If you do agree with the suggestion, just don't have the time to do it, I might be able to implement it myself and do a PR.
Do you have the use case public somewhere? It would help guide the decision making if we know what the actual desired output would look like
Not currently, no. The main idea behind it would be placing all members on an OSRS map to see their locations constantly, but it's not yet built.
XP tracking would just allow weekly contests to be moderated in an easier manner
You could use Advanced > Custom Metadata Handler to get XP info on each login, which would be sufficient for weekly tracking: https://github.com/pajlads/DinkPlugin/blob/master/docs/json-examples.md#metadata
As for real-time location tracking, I'm not sure that's a use case we intend to support
Is the XP on login sufficient for your use case or do you require more frequent (batched) xp update notifications?
Closing due to lack of response; feel free to reply if your use case is not satisfied