Package net.visualillusionsent.utils

Examples of net.visualillusionsent.utils.PropertiesFile.save()


        if (!plugin_cfg_cache.containsKey(plugin)) {
            plugin_cfg_cache.put(plugin, new HashMap<String, PropertiesFile>());
        }
        if (!plugin_cfg_cache.get(plugin).containsKey(filepath)) {
            PropertiesFile file = new PropertiesFile(filepath);
            file.save();

            plugin_cfg_cache.get(plugin).put(filepath, file);
        }
        return plugin_cfg_cache.get(plugin).get(filepath);
    }
View Full Code Here


        props.setBoolean("spawn-monsters", world.canSpawnMonsters());
        props.setBoolean("spawn-npcs", world.canSpawnVillagers());
        props.setInt("view-distance", server.getViewDistance());
        props.setBoolean("white-list", false);

        props.save();

        return true;
    }

    private boolean createWhitelist() {
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.