Velarion: 所有产品五折优惠

Ultimate Window Police

Hibiikiii - 代码插件 - 2022/06/24

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 - 5.3
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

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).