Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who is entering the pocket dimension.
$evIsAllowedbool valueWhether the event is allowed to run.