list help

Discussion in 'Plugin Development' started by 1337, Jan 21, 2011.

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

    1337

    how would i make a list of players who use a command?
    i also need to check if a player is in the list and do something how would i do it?
     
  2. Offline

    MadMichi

  3. Offline

    1337

    hi thanks but thats not what i am looking for i need to store who uses a command for example /boy and /girl and a /genderlist would list all the boys and all the girls in a list and i need to check if a player for example 1337 is a boy or a girl and do differnt things depending which he/she is
     
  4. Offline

    Archelaus

    1337, these are called arrays. Stop asking non-bukkit related questions.
     
  5. Offline

    Cr34p

    Actually you should look for HashMap, this would be able to store the data you want to
     
  6. Offline

    Archelaus

    This actually. While I don't use them myself, I know they're better. But I prefer the ease of Hashmaps.
     
  7. Offline

    1337

    i looked at arrays but they didnt seem to work
     
Thread Status:
Not open for further replies.

Share This Page