Improvement idea for lock_containers preference
Technoguyfication opened this issue ยท 0 comments
Describe the feature request
Hello! A while back you added the player preference to lock containers, but it seems to be locking companions out of containers too. I was wondering if it'd be possible to allow companions container access, but deny non-companions.
I can think of a way to accomplish this with WorldGuard, without requiring an extra interact listener.
- Instead of making companions region members, make them region owners instead.
- Non-companions who walk in will be added as region members temporarily.
- Because the lock_containers preference sets container access to
deny
for members, it will prevent non-companions from accessing containers, but if companions are added as region owners instead they'll still be able to open containers.