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

how to teleport to the nether

Comments in 'Plugin Development' started by Creeperface, Oct 13, 2015.

  1. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    how should i teleport player to the nether?

    my idea:

    i teleport player to the normal level and send change dimension packet?

    is it right?
  2. AndrewBit
    Offline

    AndrewBit Notable Member

    Joined:
    Jun 18, 2015
    Posts:
    435
    Minecraft User:
    AndrewBit4
    You have a nether map?
    PHP:
    $this->getServer()->getPlayer()->teleport(new Position($x$y,  $z$map));
    #Edit
    #I'm not pretty sure why I add $player if I have $this->getServer()->getPlayer() lol...
    Last edited: Oct 13, 2015
    hoyinm14mc and Taha_The_Hacker like this.
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    thx. it helped me a lot.
    hoyinm14mc, TonyDroide and Kvetinac97 like this.
  4. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    P
    PLEASE add the Prefix Solved so we know :D
    AndrewBit likes this.
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Multi dimensions are not supported in PocketMine yet. It is a planned addition, but it is not added yet.
    Don't even think about sending the change dimension packet, because the server will probably have no chunks to send to the player. The player will most likely either be stuck in the loading screen or the server will just send the packets in the normal world.
    Nether is in the same level as the overworld, just that in another dimension (you can assume as a sub-level) in it.
  6. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    @Creeperface sorry i know that this post in the wrong thread but can you tell me how i van install Katana?
  7. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    Why you want to install it? Most of the spin-off of the PM-MP are buggy. Download from Github then replace your PM-MP with it.
    Really, isn't it pretty much normal world with different generators and exploding beds?
  8. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    Or levelname_nether like craftbukkit
  9. TonyDroide
    Offline

    TonyDroide Active Member Plugin Developer

    Joined:
    Jun 5, 2015
    Posts:
    122
    Plugins:
    1
    Minecraft User:
    TonyDroidd
    lol xD
    Creeperface likes this.
  10. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    Please tell me how i can install katana i dont know what @minebuilder0110 means but it give more than 1 katana data
  11. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    I don't think changing level in server.properties to hell or nether works.

    Download Katana from williamtdr's github page.
  12. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    Nether is implemented in katana? o_O
  13. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    He was replying to @JackboyPlay
  14. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    Lol no hes just simply off topic

Share This Page

Advertisement