How to disallow or disable gmod_admin_cleanup

So I was wondering if there was a specific way to disallow a certain ULX group to use gmod_admin_cleanup (the admin cleanup button in the Q menu under utilities) or just completely disable the function all together? I have this spawn manager script on my server where you have to spawn in this cube entity and setup the spawn with that, but the problem is when you use gmod_admin_cleanup, it removes that completely and you have to redo all the spawn locations. I want to pretty much disallow this from being used by all my staff ULX groups from admin down or if possible, just disable it all together, but since it’s a built in garry’s mod function, I’m unsure of how to disallow this.

Any and all help is greatly appreciated!


Respawn your entities automatically from this hook:

How do I use this “hook”? I’m not that knowledgable about hooks and functions.