public void onEnable()

    {
        instance = this;
        new SpectaclesListener(this);
        getCommand("spectacles").setExecutor(new SpectaclesCommandExecutor());
        getCommand("tour").setExecutor(new SpectaclesCommandExecutor());
        config = getConfig();
        config.options().copyDefaults(true);
        saveDefaultConfig();
        cfile = new File(getDataFolder(), "config.yml");
        toolID = config.getInt("Wand ID");

        String path = getDataFolder() + File.separator + "playerdata.bin";
        
        playerDataFile = new File(path);
                
        places = new ArrayList<String>();
        if (playerDataFile.exists()) {
            SpectaclesStore.cleanup(path);
            storedPlayerData = SpectaclesStore.load(path);
        } else {
            File dataFile = new File(path);
            try {
                dataFile.createNewFile();
            } catch (IOException e) {
                e.printStackTrace();
            }
            storedPlayerData = new HashMap<String, ArrayList<String>>();

        }

        if (getConfig().contains("Regions")) {
            for (String x : getConfig().getConfigurationSection("Regions")
                    .getKeys(false)) {
                places.add(x);
            }

        }
        if (currentPlayerData == null) {
            currentPlayerData = new HashMap<String, String>();
        }
        
    }