Random tp

Discussion in 'Spigot Plugin Development' started by leoyt185owner, Aug 7, 2018.

  1. I need for my server a plugin that when i click a menu item it sends me to a random location recently set it, example.

    I set 10 locations in the world and when i open the menu and click the item, it sends me to one of the 10 locs i've set

    Does anyone can help me?
  2. pd. i know how to set 1 spawn and create gui's
  3. I didn't understand what is the problem ?
  4. I don't know how to make the player random teleport to those locations
  5. save 10 Locations in arraylist < create new random and get random entry from array list < teleport Player
    • Agree Agree x 3