get the lenght of a config

Discussion in 'Plugin Development' started by jaimetruman, Oct 24, 2019.

Thread Status:
Not open for further replies.
  1. Hello i have a plugin which has a simple config. i want to get the lenght of it and i cant find out the way to do that :(. here is the config. there would be 4 of lenght. if someone can help i would be very happy

    JaimeTruman: 750
    Sky159: 100
    walo00: 0
    MOLONXX7: 12


    thnks for reading :))))
     
  2. Offline

    KarimAKL

  3. Offline

    timtower Administrator Administrator Moderator

    @jaimetruman Get the ConfigurationSection, use getKeys(false), check the length of the result.
     
    robertlit likes this.
Thread Status:
Not open for further replies.

Share This Page