random_teleport
Teleports the player to a random location within a radius, landing on the highest safe block.
Categories: movement
Required arguments
| Key(s) | Description | Type |
|---|
radius | The maximum distance from the player's current position to teleport. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
min_radius | The minimum distance from the player's current position to teleport. Supports expressions. | EXPRESSION | 0 |
Trigger parameters required
Example
effects:
- id: random_teleport
args:
radius: 10 + %level%
min_radius: %level% * 0.1 # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |