@minecraft/server
    Preparing search index...

    Enumeration CommandPermissionLevelBeta

    The required permission level to execute the custom command.

    Index

    Enumeration Members

    Enumeration Members

    Admin: 2

    Any operator can run this command, but NOT command blocks.

    Any: 0

    Anything can run this level.

    GameDirectors: 1

    Any operator can run this command, including command blocks.

    Host: 3

    Any server host can run this command.

    Owner: 4

    Only dedicated server can run this command.