Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Teleport player to another world with x y z

Comments in 'Plugin Development' started by MikkiMCPE, May 19, 2016.

  1. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    what event should i use for do that?

    i'll use onCommand function to teleport player, like warp
  2. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    PHP:
    $player->teleport(new Position($x$y$z));
  3. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    how about on my code? see screenshot

    Attached Files:

  4. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    what the code 0.0, sorry im newb..


    i want add $level and $level instanceof Level
  5. Epicrafter60
    Offline

    Epicrafter60 New Member

    Joined:
    Jun 5, 2015
    Posts:
    19
    Minecraft User:
    Epicrafter60
    guys answer my thread
  6. Epicrafter60
    Offline

    Epicrafter60 New Member

    Joined:
    Jun 5, 2015
    Posts:
    19
    Minecraft User:
    Epicrafter60
    i need help with upgrading php5 to php7 plugins
  7. Epicrafter60
    Offline

    Epicrafter60 New Member

    Joined:
    Jun 5, 2015
    Posts:
    19
    Minecraft User:
    Epicrafter60
    also the code is this: $player->teleport(new Position($x, $y, $z)); now help me out
  8. Nawaf_Craft1b
    Offline

    Nawaf_Craft1b Active Member Plugin Developer

    Joined:
    May 8, 2015
    Posts:
    232
    Plugins:
    1
    Minecraft User:
    Nawaf_Craft1b
    PHP:
    $player->teleport(new Position(  $x  ,  $y  ,  $z  ,  $level));
  9. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC

    Attached Files:

  10. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    Ehm no dont post your questions in this thread and use the search bar...
  11. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    125
    Minecraft User:
    MikkiMC
    if you cant help, please dont comment here

Share This Page

Advertisement