We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

22

Teleport to Scoreboards

4 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    I love this idea. It's super similar to my suggestion, too!

  • 2
    Registered User commented
    Comment actions Permalink

    Would make teleporting to specific locations from different areas around a map easier

  • 0
    Registered User commented
    Comment actions Permalink

    This has already been implemented in Java Edition by editing an armour stand's position to the target, then teleporting the player to the armour stand. Summon an armour stand with the tag tpHelp, then run the following commands:

    scoreboard players set x tpCoordinates 12
    scoreboard players set y tpCoordinates 23
    scoreboard players set z tpCoordinates 34
    execute store result entity @e[tag=tpHelp] Pos[0] run scoreboard players get x tpCoordinates
    execute store result entity @e[tag=tpHelp] Pos[1] run scoreboard players get y tpCoordinates
    execute store result entity @e[tag=tpHelp] Pos[2] run scoreboard players get z tpCoordinates
    /teleport @p @e[tag=tpHelp]
  • 1
    Registered User commented
    Comment actions Permalink

    I think it would be better if we could just insert any data from the scoreboard using (scoreboard name). For example: / tp @s ~ ~(dypos) ~ or just /tp @s (posx) (posy) (poz).

    Edit:
    I mean to put into the command whatever we want.

    It would be also great to do any math with it, but I think it is not necessary.

    Just created post about it.