Package net.citizensnpcs.api.util
Interface Storage
- All Known Subinterfaces:
FileStorage
- All Known Implementing Classes:
YamlStorage
,YamlStorageWithLists
public interface Storage
-
Method Summary
-
Method Details
-
getKey
Returns aDataKey
starting from the given root.- Parameters:
root
- The root to start at- Returns:
- the created key
-
load
boolean load()Loads data from a file or other location.- Returns:
- Whether the load was successful
-
save
void save()Saves the in-memory aspects of the storage to disk.
-