Faster Teleporting

Discussion in 'Spigot Plugin Development' started by bowser123467, May 19, 2015.

  1. I'm teleporting players across worlds and there is a large delay between teleport. The delay is usually around 5-10 seconds and with 30+ players it takes a while to move them all. What ways could I speed this up? Pre loading chunks?
     
  2. Preload the chunk right before teleporting them. My only suggestion, sorry.
     
  3. Is the delay for everyone? Or just the player?
     
  4. Everyone, the server freezes until its finished
     
  5. Random idea, but try loading the chunk and cancelling the unload of that chunk via the event until the teleportation is finished?
     
  6. My speculation is that the thing that is lagging the server is loading the chunks. I don't know how you would speed this up... you could preload the chunks but if loading the chunks is the issue, well you've only changed the time when the loading takes place...

    No idea.