Download

Proper way to check if player is an admin or whitelisted (can use admin commands)?

I’ve been struggling with this bit of logic for a few days now: In my modded structures, I’m hooking the event, “BEOverride Allow Structure Access” , to check if the player is a server admin I’ve based that logic off of this: Checking Admin Status. - Unreal Engine Forums but it doesn’t seem to be working for me. Other examples I have encountered, show a node named, “Is Server Admin” but I cannot find that in the current version of the dev kit.

If someone could point me in the right direction, or share a graph setup that accomplishes this, I’d be grateful.

Thank you!

“Cast to ShooterCharacter”->“IsServerAdmin” or you can use the “IsPlayerAllowedToCheat” node off the game mode.

Thanks @P0k3r — I’m coming back around to work on this feature tonight!