Add permission for online/offline opening (Resolves #129) #136
Reference in New Issue
Block a user
No description provided.
Delete Branch "pr/online-offline-permissions"
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?
This adds permissions for opening the inventories/enderchests of online and offline players separately. Not being allowed to open offline players also prevents any of the non-API player data loading but not the checking if the OfflinePlayer exists.
Looks great, thank you!
Just a heads up in case you are already using this - I am going to add the new nodes as children of the nodes
OpenInv.openinv
andOpenInv.openender
for backwards compatibility with existing setups. That means that any group being granted either of those nodes will need the online/offline nodes negated again. It's not ideal, but I'm not ready to make breaking permissions changes yet and I do plan to eventually rework them to be consistent (and lower case).