commands icon indicating copy to clipboard operation
commands copied to clipboard

[Suggestion] Permission-based execution

Open Nowaha opened this issue 5 years ago • 1 comments

A feature that allows you to run method A if the user has permission A, and method B if the user has permission B. This for the exact same command.

Nowaha avatar Jul 11 '20 11:07 Nowaha

this concept will be supported in the future yeah. ultimately I want to improve command routing to match multiple "potentials" and if one of them DOESN'T error, take that and ignore the other errors.

Sadly this is likely going to require an API break for context resolvers to split the concepts of "can I take this" from "I am taking this", as right now it is not really cleanly possible to do it.

aikar avatar Jul 12 '20 00:07 aikar