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
In reply to nuttapillar97:
That is likely the issue, people have reported nebulous issues with sorting plugins before. Your sorting plugin should ignore top inventories with InventoryType.PLAYER.
In reply to Jikoo:
So do you think the sorting plugin is trying to sort the hotbar, and that's the issue?
In reply to nuttapillar97:
It is likely trying to sort the whole inventory, which is a really bad idea in general. The drop slots at the end of the inventory will always accept items, for example.
OI uses nonstandard slot numbers because of what it's doing - the hotbar is slots 0-8 on a normal player inventory. In the copy OI opens, those are slots 27-35 so they appear beneath the rest of the inventory content as one would expect.
In reply to Jikoo:
Thank you, that makes sense, and seems to be what's happening. Hopefully I remember to test properly when I get a chance.
Hi, I used this plugin a lot in my 1.20.4 Paper minecraft server and I loved it. But, I don't know, yesterday, I just take some ressources to my player and to regive another items and it duplicated quite a few items and at one point even quadrupled them. And the leggings, so the armor was on the chestplate, the chestplate on the leggings, the boots on the helmet and the helmet on the boots. (It happens to my player and to me in the same time when I was in the /openinv moving items), it duplicates my netherite sword, pickaxe, etc (but not everything) Do you know why it happens ? Ty a lot !
In reply to hazenar:
Usually things like that are due to an external influence like an inventory sorting plugin. If you can provide steps to reproduce with just OI installed or identify a conflicting plugin I can look into it further, but with this little info there's not much I can do to help.
Hello, I'm playing on 1.20.1 and was wondering if I want to open someone's inv can it ask him for permission and he can deny it
In reply to dimetro25:
Nope, OI is more of an administrative plugin than a user sharing plugin. Someone could definitely add that using OI's API, but OI does not have that capability.
In reply to Jikoo:
Do you happen to know any other plugin that can do that?
In reply to dimetro25:
Nope, sorry. I don't keep track of other inventory editing plugins as a sort of moral point because I don't want to accidentally copy design or code.
Hey, is there a permission node for /searchcontainer? I've been considering giving it to my players so staff don't have to help so much trying to find lost items. Thanks!
In reply to siuanswan:
Yes, OpenInv.searchcontainer. Note that /searchcontainer will load chunks if necessary, so you should definitely consider reducing the max search radius.
My opinion: you may want to just consider adding a policy about lost items, "if you forgot to protect your items and they walked off, that's your fault." Staff intervention for "idk where I left this lol" sounds pretty draining and awful.
If your staff do regularly have to deal with theft and not just misplacement, I strongly recommend a logging plugin (like Prism or CoreProtect) so you know how and why an item came to be where it is. OI really doesn't give you any context, and I've seen wrongful accusations made off of its incomplete picture.
Please update to 1.20.4.
Today one of the members of my server told me ( i borrowed my picaxe to my friend but he's offline now and i need it ) and i couldn't help him because openinv isn't updated yet :( thank you for the great plugin though
In reply to meekness0:
I haven't had time to test a build (hopefully things will cool off after the holidays) so I have not pulled in the 1.20.4 update. You're welcome to grab the build and report your results, though I would not recommend production use until you've tested.
In reply to Jikoo: Yeah I would do that but aternos (server hosting website) for the reason of security doen't allow people to upload plugins and mods unless the file is downloaded by them on curseforge or a couple other sites so I cannot but if you can (if not it is okay) reply to me when it gets updated here that would be great. No rush (I know people have their own stuff going on all the time), and thank you for maintaining the plugin so well as is!
Having a weird bug in which my players armour gets swapped IE Boots on their head so anytime I view a players inventory they have to reorganize as it moves everything.
I submitted a report on Github, help is appreciated!
In reply to LaughNgamez: Random question but do you have any inventory sorting mod installed on client side or sever? because if so it could be the problem
Is 1.20.2 supported? Which version would I have to download?
In reply to happy_plane675:
Please see #157 on GitHub for 1.20.2 status: https://github.com/Jikoo/OpenInv/issues/157 - I haven't been in a position to test anything for over a week.
In reply to happy_plane675:
An update on this: 1.20.2 is now supported.