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

**URL:** <https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [March 25, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535 "2018-03-25T17:51:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9e16e475](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9e16e475](https://forums.unrealengine.com/u/anonymous_user_9e16e475)\
**Post date:** [March 25, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535/1 "2018-03-25T17:51:43Z")

</div>

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. - ARK: Survival Evolved - Epic Developer Community Forums](https://forums.unrealengine.com/development-discussion/modding/ark-survival-evolved/94193-checking-admin-status) 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!

---

<div class="post-metadata">

**Author:** ![P0k3r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@P0k3r](https://forums.unrealengine.com/u/P0k3r)\
**Post date:** [March 27, 2018, 1:52am UTC](https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535/2 "2018-03-27T01:52:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9e16e475](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9e16e475](https://forums.unrealengine.com/u/anonymous_user_9e16e475)\
**Post date:** [March 27, 2018, 2:57pm UTC](https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535/3 "2018-03-27T14:57:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:34pm UTC](https://forums.unrealengine.com/t/proper-way-to-check-if-player-is-an-admin-or-whitelisted-can-use-admin-commands/108535/4 "2022-03-09T21:34:30Z")

</div>


