Type Alias PermissionTable
PermissionTable : {
collect: PermissionValue;
release: PermissionValue;
remaining: Omit<PermissionValue, typeof auto | typeof autoEnabled>;
}
collect: PermissionValue;
release: PermissionValue;
remaining: Omit<PermissionValue, typeof auto | typeof autoEnabled>;
}
Type declaration
Readonly
collect: PermissionValueDictates what is allowed when it comes to a player collecting their run. A collect is an action which sends the rest of the items in a player's run.
- permissions.auto: Automatically when they complete their goal.
- permissions.enabled: Denotes that players may
!collect
at any time in the game. - permissions.autoEnabled: Both of the above options together.
- permissions.disabled: All collect modes disabled.
- permissions.goal: Allows for manual use of
!collect
command once a player completes their goal (disabled until goal completion).
Readonly
release: PermissionValueDictates what is allowed when it comes to a player releasing their run. A release is an action which distributes the rest of the items in a player's run to those other players awaiting them.
- permissions.auto: Distributes a player's items to other players when they complete their goal.
- permissions.enabled: Denotes that players may
!release
at any time in the game. - permissions.autoEnabled: Both of the above options together.
- permissions.disabled: All forfeit modes disabled.
- permissions.goal: Allows for manual use of
!release
command once a player completes their goal (disabled until goal completion).
Readonly
remaining: Omit<PermissionValue, typeof auto | typeof autoEnabled>Dictates what is allowed when it comes to a player querying the items remaining in their run.
- permissions.goal: Allows a player to query for items remaining in their run but only after they completed their own goal.
- permissions.enabled: Denotes that players may query for any items remaining in their run (even those belonging to other players).
- permissions.disabled: All remaining item query modes disabled.
Remarks
This command cannot have the permissions.auto or permissions.autoEnabled permission.
Mapping of restrict-able commands to their current permissions level.