#(chemflix) npc cmd permission - negative perms?
30 messages · Page 1 of 1 (latest)
(chemflix) npc cmd permission - negative perms?
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
why? @echo junco
Why is this important? I want to execute a different command when the permission is false compared to when the permission is also true.
because this isn't how permissions should be handled as to the question of "why" - it's just a question initially.
alternatively, it's recommended you not rely on "false" permissions, ie permissions given to players and setting the value to false
if a person has a permission, they own the permission.
when plugins induce concept of permissions owning values, it becomes incredibly unproductive
if a player has a permission that is set to false, they have the permission
the reason why that's important is because that plugin can recognize the permission is set to false; which means literally "they have permission, but also they do not."
!clickcommands
the permission node as it's configured is most convenient
I understand how permissions work, and it wasn't necessary for you to explain it again. However, all of this still doesn't lead to an answer to my question: Is it possible? Is there something not mentioned in the wiki that I might have missed? Or is it simply not feasible? A simple "no" would have sufficed as well.
it was necessary to explain because you asked why it was important; ignoring the question would of been rude otherwise.
we can create a feature request based on this though, if the developers believe it's valuable to include
i'd wait on fullwall's decision on that consensus but would highly recommend never relying on "negative permission" nodes given my explaination
developers being mcmonkey, aya, and fullwall (or anyone else who wants to contribute) - we'll wait on their answer next
something else i can notate otherwise until we get a response also, it's currently a 'no' as you requested until it became a real feature but Denizen could handle this properly if you'd like a workaround for it to be possible otherwise
i'd happily write the script you'd need for it now and help you verify it works
anything further than that may require you to eventually learn the Denizen language if you decided to enhance the script or something
but what you're requesting is simple enough that im happy to help you with
here's more information on Denizen if you are considering the idea:
!getstarted
Hey there! Welcome to Denizen!
To get started learning Denizen, we recommend you follow the beginner's guide: https://guide.denizenscript.com/
Also, feel free to browse scripts or view discussions on the forum: https://forum.denizenscript.com/
And of course... don't be afraid to ask questions here on this Discord!
the developers for citizens and denizen ensure theyre perfectly compatible
It may also be worth noting that a lot of permission plugins That don't support negative permission nodes may not handle them very well if there was ever a change
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@echo junco