mojira.dev
MCPE-173980

@minecraft/server (gametest) player.isOp() returns false

Code:

console.log(`OP: ${player.name} ${player.isOp()}`);

Console output: 

[2023-08-04 18:09:45:969 INFO] [Scripting] OP: <redacted> false

See screenshot for confirmation that I am op. Performing "op <name>" into the server's stdin results in:

[2023-08-04 18:32:13:103 ERROR] Could not op (already op or higher): <name>

Linked issues

Attachments

Comments 2

Similar issue is MCPE-169433 but that appears unrelated.

Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of BDS-18725, as that ticket contains more detailed information and/or has already been triaged by Mojang.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

stevarino

(Unassigned)

Unconfirmed

Windows

Windows

Script-API

1.20.13 Hotfix

Retrieved