-
Notifications
You must be signed in to change notification settings - Fork 19
Yaml
Hakan Kargın edited this page Jun 1, 2022
·
1 revision
HYaml is a new way to manage yamls easily.
HYaml myYaml = HYaml.create(plugin, "myYaml.yml", "myYaml.yml"); // creates new HYaml from path "myYaml.yml"
System.out.println(myYaml.getInt("mynumber")); // prints "mynumber" value from yaml
System.out.println(myYaml.getString("mystring")); // prints "mystring" value from yaml
myYaml.reload(); // reloads the yaml with no effort