Variable permissionsConst

permissions: {
    auto: 6;
    autoEnabled: 7;
    disabled: 0;
    enabled: 1;
    goal: 2;
} = ...

A const containing the possible command permissions, for commands that may be restricted.

Type declaration

  • Readonlyauto: 6

    Forces players to use this command after they have completed their goal.

    Only allowed on release and collect permissions.

  • ReadonlyautoEnabled: 7

    Allows players to use this command manually at any time and forces them to use this command after they have completed their goal.

    Only allowed on release and collect permissions.

  • Readonlydisabled: 0

    Prevents players from using this command at any time.

  • Readonlyenabled: 1

    Allows players to use this command manually at any time.

  • Readonlygoal: 2

    Allows players to use this command manually after they have completed their goal.