Lock chests for teams?

Hey im wondering how i can let teams lock chests on a pve server so entire team can access the locked chest but not other players? if i lock it, my team mates cant open it, id rather not have code locks and type the code every time im using TruePVE im not sure if i can enable it in that i already checked the config

Use AutomaticAuthorisation plugin

ty this worked perfectly

Zittla

ty this worked perfectly

Can you change the status to solved , saves going back to it :)