Texture pack Tpa by paul90317
- 224
- 7.25 KB
- 1.19.4
- April 18, 2023
- April 17, 2023
- Data PacksMiscellaneous
Name | Tpa |
---|---|
Author | paul90317 |
Description | non-op teleport command |
Information | Downloads: 224 Version: 1.19.4 Size: 7.25 KB Updated at: April 17, 2023 Created at: April 18, 2023 |
Tags | Data Packs Miscellaneous |
I make a data pack that lets non-op players can teleport to other people in the server.
==============================================================
/trigger tpa set <PlayerID>
- The above command makes you send a teleporting request to the player whose id is <PlayerID>
You can press the tab to see all players' IDs.
==============================================================
- if your ID is 2, and the player you want to teleport to is 3, you can use the Tpa.
/trigger tpa set 3
- then player 3 uses Tpaccept to accept your teleportation.
/trigger tpaccept set 2
- if you don't want to accept teleportation every time, use the command to automatically accept.
/trigger tpaccept set -1
- if you want to cancel your teleportation to player 3, use the command
/trigger tpcancel
==============================================================
Config (OP permission)
config the data pack needs OP permission, key in command to show config menu.
/function op/settings
- cooldown: the time between two teleportations for each player.
- duration: the time at which the Tpa request should be accepted, if not in time, Tpa needs to be sent again.