Sueta
TE

Teleprt Random

1.4

Teleporting

·Plugin

Features :
- Teleport the player to random coordinates
- Permissions
- Cancel teleporting on lands where player can't build ( You can toggle it )
- You can set the teleportation area with a command
- You can change the locale
- Nether support
- All protection/anti-grief plugins support
- Custom cooldown
- Multiple world support
- Select the biome support

Commands :
/rtp; /wild; /random
to teleport the player to random coordinates
/rtp <player> <world> <biome> to teleport a player to a specified world and a specified biome
/rtp reload to reload the configuration file
/rtp cooldown <seconds> to set the teleportation cooldown
/rtp delay <seconds> to set the delay before teleportation
/rtp set <integer> to set the teleporation area.
/rtp tpprotection <true|false> to toggle if players can be teleported or not in protected lands. True means that players will never be teleported to protected areas.

Permissions :
- rtp.tp to use command /rtp
- rtp.reload to use command /rtp reload
- rtp.tp.others to teleport other players to selected world (and biome)
- rtp.cooldown to set the teleportation cooldown
- rtp.delay to set the teleportation delay
- rtp.bypass to bypass the teleportation cooldown
- rtp.tpprotection to toggle "protected areas protection"
- rtp.worlds to be able to teleport to any world
- rtp.world.[world] to be able to teleport to a specific world
- rtp.biomes to be able to teleport to any biome (requires rtp.worlds or rtp.world.[world] )
- rtp.biome.[biome] to be able to teleport to asked biome (requires rtp.worlds or rtp.world.[world] )

Biomes List:

Biomes

BEACHES
BIRCH_FOREST
BIRCH_FOREST_HILLS
COLD_BEACH
DEEP_OCEAN
DESERT
DESERT_HILLS
EXTREME_HILLS
EXTREME_HILLS_WITH_TREES
FOREST
FOREST_HILLS
FROZEN_OCEAN
FROZEN_RIVER
HELL
ICE_FLATS
ICE_MOUNTAINS
JUNGLE
JUNGLE_EDGE
JUNGLE_HILLS
MESA
MESA_CLEAR_ROCK
MESA_ROCK
MUSHROOM_ISLAND
MUSHROOM_ISLAND_SHORE
MUTATED_BIRCH_FOREST
MUTATED_BIRCH_FOREST_HILLS
MUTATED_DESERT
MUTATED_EXTREME_HILLS
MUTATED_EXTREME_HILLS_WITH_TREES
MUTATED_FOREST
MUTATED_ICE_FLATS
MUTATED_JUNGLE
MUTATED_JUNGLE_EDGE
MUTATED_MESA
MUTATED_MESA_CLEAR_ROCK
MUTATED_MESA_ROCK
MUTATED_PLAINS
MUTATED_REDWOOD_TAIGA
MUTATED_REDWOOD_TAIGA_HILLS
MUTATED_ROOFED_FOREST
MUTATED_SAVANNA
MUTATED_SAVANNA_ROCK
MUTATED_SWAMPLAND
MUTATED_TAIGA
MUTATED_TAIGA_COLD
OCEAN
PLAINS
REDWOOD_TAIGA
REDWOOD_TAIGA_HILLS
RIVER
ROOFED_FOREST
SAVANNA
SAVANNA_ROCK
SKY
SMALLER_EXTREME_HILLS
STONE_BEACH
SWAMPLAND
TAIGA
TAIGA_COLD
TAIGA_COLD_HILLS
TAIGA_HILLS
VOID

Config file :

config.yml

#================================================
#= =
#= Random Teleport by TrungB =
#= Version 1.4 =
#= =
#================================================

#Prefix of this plugin
#You probably can change it!
prefix: "&f[&6TeleRandom&f] "

message:
#The message showed when you do the command /random
teleport: "&fTeleported you to"

#Add effect speed I in 60s for player do command
effect: "&fEffect Add: &6SPEED II &f(30s)"

#The message showed when you do the command /rtpreload
reload: "&aConfig reloaded!"

#Notification when you don't have premission
no-permission: "&cYou don't have premission to do this command!"

#Notification when you can't use that command in a few second
cant-use: "&cYou can't use that command for another &f$secondsLeft$ &cseconds!"

#Notification cancelled when you move
cancel: "&cTeleportation cancelled because you moved."

#Value set must be an integer
be-integer: "&cThe value must be an integer!"
set: "&aThe TeleRandom area has been set in a &6$value$ &f* &6$value$ &asquare around you!"

#Notification when you set cooldown time to teleport
cooldown-set: "&aThe new teleportation cooldown has been set!"

#Notification when you set delay time to wait for teleport
delay-set: "&aThe new teleportation delay has been set!"
delay-start: "&aThe teleportation will start in &f$delay$ &aseconds. &cDon't move!"

#Messagge showed when target player is not online
not-online: "&cError : &fThat player isn't online !"

#Messagge showed when you type a wrong world
doesnt-exists: "&cError : &fThat world doesn't exists !"

#Messagge showed when can't found a location
not-found: "&cError : &fTeleport location was not found."

#Usage help will showed when you type wrong command!
usage-set: "&cUsage : &f/rtp set <value>"
usage-tp-protection: "&cUsage : &f/rtp tpprotection [True|False]"
usage-cooldown: "&cUsage : &f/rtp cooldown <integer>"
usage-delay: "&cUsage : &f/rtp delay <integer>"

#Help message...You probably can change it to everything you want
#<biome> allow in Normal World
rtp-help: "&c/random, /rtp, /wild : &fTeleports in a random location"
rtp-others-help: "&c/rtp <player> <world> <biome> : &fTeleports someone into asked world."
set-help: "&c/rtp set <size(Integer)> : &fSet the size of the teleportation area around you."
cooldown-help: "&c/rtp cooldown <seconds> : &fSet teleportation command cooldown."
reload-help: "&c/rtp reload : &fReloads the config!"
tp-protection-help: "&c/rtp tpprotection [True|False] : &fAllows players to be teleported in protected areas. If True, they will never be teleported into a protected area."
delay-help: "&c/rtp delay [seconds] : &fSet the delay before teleporting the player."

cooldown: 10
delay: 6

#Setting teleport to protect area.
tpprotection: true

#Range size worlds
Worlds:
world:
zMax: 10000
zMin: -10000
xMax: 10000
xMin: -10000
world_nether:
zMax: 10000
zMin: -10006
xMax: 10048
xMin: -10000
world_the_end:
zMax: 10000
zMin: -10000
xMax: 10000
xMin: -10000

Similar projects

Plugin →