Has Permission
Checks whether a player currently has a named gameplay permission; use it to protect privileged actions or routes.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes 2 wire inputs: Exec (exec), Player State (entity). Produces 2 outputs: Has Permission (bool), Exec Out (exec). Configured with 1 property (set on the gate, not wired): Permission Name (struct).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Exec | exec | No tooltip in source |
| Player State (PlayerState) | entity | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Has Permission (bHasPermission) | bool | No tooltip in source |
| Exec Out (ExecOut) | exec | No tooltip in source |
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Permission Name (PermissionName) | struct | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Exec_PlayerState_HasPermission
- Component class
- BrickComponentType_Exec_PlayerState_HasPermission
- Kind
- exec
- Family
- PlayerState
- Half size
- 5 × 5 × 2