I assume here that whatever mechanism you use tags the player with " toTeleport". Instructions for all of these can be found elsewhere. You can use this with yet another trigger of which you constantly check whether someone set it to 1 for himself, you can use the classical renamed item on the ground, you can do it whenever someone jumps 100 times on the spot, etc. Next you need something to actually start the teleportation. The first of these adds 1 to the scoreboard value for that player, the rest should be obvious. Now the players can use commands like these to set their goal coordinates: /trigger x This should be done in a clock, because using a trigger automatically disables it for that player. Then you enable them for use by everyone: /scoreboard players enable x The trigger type is what allows them to be set by non-OPs. You can't grant access to only the /teleport command, but you can prepare a /trigger for them to use.įirst create three scoreboards for the coordinates: /scoreboard objectives add x trigger
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |