opProbe

Client player's "permission level >= 3" — the COMMANDS_ADMIN tier that gates commands/cheats. Two shapes, because the 26.1 permission rework left no single compiled name spanning the range:

  • <=1.21: Entity.hasPermissions(3).

  • 26.1+ : the numeric level became a permission set, and op levels are hierarchical — so permissions().hasPermission(COMMANDS_ADMIN) IS "level >= 3".

Neither shape resolving is a FAILURE, not a false: unknown must never read as "not an op".