DinkPlugin icon indicating copy to clipboard operation
DinkPlugin copied to clipboard

Send group data when getting drop from group content

Open Fuzznip opened this issue 9 months ago • 0 comments

Checklist

  • [x] I've searched the issues and pull requests for similar looking suggestions.
  • [X] I've checked the Unreleased section of the changelog for newly added features that sound like my suggestion.

Describe your Suggestion

Would be very cool to list the members inside a raid or group kc as a field like:

{
  "content": "%USERNAME% has looted: \n\n%LOOT%\nFrom: %SOURCE%",
  "extra": {
    "items": [
      {
        "id": 1234,
        "quantity": 1,
        "priceEach": 42069727,
        "name": "Some expensive raid item"
      }
    ],
    "source": "Very difficult raid",
    "category": "NPC",
    "killCount": 60,
    "rarestProbability": 0.001,
    "group": [
        "player1",
        "player2",
        "player3"
    ]
  },
  "type": "LOOT"
}

Reasoning

Would be very helpful as my web server is currently parsing dink data to handle automating our clan events, and group data can help automate split gp tracking, group-based event tracking, clan participation metrics, etc.

Have not really thought through any edge cases or implications of trying to find this data but thought I'd ask if it was possible :P

Fuzznip avatar May 18 '24 04:05 Fuzznip