Shutting a dedicated server down using blueprints

As the title says, just need to shutdown the server and I don’t know how. I prefer to do it by using bp since I’m not really used to do it with c++. Please tell me how to do it.

Thank you.

Anyone knows how to do it?

I have got the same issue, did you find the solution ?

Hi, sadly I couldn’t achieve it by using only BP. I had to do it by using C++ creating a custom BP class that u can use it on BP.

Regards.

Can you show the C++ class for it by chance?

Sure!

    void ACustomGameMode::ShutdownServer()
    {
    	UE_LOG(LogTemp, Log, TEXT("Server shutting down"));
    	GIsRequestingExit = 1;
    }

Here it is, I hope it helps