Ultimate Window Police

Do you know these people who try to get around your quit popup and use such methods as ALT + F4 or even more criminal... closing it in the Taskbar? This will stop these people.

  • サポートされたプラットフォーム
  • サポートされたエンジンバージョン
    4.26 - 4.27, 5.0
  • ダウンロードのタイプ
    エンジン プラグイン
    この製品には、コード プラグインが含まれており、ビルド済みのバイナリと Unreal Engine に統合される全ソースコードが完備されています。任意のエンジン バージョンにインストールし、プロジェクト毎に有効化することが可能です。

Documentation

Github Source

Buy me a coffee

Windows Demo


The Ultimate Window Police is a small and easy to use plugin, with which you can basically stop the player from closing the game with "ALT + F4", closing it via the Taskbar or pressing the X of the Window.

But you can of course enable / disable this.

Additionally you even get the option to Bind a Event to when the user tries to exit the game (while he is not "allowed to do so").

So you can give him your beautiful designed "Are you sure you want to quit?" Popup.


Please follow this easy step by step configuration to get it up and running!


You can still use the "Quit Game" node from the Engine and with that he can quit (even if it is currently not allowed).

All functions are commented (in C++), if you want to read into it.


Questions or you need help?

Join my Discord

テクニカルノート

Features:

  •  Easy implementation to stop players from quitting without a proper goodbye
  •  Commented and turned into easy to use Blueprint Functions
  •  Includes an example where you can see how it works

Code Modules:

  •  UltimateWindowPolice (Runtime)

Number of Blueprints: 3

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Windows / Linux

Supported Target Build Platforms: Windows / Linux

Documentation: UltimateWindowPolice Documentation

Example Project: Example is included in the Plugin Content Folder

Important/Additional Notes:

  • MacOS should work without any problems because we just block the request from reaching it's goal, but I cannot try it myself (due to me not having one).