@EventHandler(priority = EventPriority.HIGHEST)
	public void onPlayerQuit (PlayerQuitEvent event){
		Player player = event.getPlayer();
		World world = player.getWorld();
		playeren = player;
		worldet = world;
		
		plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
		    	public void run() {
		    		playerLeaveWorld(worldet, playeren);
		    	}
		}, 1L);
		
		if (!player.getWorld().getName().equals(plugin.lobbyWorld)){
			plugin.spawnWorld.put(player, player.getLocation());
			plugin.spawnWorldTime.put(player, plugin.worldPositionSave);
			plugin.playerTimeQuestionMinPassed.remove(player);
		}
		if (plugin.playerAfkTime.containsKey(player)){
			plugin.playerAfkTime.remove(player);
		}
		if (plugin.playerAfkTimeLocation.containsKey(player)){
			plugin.playerAfkTimeLocation.remove(player);
		}
		if (plugin.playerChat.containsKey(player)){
			plugin.playerChat.remove(player);
		}
		player.remove();
	}