random_teleport

Teleports the player to a random location within a radius, landing on the highest safe block.

Categories: movement

Required arguments

Key(s)DescriptionType
radiusThe maximum distance from the player's current position to teleport. Supports expressions.EXPRESSION

Optional arguments

Key(s)DescriptionTypeDefault
min_radiusThe minimum distance from the player's current position to teleport. Supports expressions.EXPRESSION0

Trigger parameters required

  • PLAYER

Example

effects:
  - id: random_teleport
    args:
      radius: 10 + %level%
      min_radius: %level% * 0.1 # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue