Sorry, we don't support your browser.  Install a modern browser

require/deny only if user has all roles, not just one#32

an option to require ALL the roles provided not just one or the other… same with denyrole

maybe smt like:

1.) they need all roles to run the AR:
{requirerole:all}{requirerole:@role}{requirerole:@role}

2.) they need at least 2:
{requirerole:2}{requirerole:@role}{requirerole:@role}

3.) and its just either one like what we have right now, keep it:
{requirerole:@role}{requirerole:@role}{requirerole:@role}

1.) if someone has @role1 but they dont have @role2, they can still use the AR
if someone has both role then they cant use the AR at all

{denyrole:all}{denyrole:@role1}{denyrole:@role2}

4 years ago
4

yes i need this so much 😭

4 years ago
Changed the title from "requirerole & denyrole" to "require/deny only if user has all roles, not just one"
4 years ago
Merged Require 2 roles at same time#374
2 years ago
Merged Ability to require multiple roles#390
2 years ago

i need this SO badly for some of my shop item ideas. This would be really game changing if this were to be added. Hopefully it can be considered!

2 years ago
2

uwu yeah ^^; right now my work around for this is just use items if you want ALL of it

2 years ago

would it be okay if its smth that just affects everything at once?

{limittype:AND} {limittype:OR} or smth, where it juat affects all the variables at once to AND / OR.

10 days ago
Merged MORE shop roles#707
10 days ago

moving my message from #676 to here

maybe a {requiretype:} would be interesting.

{requiretype:OR} is the default, which means any requirements set of the same category will be allowed as long as one is met.
eg
{requirerole:pog}{requirerole:champ}{requirerole:poggies} would require POG, CHAMP, or POGGIES

but {requiretype:AND} Could only be met if each role is done, aka it would require POG AND CHAMP AND POGGIES to work

Meaning it would allow this feature to work upon used item 5

10 days ago