Empty world while teleporting

Discussion in 'Spigot Plugin Development' started by MineSideLP, Oct 14, 2018.

  1. Hey,

    I want to teleport a player to an other world. But when the player was teleported the world is empty and if I try to send a message it show "Cannot send chat message". What can I do?
    • Funny Funny x 1
  2. Pre-Generate an empty world with the only block existing, a barrier one. Teleport them on that barrier block and you're done for that part. As for the message, listen on aSyncPlayerChatEvent and if the player's world name is equal to the one you pre-generated, cancel it and send them that message.

Share This Page