Skip to content
Hakan Kargın edited this page Jun 1, 2022 · 1 revision

How To Use

Yaml

HYaml is a new way to manage yamls easily.

Example

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
Clone this wiki locally