Use
This page explains how to use AdvancedStorage as an API in your plugin.
Using the Yaml class.
First, import Yaml.class from AdvancedStorage.
import com.AdvancedStorage.plugin.*; <</code>>\\ Now define a new Yaml variable.\\ <<code>> Yaml yaml = new Yaml(this.getDataFolder().getAbsolutePath() + File.separator + "config1.yml"); <</code>> **Yaml.class' methods.** The two (2) most used variables in the Yaml class are\\ <<code>> Yaml.getString(String); <</code>>\\ and\\ <<code>> Yaml.getInteger(String);
To-Do.
- Finish Yaml.class' tutorial.
-
View User Profile
-
Send Message
Posted Jul 27, 2012The ['code] ['/code] from BBCode don't seem to be working. They work on the main page though. I will look more into this tommorow.