Solved Variable arraylist names

Discussion in 'Plugin Development' started by shades161, Jul 1, 2015.

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

    shades161

    I have a plugin, that needs to have multiple arraylists. Currently my plugin will have multiple arenas, with 2 teams each. But I need to have a way to make an arraylist with a variable name so that if a play joins arena 1, and team red, it will add them to the arraylist "1red" and then if one joins arena, say 3, it will add them to "3red"
    Is there any way to do that without defining the lists beforehand?
     
  2. Offline

    1Rogue

Thread Status:
Not open for further replies.

Share This Page