Default to anychest if permission given #76
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Can it be configurable default to anychest (on), if a player is given certain/specific permission?
Easy enough. I'll try to get to it this weekend, but no promises - my backlog's been piling up due to work.
Two days, two months, pretty much the same thing.
Nodes are
openinv.anychest.default
andopeninv.silentchest.default
currently, default false to keep existing behavior.I'm not sure that I'll keep the paths the same - currently all OpenInv permissions have OpenInv containing caps. Most permissions plugins I've touched in recent years only deal in lowercase anyway, but it would be nice to keep everything simple and consistent just in case. May end up lowercasing everything and adding backwards compatibility perms. I'll make a decision and a release tomorrow.
Having reviewed the code, I'm not going to bother with lower case perms for now. It's simple enough to support both, but I don't want to do twice as many permissions checks just in case. When we next hit a major version bump I'll try to remember it. Nodes will be
OpenInv.any.default
andOpenInv.silent.default
.3.3.1