# In a multiplayer game the game mode OnLogout gets called during server travel, so how can I check if a player has actually left the game?

**URL:** <https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043>\
**Category:** Multiplayer & Networking\
**Tags:** server-travel, unreal-engine, Multiplayer, question\
**Created:** [April 14, 2023, 6:25am UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043 "2023-04-14T06:25:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [April 14, 2023, 6:25am UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043/1 "2023-04-14T06:25:23Z")

</div>

ue5.1  
I’m keeping data on players I’d like to clear if they actually leave, but how to tell if they actually left or just server traveling? The destination map during server travel has a different game mode if that makes a difference.

---

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [April 21, 2023, 6:39am UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043/3 "2023-04-21T06:39:29Z")

</div>

bump

---

<div class="post-metadata">

**Author:** ![rantrod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Post date:** [May 12, 2023, 8:16am UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043/4 "2023-05-12T08:16:53Z")

</div>

Unfortunately, there isn’t any pre-existing event for this so you have to rig something up. “mark” somehow when you’re in server travel. If you’re not in server travel, you can assume they left. Keep a list of people logged in and check if they’re still there some time after server travel.

---

<div class="post-metadata">

**Author:** ![newgames866](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@newgames866](https://forums.unrealengine.com/u/newgames866)\
**Post date:** [October 26, 2026, 6:36pm UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043/5 "2026-10-26T18:36:08Z")

</div>

intresting information likes the styles of posting valuable content..keep it up..
