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
Update: Custom Commands are now available without in-game cheats in
1.21.90
with@minecraft/[email protected]