The “Quit Game” node doesn’t appear to work when it comes to shutting down a dedicated server. I’m working on an MMO which launches a new dedicated server when it comes time to move the player into a dungeon. I want this executable to shut itself down when all the players leave, using the OnLogout event followed by a count of my player character class. When players = 0, I want the dedicated server to shut down. Most of the answers I’ve seen so far haven’t been very helpful about how to do this using BP rather than C++. Why is there no “Shutdown Server” node?
Same problem for me ! Have you found any solution ?
In your game mode class, create a bluprintable function that calls:
FGenericPlatformMisc::RequestExit(false);
2 Likes