Skip to content

Execute as Player but with OP #19

@Hutch79

Description

@Hutch79

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!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions