OpenInv
Open anyone's inventory or ender chest and modify it in real time! Works with offline players!
Description
This plugin allows you to open any player's inventory or ender chest and interact with it in real time. You can also do it for offline players! This includes access to the armor slots as well as being able to drop items as if you were the player by moving them into the unused slots to the bottom right. Additionally, you can open any chest that is blocked with blocks above it with AnyContainer and open containers silently (no sound or opening animation) with SilentContainer.
Features
- OpenInv: Open anyone's inventory, even if they're offline.
- Read-only mode! Don't grant edit permission.
- Cross-world support! Allow access only from the same world.
- No duplicate slots! Only armor is accessible when opening self (if allowed at all)!
- Drop items as the player! Place items in the dropper slot in the bottom right. Can be disabled via permission!
- Allow any item in armor slots! Configurable via permission.
- OpenEnder: Open anyone's ender chest, even if they're offline.
- Allow access only to own ender chest! Don't grant permission to open others.
- Read-only mode! Don't grant edit permission.
- Cross-world support! Allow access only from the same world.
- SilentContainer: Open containers without displaying an animation or making sound.
- AnyContainer: Open containers, even if blocked by ocelots or blocks.
Installation
To install OpenInv, simply copy the plugin to your plugins folder and restart/reload your server.
Commands
Please see the wiki.
Permissions
Please see the wiki. For assistance upgrading to 5.0.0, check out the migration section.
Other
Source Code hosted on GitHub
Original Bukkit forum thread: http://forums.bukkit.org/threads/15379
@Apple_columb
@lishid
working perfectly <3
@Apple_columb
What version of NCP is it? I'm trying to look at their code to determine a fix for this...
@Apple_columb
I'll put up a bypass, but you should tell NoCheatPlus that they're screwing other people's plugins.
If you can, please tell them that whatever they're doing is changing CommandSender into a non-Player type. i.e. (sender instanceof Player) is false.
@lishid
This plugin conficts with latest version of NoCheatPlus, ""You can't use this from the console." Fix it, please.
@lishid
possibly. but ive always had essentials and openinv together..
@deleted_7536780
or maybe another plugin like essentials is doing something weird
@lishid
Thats wierd. its not always been the case. So maby its a conflict? oknly op's can seem to do it.
@deleted_7536780
Here's the only thing that I'm doing for a check.
if command sender is not a Player then tell him "You can't use this from the console."
@lishid
That is good as it is, i will allow bypasses for the cancelling...
@asofold
OpenInv's chest implementations are made in a way so that you don't bypass chest protection plugins, a great concern among many people since when I first implemented AnyChest.
The only way of bypassing the cancelled events is to make your other plugins not cancel them.
@lishid
Is there an option to have SilentChest ignore cancelled state of events ?
Maybe i malconfigured it... i have a case where i want to cancel all interaction but where it might be good to still peek into chests *silently*. Currently it seems not to work.
@1cec0ld
Glad to help.
@vman411gamer
Yes, it works with 1.2.5.
And I also thank lishid for making it, especially the offline functionality, makes it so much easier to give/take items and fix mistakes when online time is an issue!
@vman411gamer
yes
Does it work with 1.2.5-R1.0?
@Malgn
yeah, I'd be making a whole SQL interface (which is a freaking pain to do), and hooking into other plugin's stuff, having to keep it compatible with people who doesn't have that plugin, etc, etc. The other plugin can just make it compatible with minecraft default data management, which will then be available every plugin that interfaces with minecraft default.
@lishid
To make it compatible couldn`t you just make it go in the sql database and edit the files???
@Spezialeinheit
You should ask the other plugin to make it compatible with this plugin. Openinv taps into the game's data, and it would be messy to add a bunch of code that taps into another plugin. The other plugin however can simply save its data back to the game, resulting in clean and safe environment.
Can you make compatible with InventorySQL? Link: http://dev.bukkit.org/server-mods/inventorysql/
I use that on my Server and can't open Inventory when player is offline.
Thanks lishid :)