2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-10-31 18:48:01 +00:00

add todo list for later into config loader

This commit is contained in:
mohammed jasem alaajel 2022-10-19 07:46:59 +04:00
parent af4e180b2c
commit 4d58ee1742
No known key found for this signature in database

View File

@ -27,6 +27,11 @@ public interface ConfigLoader {
loadConfig(plugin, dataFolder.toPath());
}
// There currently a problem with the SSL/TLS connections
// looking into the Jedis source code you can pass some form of
// Domain Validation, SSL factory from javax packages
// todo: create Domain valdiation
// todo: add new config options for ssl certs locations
default void loadConfig(RedisBungeePlugin<?> plugin, Path dataFolder) throws IOException {
Path configFile = createConfigFile(dataFolder);
final YAMLConfigurationLoader yamlConfigurationFileLoader = YAMLConfigurationLoader.builder().setPath(configFile).build();