pajlads / StealingArtefacts

Fork of Chris-Bitler/Runelite-StealingArtefacts
MIT License
1 stars 0 forks source link

change config using login name to account hash. #17

Open umer-rs opened 8 months ago

umer-rs commented 8 months ago

https://github.com/pajlads/StealingArtefacts/blob/86bd014cb7a849fc0c0a4a4ce73c7b78f3328f9e/src/main/java/io/cbitler/stealingartefacts/StealingArtefactsPlugin.java#L268

Change using the login name in the config group to the account hash. This would mirror how Runelite does it, and might help with account security for people who import/export their settings.

Also getUsername seems to be deprecated.

https://github.com/runelite/runelite/blob/f86b2b1bc75ee927a6971354ff2609e2de32555a/runelite-api/src/main/java/com/jagex/oldscape/pub/OAuthApi.java

pajlada commented 8 months ago

:+1: should be easy & non-disruptive

Would be fixed by #5 but it's not quite ready