EnteringPocketDimension
Gets called when the player is entering the pocket dimension.
Start a script section
!-- OnEvent EnteringPocketDimension
-- require @evPlayer $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerEnteringPocketDimensionEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is entering the pocket dimension. |
$evIsAllowed | bool value | Whether the event is allowed to run. |