Package com.Moshu.Misc.Storage
Class FileHandler
java.lang.Object
com.Moshu.Misc.Storage.FileHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileHandler
org.bukkit.configuration.file.YamlConfiguration
getTreasureFile
(String name) Gets a configuration file for the treasure MUST HAVE .YML IN NAMEGet a list of all menu names availablereload()
setup()
-
Constructor Details
-
FileHandler
public FileHandler()
-
-
Method Details
-
getInstance
-
setup
-
reload
-
getTreasureFile
Gets a configuration file for the treasure MUST HAVE .YML IN NAME- Parameters:
name
- the treasure's name- Returns:
- the configuration file for the treasure
-
getTreasureNames
Get a list of all menu names available- Returns:
- a list of all the menus available
-