mojira.dev
MCPE-177129

In MinecraftServer API, setOp() will cause host can't use /setmaxplayer anymore

It banned me to use /setmaxplayer in a localword
Code:

import { world } from "@minecraft/server"

world.getPlayers()[0].setOp(false)
world.getPlayers()[0].setOp(true)

after that, /setmaxplayers can't be used, and also after restart. Still don't recovered

Comments 2

Were you able to use /setmaxplayers before you used SetOP ?
If not, then this is likely a duplicate of MCPE-163495.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

jasonlaubb

(Unassigned)

Unconfirmed

Multiple

Window 11

1.20.41 Hotfix

Retrieved