@EventHandler(priority = EventPriority.HIGHEST)
	public void onPlayerTeleport(PlayerTeleportEvent event){
		Player player = event.getPlayer();
		String playerName = player.getName();
		Location location = event.getFrom();
		String worldName = location.getWorld().getName();
		
		if (!worldName.equals(plugin.lobbyWorld)){
			for (String worldN : plugin.mainWorlds){
				if (worldName.startsWith(worldN + "_")){
					//World is a copy world
					//START - Check if player is in DB, and if not, update DB with player + world he is in
					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.getName() + ".world");
					
					if (worldet != null){
						customConfig.set(playerName + ".x", location.getX());
						customConfig.set(playerName + ".z", location.getZ());
						customConfig.set(playerName + ".y", location.getY());
						customConfig.set(playerName + ".world", worldName);
					}else{
						customConfig.createSection(playerName);
						customConfig.createSection(playerName + ".x");
						customConfig.createSection(playerName + ".z");
						customConfig.createSection(playerName + ".y");
						customConfig.createSection(playerName + ".world");
						customConfig.set(playerName + ".x", location.getX());
						customConfig.set(playerName + ".z", location.getZ());
						customConfig.set(playerName + ".y", location.getY());
						customConfig.set(playerName + ".world", worldName);
					}
					
					if (customConfig == null || customConfigurationFile == null) {
					    return;
					    }
					    try {
					        customConfig.save(customConfigurationFile);
					    } catch (IOException ex) {
					        plugin.logMessage("Could not save config to " + customConfigurationFile);
					    }
					
					//END - Check if player is in DB, and if not, update DB with player + world he is in
				}
			}
		}
	}