[API] Custom container transaction
LOOHP opened this issue ยท 2 comments
Hello! I've gone through the CoreProtect API just now to see if it is possible to integrate CoreProtect logging with a plugin of mine.
My plugin (effectively) adds an inventory to all bookshelves in the world. Essentially by opening a bukkit inventory upon right clicking one. So I was wondering whether I can log these custom container transaction through the API.
I saw a method in the API which logs transactions, it takes a location as an argument. But in my case, that wouldn't really work as CoreProtect won't know how to get the bookshelf contents from the location as it is not a Minecraft builtin container.
If this isn't possible atm, is there any chance it could be an API feature in the future?
Thank you!
I was having this same question since I was creating something like a team enderchest and wanted to log these using core protect as well.