- Supported Skript Version
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- Supported Minecraft Versions
- 1.18
- 1.19
- 1.20
- 1.21
- 26.1
Important Note – Version 0.6 only:
There is an issue on line 106 because I forgot to add a ":" at the end of the condition. So if you are using version 0.6, you must add it at the end of that condition for it to work. Thank you
Requirements : Skript, Vault
About the Script:
This function handles a fully protected teleportation system with multiple safety checks.
It prevents unsafe teleports, movement exploits, combat escapes, and invalid locations.
Features:
- Blocks teleporting to unsafe Y levels (too low or too high).
- Prevents teleporting into lava or inside solid blocks.
- Ensures the ground below the destination is safe (not air).
- Cancels teleport if the player is riding a vehicle.
- Cancels teleport if the player moves during the countdown.
- Cancels teleport if the player takes damage.
- Prevents multiple teleports running at the same time.
- Applies cooldown after successful teleport.
- Deducts money only after the teleport succeeds.
- Aternos support.
- Supports custom prefixes to isolate variables for different teleport systems. (+0.6v)
- Includes a built‑in confirmation UI for unsafe teleport locations. (NEW | 0.7v)
Installation:
Place the script inside: Skript/scripts
Unsafe Teleport Confirmation Command:
Usage:
Examples:
Compatibility:
The script supports both Java and Bedrock players.
If you have any feedback or suggestions, I’d love to hear them so I can make it even better
There is an issue on line 106 because I forgot to add a ":" at the end of the condition. So if you are using version 0.6, you must add it at the end of that condition for it to work. Thank you
Requirements : Skript, Vault
About the Script:
This function handles a fully protected teleportation system with multiple safety checks.
It prevents unsafe teleports, movement exploits, combat escapes, and invalid locations.
- Blocks teleporting to unsafe Y levels (too low or too high).
- Prevents teleporting into lava or inside solid blocks.
- Ensures the ground below the destination is safe (not air).
- Cancels teleport if the player is riding a vehicle.
- Cancels teleport if the player moves during the countdown.
- Cancels teleport if the player takes damage.
- Prevents multiple teleports running at the same time.
- Applies cooldown after successful teleport.
- Deducts money only after the teleport succeeds.
- Aternos support.
- Supports custom prefixes to isolate variables for different teleport systems. (+0.6v)
- Includes a built‑in confirmation UI for unsafe teleport locations. (NEW | 0.7v)
Installation:
Place the script inside: Skript/scripts
Unsafe Teleport Confirmation Command:
Code:
/unsafeconfirm
# New (0.7v)
Usage:
Code:
TELEPORT_FUNC_tp(p: player, loc: location, locName: string, price: number, cooldown: number, tpTime: number, CancelOnMove: boolean, msgType: string, prefix: string = "TELEPORT_FUNC", isSafe: boolean = true)
# p: The player who will be teleported.
# loc: The target location.
# locName: Display name of the teleport destination.
# price: Money required to teleport (0 = free).
# cooldown: Time before the player can teleport again.
# tpTime: Countdown duration before teleporting.
# CancelOnMove: If true, teleport cancels when the player moves.
# msgType: Message type ("chat", "actionbar", or "title").
# prefix (+0.6v): Variable namespace used for cooldown and running-state tracking. If empty, the script automatically uses "TELEPORT_FUNC".
# isSafe (0.7v): (New) tells the system whether to perform safety checks (true) or bypass them and teleport immediately (false)
Examples:
Code:
TELEPORT_FUNC_tp(player, location(0, 65, 0, world("world")), "Spawn", 0, 0, 0, false, "chat")
# Teleports the player instantly to 0, 65, 0.
# No price, no cooldown, no countdown.
# Movement does NOT cancel the teleport.
# Messages are shown in chat.
# Uses the default prefix.
# Safety check is enabled here.
Code:
TELEPORT_FUNC_tp(player, location(150, 70, -40, world("world")), "Mine", 0, 10, 5, true, "actionbar", "", false)
# Teleports the player to the Mine after a 5-second countdown.
# Cooldown is 10 seconds after teleport.
# Movement cancels the teleport during countdown.
# Messages appear in the actionbar.
# Uses the default prefix.
# Safety check is disabled here.
Code:
TELEPORT_FUNC_tp(player, location(300, 80, 300, world("world")), "VIP Zone", 500, 20, 3, true, "title", "HOMES", true)
# Teleports the player to the VIP Zone for $500.
# Money is deducted ONLY after a successful teleport.
# 3-second countdown before teleport.
# Movement cancels the teleport.
# Cooldown is 20 seconds.
# Messages appear as a title/subtitle.
# Uses the "HOMES" prefix.
# Safety check is enabled here.
Code:
TELEPORT_FUNC_tp(player, {homes::%uuid of player%}, "Home", 0, 5, 4, true, "chat", "ANYTHING", false)
# Teleports the player to their saved home location.
# Free teleport with a 4-second countdown.
# Movement cancels the teleport.
# Cooldown is 5 seconds.
# Messages appear in chat.
# Uses the "ANYTHING" prefix.
# Safety check is disabled here.
Compatibility:
The script supports both Java and Bedrock players.
If you have any feedback or suggestions, I’d love to hear them so I can make it even better