#Error: Could not find export 'CommandPermissionLevel' in module '@minecraft/server'

1 messages · Page 1 of 1 (latest)

cursive lichen
#

I'm getting the attached error message when I try to register custom commands.

VSCode recognizes it and I have also attached images of my package.json and manifest.json dependencies. They both say they depend on 2.0.0-beta, so I'm not sure why the custom command API isn't being found.

whole violet
cursive lichen
cursive lichen
#

Oh, could the problem be that it only works in preview versions?

silent fog
silent fog