RandomTP icon

RandomTP -----

Lightweight, Sound effects, Particle effects, Region checks, Block blacklist, Custom cooldowns



A feature-packed RandomTP Skript for your Survival server

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.
minimum-xz: -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.
maximum-xz: 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
block-blacklist: 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.
max-attempts: 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
attempt-delay: 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
region-check: true

# Warmup message
# Let players know that they are getting randomly teleported.
# -
# Set to "none" to disable this feature.
warmup-message: "&aHang tight... Looking for a safe spot!"

# Drop-off message
# Let players know that they were successfully randomly teleported.
# -
# Set to "none" to disable this feature.
dropoff-message: "&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.
posttp-command: "none"

# Dedicated command
# Just in case you don't want players constantly typing /randomtp.
# This can be set to any non-existent command.
dedicated-command: /play

# Command cooldown (in seconds)
# Set this to 0 for no cooldown.
rtp-cooldown: 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.
rtp-decreased-cooldown: 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.
# %{rtp-cooldown.%player%}% is the placeholder to show remaining seconds.
cooldown-message: "&cYou are on cooldown, %{rtp-cooldown.%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
particle-mode: "ball"

# Particle effect radius
# Only applies if you have particles are enabled!
particle-radius: 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
particle-type: 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"
sound-effect: "ENTITY_ENDER_DRAGON_SHOOT"

# Permission to use /randomtp (and alias) command.
permission: 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
randomtp.decreasedcooldown Decreased command cooldown (configurable)
Ssskript Discord server: https://discord.gg/XjMJC8xauf
My Discord: Sombrerian#0509
Email: [email protected]
Resource Information
Author:
----------
Total Downloads: 337
First Release: Nov 8, 2021
Last Update: Nov 12, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings