InvSee lets you view and modify player's inventory and ender chest inventory realtime. You can view and modify offline players' inventories too, and even the inventory of players that never played on your server.
Fix #2 (commands wont execute when the plugin is disabled). More code formatting
Fix bug with EntityInventoryChangeEvent also handling EntityArmorChangeEvent and duplicating the action
Fixed bug with incorrect slot index for armors
Um, I hope no one used this plugin before this commit
Forgot to bump version when bumping version
Garbage optimization time!
Added InvSeeInventory::initialize(), InvSeeInventory::deInitialize(), SpyingPlayerData::remove(), SpyingPlayerData::isEmpty(). InvSeeEnderInventoryProcessor is only installed while someone is spying the player's inventory. No more unnecessary InvSeeEnderInventoryProcessor::onSlotChange() calls.
Fixed a bug where SpyingPlayerData instance was gc-d when either InvSeePlayerInventory or InvSeeEnderChestInventory was not in use of a spyer anymore. Now it's gc-d only when none of the inventories are in use.
It works now! But only if you don't reload your server. You have to restart your server if you want that this plugin works. If you reload after that there is again internal server error until you restart again.. Pls fix it!