wise-old-man / wiseoldman-runelite-plugin

The RuneLite plugin for the Wise Old Man project.
BSD 2-Clause "Simplified" License
3 stars 7 forks source link

Update players on login (if first login of the session) #27

Open psikoi opened 9 months ago

psikoi commented 9 months ago

We should auto-update players when they LOG IN (if it's the first login of the session). This would ensure their entire session will be tracked. Not just from the first logout onwards.

In the future, we could look into expanding this further like "also update on login if last logout was > 6h ago (aka they went to sleep and came back)", as that would be technically another play session.

But for now, the first log in of the client's session is fine, we'll track how this change affects API usage and then we can decide if we can/should expand it to be time-based as well.