Sueta

Random Teleport Skript

1.0

Use /rtp to random teleport.

·Plugin

How It Works:

  1. Command: The player types /rtp to trigger the teleport.
  2. Coordinate Generation: The Skript generates random coordinates (x and z), and determines the highest solid block at those coordinates.
  3. Safety Check: It checks whether the location is free from water or lava. If it’s dangerous, the Skript tries again.
  4. Teleportation: If the location is safe, the player is teleported to that spot and receives a confirmation message.
  5. Retry on Failure: If the teleport fails due to dangerous terrain, a retry mechanism is activated to attempt another teleport.

Similar projects

Plugin →