Solved How to get a list from my config

Discussion in 'Plugin Development' started by WHQ, Oct 18, 2015.

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

    WHQ

    Hey there!
    Im kind off new to the whole 'making plugin's' thing and I have a question about my config for my new plugin
    If i have made a list of for example a bunch of names, like this:

    Names:
    - John
    - Steve
    - Carl
    - Peter

    And i want my plugin to get this list from my config and display it in a message when i run a command
    How would i do this? Right now i have this but i don't know what to put after getConfig()
    Code:
    p.sendMessage( "List of names:");
    p.sendMessage(this.getConfig()) //what to put after getConfig?
    
    Thanks in advance
     
  2. Offline

    Chloe-chan

    You can try and read this from the wiki.
     
    WHQ likes this.
  3. Offline

    WHQ

    @Chloe-chan

    Thanks, with a little bit of research i'll probably figure it out!
     
  4. Offline

    tkuiyeager1

    @WHQ you figured this out?
     
Thread Status:
Not open for further replies.

Share This Page