Storing locations in a string list?

Discussion in 'Spigot Plugin Development' started by NaJated, May 8, 2015.

Thread Status:
Not open for further replies.
  1. Hey all, the question's in the title.

    What have I tried so far: I have tried getting a players location and adding it using .add() but that didn't work.
    I tried looping through the string seeing if I can then add it but that didn't work either.

    Thanks :p
    • Like Like x 1
  2. Okay. Could I try doing something like this?

    Z: ?????????????? thx
  3. you could, yes. But as I said you cannot store the World Object as a string, You could save its Unique ID or it's name as a string and then get the world object again at a later state with
    Bukkit#getWorld(String name); or
    Bukkit#getWorld(UUID id);
  4. Okay, thanks for your time <3
  5. jflory7

    jflory7 Retired Moderator
    Retired Benefactor

    Thread locked per request
Thread Status:
Not open for further replies.