Skip to content

Allow ServerboundChangeGameModePacket if player has /gamemode permissions#13507

Merged
Owen1212055 merged 2 commits intoPaperMC:mainfrom
Warriorrrr:feat/gamemode-switcher-vanilla-perm-check
Apr 26, 2026
Merged

Allow ServerboundChangeGameModePacket if player has /gamemode permissions#13507
Owen1212055 merged 2 commits intoPaperMC:mainfrom
Warriorrrr:feat/gamemode-switcher-vanilla-perm-check

Conversation

@Warriorrrr
Copy link
Copy Markdown
Member

Closes #13489

Enabling the actual gamemode switcher still requires using the sendOpLevel API for vanilla clients, this allows the associated packet to be accepted on the server without the player being opped.

@Warriorrrr Warriorrrr requested a review from a team as a code owner January 5, 2026 14:55
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Jan 5, 2026
@twisti-dev
Copy link
Copy Markdown

Any updates on this?

Copy link
Copy Markdown

@JoField08 JoField08 left a comment

Choose a reason for hiding this comment

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

please merge

@Owen1212055 Owen1212055 merged commit 1f81973 into PaperMC:main Apr 26, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting review to Merged in Paper PR Queue Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

API-accessible way to allow using the gamemode switcher for non-ops

5 participants