mojira.dev
MCPE-221752

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 2

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

Fixed: Custom commands are now available in retail version (1.21.100) with stable release of scripting (@minecraft/[email protected]) without enabling in-game cheats.

4444

(Unassigned)

Unconfirmed

Windows

Windows 11

1.21.82 Hotfix

Retrieved