@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
Created Issue:
@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> falseSee 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): obee39
Changed Description:
Code:
console.log(`OP: ${player.name} ${player.isOp()}`);Console output:
[2023-08-04 18:09:45:969 INFO] [Scripting] OP: <redacted> falseSee 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):obee39Code:
console.log(`OP: ${player.name} ${player.isOp()}`);Console output:
[2023-08-04 18:09:45:969 INFO] [Scripting] OP: <redacted> falseSee 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>
Added Linked Issues:
duplicates

Similar issue is
MCPE-169433but 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.