RandomTP is a plugin that randomly teleports you into a coordinate specified region, or worldguard specified region.
Requires Worlguard and Vault.
Features:
- set a minimum X and maximux X coordinate for teleportation (similar for z)
- randomtp
in specified worlguard region
- tp
to random edge of specified worlguard region
(has only been tested with cuboid shaped regions)
- specify cost per randomtp
- allow/disallow usage in certain worlds
- enable/disable tp on water
- customize all messages
Config:
Code (YAML):
# Permissions:
# randomtp.rtptest - /rtptest
# randomtp.rtp - /rtp
# settings:
# 0: RandomTP in range of coordinates
# 1: RandomTP inside a region
# 2: RandomTP to edge region
Options
: 0
# Option 0: range of coordinates for teleportation:
MinX
: 100
MaxX
: 1000
MinZ
: 100
MaxZ
: 1000
# Option 1/2: world-guard
Region
:
"spawn"
# list of worlds the rtp command works in:
AllowedWorlds
:
-
"world"
# messages:
TeleportMessage
:
"&aTeleported to: "
PermissionDeniedMessage
:
"&cYou don't have the permissions to perform this command!"
WorldDeniedMessage
:
"&cRtp doesn't work in this world!"
NoLandInRegionMessage
:
"&cRegion defined in config only has water :("
InsufficientFounds
:
"&cYou don't have enough money to execute this command!"
SufficientFounds
:
"&a%COST% have been subtracted from your account!"
# other settings:
AllowTPOnWater
: true
UseCostPerTP
: false
CostPerTP
: 0.0
Commands:
- /rtptest
- /rtp
Permissions:
- randomtp.rtptest
- randomtp.rtp