Default to anychest if permission given #76

Closed
opened 2017-08-31 10:32:09 -04:00 by lifehome · 4 comments
lifehome commented 2017-08-31 10:32:09 -04:00 (Migrated from github.com)

Can it be configurable default to anychest (on), if a player is given certain/specific permission?

Can it be configurable default to anychest (on), if a player is given certain/specific permission?
Jikoo commented 2017-09-01 04:46:02 -04:00 (Migrated from github.com)

Easy enough. I'll try to get to it this weekend, but no promises - my backlog's been piling up due to work.

Easy enough. I'll try to get to it this weekend, but no promises - my backlog's been piling up due to work.
Jikoo commented 2017-11-05 20:08:22 -05:00 (Migrated from github.com)

Two days, two months, pretty much the same thing.

Nodes are openinv.anychest.default and openinv.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.

Two days, two months, pretty much the same thing. Nodes are `openinv.anychest.default` and `openinv.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.
Jikoo commented 2017-11-07 18:06:02 -05:00 (Migrated from github.com)

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 and OpenInv.silent.default.

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` and `OpenInv.silent.default`.
Jikoo commented 2017-11-07 18:26:49 -05:00 (Migrated from github.com)
[3.3.1](https://github.com/lishid/OpenInv/releases/tag/3.3.1)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#76
No description provided.