Examples of addDefault()


Examples of org.bukkit.configuration.file.YamlConfiguration.addDefault()

                "Setting this too low may cause tick lag.  Increase this to improve economy performance (at the cost of delays in payment)");
        config.addDefault("economy-batch-delay", 5);
       
        writer.addComment("economy-async""Enable async economy calls.",
                "Only enable if your economy plugin is thread safe, use with EXTREME caution.");
        config.addDefault("economy-async", false);
       
        String storageMethod = config.getString("storage-method");
        if(storageMethod.equalsIgnoreCase("mysql")) {
            String legacyUrl = config.getString("mysql-url");
            if (legacyUrl != null) {
View Full Code Here

Examples of org.platformlayer.federation.FederationMap.addDefault()

    PlatformLayerClient platformLayerClient;
    if (federationMap.isEmpty()) {
      platformLayerClient = defaultClient;
    } else {
      federationMap.addDefault(defaultClient);

      platformLayerClient = FederatedPlatformLayerClient.build(runAsProjectId, federationMap);
    }

    ServiceConfiguration serviceConfiguration = new ServiceConfiguration(runAsProjectId, serviceType);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.