Skip to content

This small class made for make yaml file handling easier.

Notifications You must be signed in to change notification settings

DesertFoxHU/customYML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Usage Example

public class Configs extends JavaPlugin {

    private static CustomYml config;
    
    public void onEnable(){
      loadConfigs();
    }

    public void loadConfigs(){
        config = new CustomYml(this).createNewOrLoad("config.yml"); //Makes a new instance
        
        getConfig().set("a", "b");
        config.saveToFile(); //Saving the changes into the physical file
    }

    public static CustomYml getConfig() { return config; }
}

Its very easy to use, and pretty straight forward.

About

This small class made for make yaml file handling easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages