#(chemflix) npc cmd permission - negative perms?

30 messages · Page 1 of 1 (latest)

echo junco
#

Can I execute a npc command only if a player has a negative permission? Like /npc cmd [cmd] --permissions [perm] false

restive havenBOT
#

(chemflix) npc cmd permission - negative perms?

restive havenBOT
#

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.

sleek charm
#

why? @echo junco

echo junco
limber chasm
#

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

keen rockBOT
limber chasm
#

the permission node as it's configured is most convenient

echo junco
#

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.

limber chasm
#

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

limber chasm
#

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

keen rockBOT
limber chasm
#

the developers for citizens and denizen ensure theyre perfectly compatible

limber chasm
#

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

ebon socketBOT
#
Thread Closing Reminder

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