mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2026-01-06 15:51:50 +00:00
improve default configs
This commit is contained in:
@@ -27,12 +27,23 @@ import java.io.File;
|
||||
*/
|
||||
public interface ConfigLoader {
|
||||
|
||||
/**
|
||||
* Loads a YAML configuration file from the specified file path.
|
||||
*
|
||||
* @param filePath the path to the configuration file
|
||||
* @return the loaded {@link YamlDocument}
|
||||
*/
|
||||
YamlDocument loadConfig(String filePath);
|
||||
|
||||
/**
|
||||
* Loads a YAML configuration file from the specified file path with a custom route separator.
|
||||
*
|
||||
* @param filePath the path to the configuration file
|
||||
* @param routeSeparator the custom route separator character
|
||||
* @return the loaded {@link YamlDocument}
|
||||
*/
|
||||
YamlDocument loadConfig(String filePath, char routeSeparator);
|
||||
|
||||
YamlDocument loadConfig(String filePath, char routeSeparator, UpdaterSettings settings);
|
||||
|
||||
/**
|
||||
* Loads a YAML data file.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user