Skip to content

Add missing API code for operator permission levels and bypassesPlayerLimit #14177

Description

@Mickey42302

Is your feature request related to a problem?

My feature request is related to a problem with the API. You can only set/unset/check operator status; you can't set/check the permission level (0 to 4) or the bypassesPlayerLimit flag.

Describe the solution you'd like.

The best solution would be to add the missing API code. This would allow plugins to set/unset/check an operator's permission level and the bypassesPlayerLimit flag.

Describe alternatives you've considered.

I've already looked into adding built-in commands for managing operators. However, it was determined that expanding the API would be a better approach.

Other

I've left the code for the built-in operator management commands I created on my GitHub to give people an idea of what the API would need to support. As much as I would like to participate, I am not familiar with expanding/making an API. I only know how to use it.

https://github.com/Mickey42302/Paper/tree/operator/paper-server/src/main/java/io/papermc/paper/command

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions