Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute as Player but with OP #19

Open
Hutch79 opened this issue Apr 1, 2024 · 0 comments
Open

Execute as Player but with OP #19

Hutch79 opened this issue Apr 1, 2024 · 0 comments
Assignees
Labels

Comments

@Hutch79
Copy link
Owner

Hutch79 commented Apr 1, 2024

Execute command as if player had OP

Possible Solution

https://www.spigotmc.org/threads/run-command-as-op.219696/

try {
      player.setOp(true)
} finally {
      player.setOp(false)
}

Also block every command which the player execute during this time.

Add possible security issue disclaimer to Plugin page!

@Hutch79 Hutch79 added the feature label Apr 1, 2024
@Hutch79 Hutch79 self-assigned this Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant