Skip to content

Feat/player hiding api#41

Merged
twisti-dev merged 7 commits intoversion/1.21.11from
feat/player-hiding-api
Apr 3, 2026
Merged

Feat/player hiding api#41
twisti-dev merged 7 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.

Comment thread gradle.properties Outdated
Comment thread .github/workflows/publish.yml
Co-authored-by: twisti <76837088+twisti-dev@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 3, 2026 10:00
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

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


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

Comment thread .github/workflows/publish.yml
@twisti-dev twisti-dev added this pull request to the merge queue Apr 3, 2026
Merged via the queue into version/1.21.11 with commit 0e7ad4b Apr 3, 2026
@twisti-dev twisti-dev deleted the feat/player-hiding-api branch April 3, 2026 11:33
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.

3 participants