How do I use Command Blocks to teleport?

Discussion in 'Bukkit Help' started by CayleRose, Jan 10, 2013.

  1. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I need the command to teleport to a location, including yaw and pitch.

    Also, I need the command to teleport using warps.
    /warp WarpName isnt working in the command block..

    This post has been edited 1 time. It was last edited by CayleRose Jan 10, 2013.
  2. Offline

    Iaccidentally

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Depends, are you using a plugin for teleports and/or warps? If so, which one?
  3. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 2 times. It was last edited by CayleRose Jan 10, 2013.
  4. Offline

    Iaccidentally

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    use the essentials tppos command then.
  5. Offline

    Laekh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Use the coordinates to teleport someone using a command block.

    Code:
    tp @p x y z
    
    replace x, y and z with the coordinates and it should teleport the player that activates it there, if I'm not mistaken.

    This post has been edited 2 times. It was last edited by Cupcakes69 Jan 10, 2013.
  6. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    the tppos works, but yaw and pitch for some reason doesn't register.
    also, why cant i simply tell it to /warp Location?
  7. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok i get tp @p x y z... but what about yaw and pitch? i dont want to teleport just looking at any random place..
  8. Offline

    Laekh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't think you're able to set those with that,
    I suggest looking for a plugin that does just that, something with 'Warp' or 'Teleport' in its name might help.
  9. Offline

    Iaccidentally

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    From the essentials wiki:
    tppos :: Teleports you directly to a location. :: /<command> <x> <y> <z> [yaw] [pitch]
    Info: Provide a set of <x> <y> <z> coordinates to teleport directly to that location. The Y coordinate is your vertical (up/down) location."</z></y></x> If used in console, place the player name before the coordinates.
    You need to use this and not the vanilla command.
  10. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay, so how do i teleport to another world, while also using the xyz/yp?
  11. Offline

    Iaccidentally

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't think that is currently possible.
  12. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    dang it.. well do you know of any button teleport plugins?
    recently, ButtonWarp has been crashing my server from "ticking entity".
  13. Offline

    Iaccidentally

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if you get that error, you probably need to update the plugin.
  14. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i updated it, but its still doing it. any suggestion?
  15. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  16. Offline

    CayleRose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SOLVED!! Thank you, everyone!

    Using Command Block,
    To teleport to a position, use the command: /tp z y x yaw pitch
    To teleport using warps: /warp [warpname] @p

Share This Page