Consumable Item, execute console Command

Hello everyone, I’ve just started creating my own ARK mod. I wanted to create consumable potions that allow players to unlock certain things. For example, one potion should execute the console command “Defeatallbosses 0.” This would grant the player access to Tek Engrams upon consumption, along with additional level unlocks. The whole thing actually works, but the problem is that you also need to be an admin for the potion to work. On my server, the potion works for me, but not for any other players. I’ve been searching for a solution for a while now but haven’t found anything suitable. Maybe one of you can help me out. I’ll show you how I did it.