Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /tpa <player>:
- Description: Request a teleport to a player
- Usage: /tpa <player>
- Executable by: players
- Permission: essentials.tpa
- Trigger:
- If {vanish.%player-argument%} is "true":
- Send "<red>There is no player online whose name starts with '%player-argument%'" to player
- Send "<white>Correct usage: /tpa <player>" to player
- Stop
- Send "<light green>Requesting teleport to %player-argument%." to player
- Send "<gold>%player% would like to teleport to your location. Type /tpaccept to accept the request." to player-argument
- Set {tpafrom::%player-argument%} to player
- Set {tpato::%player-argument%} to player-argument
- Set {tpatime::%player-argument%} to now
- Add 30 minutes to {tpatime::%player-argument%}
Advertisement
Add Comment
Please, Sign In to add comment