mojira.dev
MCPE-221752

[fixed] Custom Command not available without cheats

Repro, using on 1.21.82 with @minecraft/[email protected]:

system.beforeEvents.startup.subscribe((event: StartupEvent) => {
  const cmd = {
    cheatsRequired: false, // according to docs should default to false anyway
    description: "...",
    name: "acme:mycommand",
    permissionLevel: CommandPermissionLevel.Any,
  };
  event.customCommandRegistry.registerCommand(cmd, () => undefined);
});

Expected: custom command to be available without enabling cheats.

Actual: custom command requires cheats to use.

Possibly related: MCPE-219395

Linked issues

Comments 1

Update: Custom Commands are now available without in-game cheats in 1.21.90 with @minecraft/[email protected]

4444

(Unassigned)

Unconfirmed

Windows

Windows 11

1.21.82 Hotfix

Retrieved