@Override
	public void onEnable() {
		reloadPlugin();
		
        joinListener = new PlayerJoinListener(this);
        moveListener = new PlayerMoveListener(this);
        
        if (getConfig().getBoolean("options.allow-plugin-metrics", true)) {
	        try {
	            metrics = new Metrics(this);
	            metrics.start();
	            
	            getLogger().info("MultiSpawnPlus: Succesfully submitting stats to MCStats.org!");
	        } catch (IOException e) {
	            getLogger().info("MultiSpawnPlus: Failed to submit stats to MCStats.org! Error: " + e);
	        }
        } else {
        	getLogger().info("MultiSpawnPlus: Plugin Metrics disallowed! Disabling submission of stats to MCStats.org...");
        }
        
        if (getConfig().getBoolean("options.auto-update") == true) {
			updater = new Updater(this, 81894, this.getFile(), Updater.UpdateType.DEFAULT, true);
        } else if (getConfig().getBoolean("options.auto-update") == false) {
        	updater = new Updater(this, 81894, this.getFile(), Updater.UpdateType.NO_DOWNLOAD, false);
        	
        	String latest = updater.getLatestName().substring(15);
        	if (version.equalsIgnoreCase(latest)) {
        		getLogger().info("MultiSpawnPlus: No updates available.");
        	} else {
        		getLogger().info("MultiSpawnPlus: Update available! (" + latest + ")");
        		getLogger().info("MultiSpawnPlus: Download here: " + updater.getLatestFileLink());
        	}
        }
    }