Check whether lastPlayed reveals vanished players in /players/{player}
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- kotlin
- Domain
- backend-api-design
Research direction
Read PlayerActivityHandler and check the supported Paper version’s OfflinePlayer.getLastSeen() behavior for online players. Compare the lastPlayed value for vanished players with the existing handling described for /api/v1/commons/server/players and /api/v1/plugins/mineauth/players/{player}. Done when the behavior is verified and, if presence leaks, the value is changed and documented.
Written by the indexing model from the issue text.
Description
Background
#542 hides vanished players from GET /api/v1/commons/server/players, the minecraft.players.online gauge, and the online field of GET /api/v1/plugins/mineauth/players/{player}.
Possible leak
PlayerActivityHandler fills lastPlayed from OfflinePlayer.getLastSeen(). On Paper this is expected to return the current time while the player is online, so a vanished player's lastPlayed may still show that they are on the server. This has not been verified.
Tasks
- Confirm the behaviour of
getLastSeen()for an online player on the supported Paper version. - If it leaks presence, return a value that does not reveal it for vanished players (for example the previous
lastSeen, orlastLogin), and document the behaviour.
- Dominant language
- Kotlin
- Stars
- 1
- Forks
- 1
- Avg merge
- 23h 35m
- Merged PRs (30d)
- 36
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from morinoparty/MineAuth
-
enhancement priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
morinoparty/MineAuth#546 ·
Maintainers usually reply within 1 day
-
chore priority: low
Difficulty 3/5 1-2 days Newbie friendliness 55/100
morinoparty/MineAuth#549 ·
Maintainers usually reply within 1 day
-
enhancement priority: low security
Difficulty 4/5 3-5 days Newbie friendliness 56/100
morinoparty/MineAuth#547 ·
Maintainers usually reply within 1 day
-
enhancement priority: medium
Difficulty 4/5 3-5 days Newbie friendliness 52/100
morinoparty/MineAuth#545 ·
Maintainers usually reply within 1 day
-
enhancement priority: low security
Difficulty 5/5 Over a week Newbie friendliness 25/100
morinoparty/MineAuth#541 ·
Maintainers usually reply within 1 day
All issues in morinoparty/MineAuth
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hnvy/ledgedroid#20 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
PixelPlayerHQ/PixelPlayerOSS#325 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MetrolistGroup/Metrolist#5789 ·
Maintainers usually reply within 1 day