Config stringlist help

Discussion in 'Plugin Development' started by -_Husky_-, Jun 22, 2012.

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

    -_Husky_-

    Hey guys, how can i add something to a string lost that is in the config, so like

    Derp:
    - Herp

    Something like that

    Ok, for example. I have a arraylist
    PHP:
    // Declare it.
    List<Stringtest = new ArrayList();
    // Add something to it.
    test.add("derp");
    // Set it to config
    config.set("classes"test);
    // Which then returns
    classes: []
    got it... i just failed...

    TnT please close this (or SwearWord | md_5 | NuclearW )

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
Thread Status:
Not open for further replies.

Share This Page