Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--Random Tp--#
- # __ ___ ___ ____
- #\ /\ / /\ |__| | | O | | |
- # \ / \ / /--\ |\ | | | | | | ___
- # \/ \/ / \ | \ | | | | | |____|
- #This plugin will work for normal worlds, It is just not
- #optimized for that yet. When a player is teleported, all
- #of the blocks around them are set to air to prevent them
- #from dying. This plugin was made for a flat world so
- #use at your own risk. Don't want to take your chances?
- #then try it yourself before giving players the ability
- #to use this command.
- options:
- #Minimum amount of blocks farm from X cord to tp to
- min.x: -10000
- #maximum amount of blocks farm from X cord to tp to
- max.x: 10000
- #Minimum amount of blocks farm from Z cord to tp to
- min.z: -10000
- #maximum amount of blocks farm from Z cord to tp to
- max.z: 10000
- #What y will the player be at when rtped (A grass block will be placed underneath the player)
- tp.y: 4
- #Cooldown
- cooldown: 10 minutes
- #Cooldown Message
- cooldownm: &cYou need to wait 10 minutes between uses of this command!
- #Permission
- permission: randomtp.use
- #No permission message
- PermMsg: &4You do not have permission to use this command!
- Command /randomtp:
- description: Teleports player to random location not in water
- permission: {@permission}
- permission message: {@PermMsg}
- aliases: /rtp, /wild, /random
- cooldown: {@cooldown}
- cooldown message: {@cooldownm}
- trigger:
- set {_loc::new} to location at random number between {@min.x} and {@max.x}, {@tp.y}, random number between {@min.z} and {@max.z}
- teleport player to {_loc::new}
- set block beneath player to grass block
- loop all blocks in radius 1 around player:
- set loop-block to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement