• Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.13
  2. 1.14
  3. 1.15
  4. 1.16
  5. 1.17
This is a simple, noob-friendly RandomTP Skript.

Installation process: Download Skript here: https://github.com/SkriptLang/Skript/releases, restart your server, place randomtp.sk into /plugins/Skript/scripts/, type /sk reload randomtp.sk

This RandomTP Skript comes with many adjustable options such as: Region checks, Blacklisted blocks, Decreased "Donator" cooldowns, Console Post-TP command, Sound effects, Particle effects... and more.

90% of functionality is adjustable within the configuration section.

No addons are required to run this Skript.

I will gladly help you with adjustments or installation through Discord (Sombrerian#0509)
#
# Which world should players randomly teleport in?
# World you specify here is the world players get randomly teleported in, no matter
# which world they reside in at the time of command execution (including nether, end...)
world: world
#
# Minimum X & Z coordinates.
# Do not set this value higher than your world border, it will cause issues.
# Type "/worldborder get" to see your world border size.
minimumxz: -1000
#
# Maximum X & Z coordinates.
# Do not set this value higher than your world border, it will cause issues.
# Type "/worldborder get" to see your world border size.
maximumxz: 1000
#
# Specify blocks to avoid from being dropped on. It is highly recommended to not
# remove default values, unless you want players drowning in lava.
# Valid blocks that can be blacklisted: https://github.com/SkriptLang/skript-aliases/blob/master/building.sk
blockblacklist: lava or water or cactus or bamboo or stone or any leaves
#
# How many times should we attempt to randomly teleport a player before giving up?
# This depends on regioncheck and blacklisted blocks. For example, if first location attempt
# is lava (assuming lava is under "blockblacklist"), then we increase attempt amount by 1 and try
# to find a new location for the player. Recommended and probably the most appropriate value is 20.
maxattempts: 20
#
# How long should the delay (in ticks) between teleportation attempts be?
# Lower value means faster teleportation attempts, but possible lag.
# It is recommended to keep this set to 5 (meaning max 4 attempts per second)
# 20 ticks = 1 second
attemptdelay: 5
#
# Should we enabled region check? Having this enabled will prevent players from getting dropped
# onto regions/claims (supports WorldGuard, GriefPrevention & other land claiming plugins...)
# Valid switches: true/false
regioncheck: true
#
# Warmup message
# Let players know that they are getting randomly teleported.
# Only works if "chatfeedback" is set to true
# -
# Set to "none" to disable this feature.
warmupmessage: "&aHang tight... Looking for a safe spot!"
#
# Drop-off message
# Let players know that they were successfully randomly teleported.
# Only works if "chatfeedback" is set to true
# -
# Set to "none" to disable this feature.
dropoffmessage: "&aYou have been dropped off at %location at player%"
#
# Console Post-TP command
# This command gets executed by console 1 second after a player gets randomly teleported.
# Use %player% if you want to run a command specifically with that player's name. For example,
# if a player by the name of "Bob" randomly telepots while Post-TP command is set to
# "/kick %player%", then Bob gets kicked.
# -
# Set to "none" to disable this feature.
posttpcommand: "none"
#
# Dedicated command
# Just in case you don't want players constantly typing /randomtp.
# This can be set to any non-existent command.
dedicatedcommand: /play
#
# Command cooldown (in seconds)
# Set this to 0 for no cooldown.
rtpcooldown: 120
#
# Decreased command cooldown (in seconds)
# Possible donator perk? Players with permission "randomtp.decreasedcooldown" will be
# cooled down for amount of seconds specified here, instead of regular "rtpcooldown".
# Set this to 0 for no cooldown.
rtpdecreasedcooldown: 20
#
# Cooldown message.
# Players will be presented with this message when they try to randomly teleport while on cooldown.
# Only works if cooldowns are enabled.
# %{rtpcooldown.%player%}% is the placeholder to show remaining seconds.
cooldownmessage: "&cYou are on cooldown, %{rtpcooldown.%player%}%&c seconds remain!"
#
# Particle mode
# Particles are summoned at player's location once successfully randomly teleported.
# Valid switches: none, ball, splash
# -
# "none": Disable particles
# "ball": Particles summoned in a 'ball'-a-like shape
# "splash": Particles summoned beneath the player
particlesmode: "ball"
#
# Particle effect radius
# Only applies if you have particles are enabled!
particleradius: 2
#
# Particle type
# List of valid particles: https://www.digminecraft.com/lists/particle_list_pc.php
# -
# Make sure to exclude underscores! For example, if you are setting your particle to
# enchanted_hit, remove _, having the final value set as: enchanted hit
particlestype: happy villager
#
# Sound effect
# List of valid sounds: https://www.digminecraft.com/lists/sound_list_pc.php
# -
# Set to "none" to disable this feature.
# -
# Make sure to reaplce all dots with underscores! For example, if you are setting your sound effect
# to "BLOCK.BEEHIVE.SHEAR", replace all . with _, having the final value set as: "BLOCK_BEEHIVE_SHEAR"
soundeffect: "ENTITY_ENDER_DRAGON_SHOOT"
#
# Permission to use /randomtp (and alias) command.
# You can cut out line 65 of this Skript if you don't wish to use this permission.
cmdpermission: randomtp.use
#
# Should we enable debug mode?
# This will play unnecessary, but useful chat messages to the player.
# Valid switches: true/false
debug: false
randomtp.use Access to /randomtp & it's alias
Ssskript Discord server: https://discord.gg/XjMJC8xauf
My Discord: Sombrerian#0509
Email: [email protected]
Author
Sombrerian
Downloads
30
Views
678
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Sombrerian

Latest updates

  1. RandomTP 1.5

    Removed one unnecessary line from config
  2. RandomTP 1.4

    Improved configuration + added warmup message option
  3. RandomTP 1.3

    Fixed a dumb typo within the configuration section