changed config path
parent
d38c520870
commit
553cce0f32
|
@ -26,7 +26,7 @@ public class ConfigHandler {
|
||||||
public void load() throws IOException {
|
public void load() throws IOException {
|
||||||
// TODO change file to yaml
|
// TODO change file to yaml
|
||||||
Configuration configuration = ConfigurationProvider.getProvider(YamlConfiguration.class)
|
Configuration configuration = ConfigurationProvider.getProvider(YamlConfiguration.class)
|
||||||
.load(new File("/home/CloudNet/kraConfigs", "kraSettings.yaml"));
|
.load(new File("/home/kra-minecraft/kraConfigs", "kraSettings.yaml"));
|
||||||
|
|
||||||
webSocketAccessKey = configuration.getString("web_socket.access_key");
|
webSocketAccessKey = configuration.getString("web_socket.access_key");
|
||||||
webSocketProtocol = configuration.getString("web_socket.protocol");
|
webSocketProtocol = configuration.getString("web_socket.protocol");
|
||||||
|
|
Loading…
Reference in New Issue