#takepermission tag not working for me

1 messages · Page 1 of 1 (latest)

sudden mango
#

Hi, I have my own enchant menu where you can purchase enchantments that you cant normally get, and since for some reason I cant get them on weapons through books with all right settings allowed I chose to do it through commands, the problem is that normally player cant cast command /enchant so In deluxemenus I give them the right permission for it with [givepermission], then they can get the enchantment and then I try to remove the permission with [takepermission] so they cant after that use /enchant in chat, but it doesnt work and they keep the permission, any idea why and how to fix it?

drifting gust
#

try [removepermission]

sudden mango
#

I fixed it with more brute way, but thanks for the idea, if it really is [removepermission] then deluxemenu wiki forgot to change it

drifting gust
#

👍🏼

indigo ingot
#

the delay would look something like this:
- '[takepermission] essentials.enchant<delay=1>'

sudden mango
#

I used delays in my own way too

#

as I said it was more brute way but the only one I could think of at the time that actually worked

lusty moon
#

since you have luckperms I'd recommend using temporary perms, in case of any weirdness with deluxemenus delay🤷‍♂️
just fyi

sudden mango
#

that's actually pretty cool, could be used to avoid unnecessary bugs, thanks I'll look into that

viscid shoal
#

why is the [refresh] there?..

sudden mango
#

good question, the part of the menu made a friend of mine, hes working on the server too and he puts it everywhere where is any sort of transaction, he says its to prevent bug abuse and such

viscid shoal
#

well ye but it's useless right there 😭

#

anyway not rly useless but eh