Skip to content

Feat/player hiding api#41

Open
TheBjoRedCraft wants to merge 4 commits intoversion/1.21.11from
feat/player-hiding-api
Open

Feat/player hiding api#41
TheBjoRedCraft wants to merge 4 commits intoversion/1.21.11from
feat/player-hiding-api

Conversation

@TheBjoRedCraft
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 16:55
@TheBjoRedCraft TheBjoRedCraft self-assigned this Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Paper-side “player status access” service to support hiding/visibility checks, and wires it into command argument resolution/suggestions so hidden players don’t appear to unauthorized viewers.

Changes:

  • Introduce CorePlayerStatusAccess API + Paper implementation with pluggable access handlers.
  • Apply access filtering to SurfPlayerArgument parsing and to online-name suggestions for both player arguments.
  • Update publishing workflow to include microservice artifacts/branch and tweak release naming; bump snapshot version.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
surf-core-paper/src/main/kotlin/dev/slne/surf/core/paper/api/access/CorePlayerStatusAccessImpl.kt Implements the Paper service that evaluates registered access handlers.
surf-core-api/surf-core-api-paper/src/main/kotlin/dev/slne/surf/core/api/paper/CorePlayerStatusAccess.kt Defines the new API and required-service delegation entrypoint.
surf-core-api/surf-core-api-paper/src/main/kotlin/dev/slne/surf/core/api/paper/command/argument/SurfPlayerArgument.kt Filters player argument parsing and suggestions via CorePlayerStatusAccess.
surf-core-api/surf-core-api-paper/src/main/kotlin/dev/slne/surf/core/api/paper/command/argument/SurfOfflinePlayerArgument.kt Filters online-name suggestions via CorePlayerStatusAccess.
gradle.properties Bumps project version to 2.0.1-SNAPSHOT.
.github/workflows/publish.yml Includes microservice artifacts/branch in publishing and adds release title suffix logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants