Solved YAML File not being set

Discussion in 'Plugin Development' started by 1SmallVille1, Mar 30, 2013.

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

    1SmallVille1

    I've used YAML files before and set values in them, but for some reason, they are refusing to work this time. This is what I have and it's worked before so I don't know why it won't now:
    Code:
    SettingsManaager settings = new SettingsManager();
     
    public void onEnable() {
     
    settings.setup(this);
     
    settings.getData().set("example.welcome.test", "This is s test");
     
    }
    My SettingsManager is the class where I create and manage all the files. When I run the plugin, the data.yml is created but the example.welcome.test is not

    Bump

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

Share This Page