// Let me rephrase my problem since I might have found a better solution, I'm still stuck with it though. For example can I create a list inside a config that starts off empty but then add I can add playernames to it without it requiring an actual list inside the code. So for example you have a config named 'playername.yml', then I want to put an empty list inside named 'PartyMembers:'. Now for example everytime uses a command '/paccept' (after checking, that part is all done) it will add the senders name to that list. I can only see 'configname.set(PartyMembers, <playername>)' but I can't seem to find 'configname.add(PartyMembers, <playername)'. I know I could use '.set' to set a list inside PartyMembers, but there lies the problem. I can't make a list in the code because it would need to be unique per partyleader because every partyleader has different partymembers so I can't make a list named 'PartyMembers' and then keep adding names to it. I hope someone can help. Ok, I need it for a party system. I would like to make an array/list that has the partyleadersname as title and then the party members in the list. Is there anyway I could do this? EDIT by Moderator: merged posts, please use the edit button instead of double posting.