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
-
View User Profile
-
Send Message
Posted Mar 26, 2024In reply to Jikoo:
Do you happen to know any other plugin that can do that?
-
View User Profile
-
Send Message
Posted Mar 28, 2024In 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.
-
View User Profile
-
Send Message
Posted Mar 18, 2024Hey, 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!
-
View User Profile
-
Send Message
Posted Mar 18, 2024In 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.
-
View User Profile
-
Send Message
Posted Dec 25, 2023Please 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
-
View User Profile
-
Send Message
Posted Dec 25, 2023In 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.
-
View User Profile
-
Send Message
Posted Dec 31, 2023In 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!
-
View User Profile
-
Send Message
Posted Dec 8, 2023Having 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!
-
View User Profile
-
Send Message
Posted Jan 1, 2024In 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
-
View User Profile
-
Send Message
Posted Oct 3, 2023Is 1.20.2 supported? Which version would I have to download?
-
View User Profile
-
Send Message
Posted Oct 3, 2023In 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.
-
View User Profile
-
Send Message
Posted Oct 7, 2023In reply to happy_plane675:
An update on this: 1.20.2 is now supported.
-
View User Profile
-
Send Message
Posted Jul 18, 2023Is there a file for 1.20.1 the 1.20 one is out of date for my server
-
View User Profile
-
Send Message
Posted Jul 19, 2023In reply to lil_koala_____:
The 1.20 version should work fine on 1.20 - the diff was minimal, and the NMS revision was not changed. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/9c5d600d1395e9783a8369dc4227be2b05010107
If you're seeing errors, please link a paste of them along with the outputs of /version and /version OpenInv
-
View User Profile
-
Send Message
Posted Jul 4, 2023cant i use the latest version of this plugin for 1.16.5?
-
View User Profile
-
Send Message
Posted Jul 5, 2023In reply to gabbilabbi14:
No. 1.16.5 is pretty outdated and was last supported in 4.1.8. See version tags in the file listing: https://dev.bukkit.org/projects/openinv/files?sort=-game-version
-
View User Profile
-
Send Message
Posted Jun 26, 2023Hi, I have a question that I didn't know where else to ask.
How are you supposed to use the API? All the methods I'd like to use are in a interface... I can't figure a way to use, for example, the IOpenInv#getSpecialInventory(Player player, boolean online) method, or, again, IOpenInv#openInventory()...
Could you help me out please? I can't understand if I'm missing something or I made a basic mistake. I see you're pretty active so I would appreciate a response.
-
View User Profile
-
Send Message
Posted Jun 28, 2023In reply to examplename47:
You can cast the plugin you obtain from the PluginManager.
Unless you're specifically trying to open OI's views in another way, you may want to avoid OI's ISpecialInventories and just access the loaded player yourself because the slot ordering is different.
-
View User Profile
-
Send Message
Posted Apr 29, 20231.19.4 - doesn't work.
Shows the message "This chest is already in use" when opening the chest or /invsee command...
please fix it.
-
View User Profile
-
Send Message
Posted May 1, 2023In reply to hugkko:
That's not a vanilla message. You have some form of plugin conflict you will need to resolve.