lishid / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
119 stars 94 forks source link

OpenInv.exempt doesn't work when the player is offline #74

Closed soliddanii closed 7 years ago

soliddanii commented 7 years ago

My moderator group has the permissions to open others inventories, but at the same time has the OpenInv.exempt so they can't open each other inventories. This works perfectly fine when the target is online, but when it is offline OpenInv.exempt doesn't work. I don't know if Im doing something wrong. Using paperspigot 1.12.1. Thank you.

Kakifrucht commented 7 years ago

This is the expected behaviour, since permission checks can only be done on online players. One would have to individually hook permission plugins to check, which will not happen. Other solutions would have to store the exempt somewhere plugin specific.