public void removePlayerFromPlayersFile(String player){
		customConfigurationFile = new File(plugin.getDataFolder(), "players.yml");
		customConfig = YamlConfiguration.loadConfiguration(customConfigurationFile);
		    
		InputStream defConfigStream = plugin.getResource("players.yml");
		if (defConfigStream != null) {
		    YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defConfigStream);
		    customConfig.setDefaults(defConfig);
		}else{
			plugin.logMessage("Plugin error: Error while loading config file players.yml");
		}
		String worldet =  customConfig.getString(player + ".world");
		
		if (worldet != null){
			customConfig.set(player, null);
		}
		
		if (customConfig == null || customConfigurationFile == null) {
		    return;
		    }
		    try {
		        customConfig.save(customConfigurationFile);
		    } catch (IOException ex) {
		        plugin.logMessage("Could not save config to " + customConfigurationFile);
		    }
	}