Teleport all to coordinates

Discussion in 'Plugin Development' started by Wolfeiii, Oct 6, 2019.

  1. Offline

    Wolfeiii

    Hello! I am trying to make a plugin and I want all the people online to teleport to a specific set of coordinates when I press a button in a GUI I made.! Any help is appreciated!

    https://pastebin.com/ikhFDE1p
     
  2. Offline

    timtower Moderator Moderator

    @Wolfeiii Loop over the players.
    Teleport them.
     
  3. Offline

    Wolfeiii

    Sorry, I'm new at coding, can you show me how it's done?
     
    Last edited: Oct 6, 2019
  4. Offline

    timtower Moderator Moderator

    I won't spoonfeed a simple loop.
     
  5. Offline

    KarimAKL

Share This Page