mojira.dev
MCPE-162265

/setmaxplayers can't run on command blocks

Steps to Reproduce:

  1. Enter a command in a command block: /setmaxplayers 40

  2. Active the command block

Expected Results:
A log that the command is succeed will appear in the chat column

Observation Results:
The execution fails as "Unknown command"

Comments 4

Does it work if you enter the command in the chat UI?
Do you have cheats turned on? Cheats are required to use this command.

This report has been temporarily closed as Awaiting Response. It will automatically reopen when you comment with new information. Please be sure to provide all requested information. Reports that do not contain enough information may be closed as Incomplete.

You may find this Report Creation Form helpful for any future reports you create.

Yes, it also works with chat UI.
Cheats are enabled.

I think this is work as intended but it is annoying that it does like that and I have to type it on chat every time I rehost my world.

Only the owner of the world has sufficient permission to run that command, prob be marked as works as intended.

Hangekisobu

(Unassigned)

903316

Confirmed

Multiple

command, command-block

1.19.22 Hotfix, 1.20.41 Hotfix, 1.20.50, 1.20.61 Switch, 1.20.60, 1.20.70, 1.20.80, 1.21.0, 1.21.20

1.21.30.22 Preview, 1.21.30

Retrieved