How can you use arrays in your configuration?

Im trying to add an array of players to my configuration file, Can normal string arrays be used or can this not be done?

I think configurate won’t accept arrays but you can use List instead.

Ok ill try lists ill let you know if i get it working

I managed to create a list and write it to the config file but how can I retrieve the list after. I tried using .getNode(“players”).getList() but i have no clue what the parameters should be?



1 Like


1 Like