Getting strings from an arraylist.

Discussion in 'Plugin Development' started by CevinWa, Oct 19, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    CevinWa

    I having some troubles with getting all the strings from an arraylist and show them to the playr upon join. If anybody could help me with this it would be much appruciated. :D
     
  2. Offline

    Sagacious_Zed Bukkit Docs

    have you tried using a for loop?
     
  3. Offline

    CevinWa

    No i have not but im not shure on how to sry.
     
  4. Offline

    Sagacious_Zed Bukkit Docs

  5. Offline

    CevinWa

    for(String s : list){

    player.sendMessage(s);

    My code
     
  6. Offline

    Sagacious_Zed Bukkit Docs

    Did you actually try it? With matching braces?
     
  7. Offline

    CevinWa

    Yes but it should maybe be = or im pretty positive it should be .

    i saw that on google and thought i'l try it out

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  8. Offline

    Sagacious_Zed Bukkit Docs

    If you find that you are second guessing yourself about this, best you just read this entire text book first http://math.hws.edu/javanotes/index.html
     
  9. Offline

    CevinWa

Thread Status:
Not open for further replies.

Share This Page