1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Solved Teleport to chunk

Discussion in 'Skript' started by MRS777, Feb 12, 2018.

Thread Status:
Not open for further replies.
  1. MRS777

    MRS777 New Member

    Joined:
    Feb 4, 2017
    Messages:
    5
    Likes Received:
    0
    Good afternoon everybody,

    I need some help with a chunk claim system. Chunks of players are gettin' saved in {Claim.ChunkList.%player%::*}. Now I want to create a GUI, so they can click on an item and get teleported to the chunk, they clicked on.

    .. I can't figure out, how to teleport to a chunk ({Claim.ChunkList.%player%::*})

    Greets,
    Marvin Schubert
    --- Double Post Merged, Feb 15, 2018, Original Post Date: Feb 12, 2018 ---
    :/
     
  2. Best Answer:
    Post #2 by BaeFell, Feb 15, 2018
  3. BaeFell

    BaeFell I'm Poppy
    Admin

    Joined:
    Nov 27, 2016
    Messages:
    847
    Likes Received:
    226
    You can't teleport to a chunk - you'd need to either save the location of the player when they save the chunk or have some code figure out a safe point to spawn them in the chunk (I'd suggest saving that location so that you don't constantly figure out the same location).
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...