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 Apr 3, 2026Hello!
I'm having a permissions problem. I want users with OpenInv access to be able to view others' inventories and enderchests, but be unable to edit them. With the permissions set as shown in the attached image, users with OpenInv access can view others' inventories but cannot edit them, as expected. Unexpectedly, however, they can both view AND EDIT most others' enderchests. Though they are unable to edit the enderchests belonging to other users who also have access to OpenInv. I don't know if this is a bug or just a skill issue, but I need help.
Thanks for your time!
Edit: I forgor to mention that this is OpenInv 5.1.2 on a server running PaperMC-151
-
View User Profile
-
Send Message
Posted Apr 6, 2026In reply to The_HAX0R_31337:
Interesting, that setup looks like it should be fine for view-only ender chests. Are these users inheriting OI permissions from elsewhere?
Calculating negation vs granting can vary depending on how permissions are handled (and maybe ordered), so you'll probably just have to get more specific and deny both
openinv.enderchest.edit.selfandopeninv.enderchest.edit.otherto get the correct effect.If you do want to debug it further, I'd be interested in knowing what LP's verbose mode for /openender for one of the affected users is. More on that here: https://luckperms.net/wiki/Verbose#lp-verbose-command-name-command-functionality
-
View User Profile
-
Send Message
Posted Feb 17, 2026I’ve discovered an issue affecting the user experience:
When I use
/openinv {playername}to open another player’s inventory, if their shoe equipment slot already has shoes equipped, simply clicking with the mouse cannot remove them. However, I can useShift + Left Mouse Buttonto move the shoes into my own inventory.Furthermore, if I select an item with the mouse and place it directly into that player’s shoe equipment slot, the item immediately appears in my own helmet slot, regardless of whether my helmet slot already contains any item. I can also remove the item on my head by clicking that player’s shoe equipment slot.
It seems that normal mouse operations incorrectly map the other player’s shoe slot to my helmet slot. However, using
Shift + Left Mouse Buttonworks correctly and allows me to properly equip or remove shoes for the other player.Although this issue does not seriously affect functionality, it still negatively impacts the user experience. I hope it can be fixed.(MINECRAFT version:1.21.11,OI version:5.3.0)
(Machine translation, may be inaccurate)The original text is
发现了一个影响使用体验的问题:
当我使用/openinv {playername}
打开该玩家的背包时,对于他的鞋子装备栏,如果它本身装备了鞋子,只使用鼠标单击是无法取下来的,但却可以用快捷键shift+鼠标左键把鞋子拿到自己的背包里,并且如果你用鼠标选取一个物品直接放到他的鞋子装备栏,这个物品会直接出现在我自己的头上,即头盔装备栏,无论他这个装备栏上是否有装备物品,并且也可以通过鼠标单击对方这个鞋子栏位拿下我头上的物品。似乎只使用鼠标进行普通操作是对方的鞋子栏位错误的对应到我自己的头盔栏的,但是用shift+鼠标左键这种快捷键却正常,可以正常给对方穿脱鞋子。
虽然对于功能没有强烈影响,但还是有些影响体验,希望能修复
-
View User Profile
-
Send Message
Posted Apr 6, 2026In reply to shengsiyan:
Oops, I know I had started a reply to you a while back, but I guess I never sent it. Sorry about that.
I was unable to reproduce this. Please make sure that any plugins you are using for item sanitization, sorting, or similar are using consistent slot getting and setting methods. Badly behaved plugins can cause reordering of inventories due to one of the measures OI takes to prevent sorting plugins from deleting items by adding them to slots that do not exist.
Please also note that if you're trying to provide server version, the server implementation is as important as the Minecraft version, i.e. Spigot 1.21.11 and Paper 1.21.11 use different internal OI code.
-
View User Profile
-
Send Message
Posted Dec 12, 2025Hey, is there any way to remove the aliases sc and ac from the plugin because its conflicting with my staffchat plugin and I would much rather have those aliases for staffchat and admin chat.
-
View User Profile
-
Send Message
Posted Dec 18, 2025In reply to ttvnumbersage2:
You can redirect those aliases to suit your server's needs: https://github.com/Jikoo/OpenInv/wiki/Customizing-Aliases
-
View User Profile
-
Send Message
Posted Nov 23, 2025Hey man,
I use your OpenInv plugin in my Server. The big problem is its not usefull because its not worked with the inventory. The armor works but nothing else
-
View User Profile
-
Send Message
Posted Nov 23, 2025In reply to 31j031y:
Try opening someone else's inventory. Your own inventory contents slots are already visible when you have an inventory open, so to prevent possible dupe bugs with things like the drag action, OI has a different display for you of yourself.
-
View User Profile
-
Send Message
Posted Mar 23, 2025How do I give myself permissions? Im on a server that I own with my friend, and Im trying to give myself this permission: openinv.access.level.4
If you could help, that would be great. Thanks!
-
View User Profile
-
Send Message
Posted Mar 23, 2025In reply to TheBluDemin:
Depends on which permissions plugin you're using - refer to its documentation for how to add nodes. If you don't have a permissions plugin installed yet, I recommend LuckPerms.
-
View User Profile
-
Send Message
Posted Feb 18, 2025Is there a way to change it to Japanese?-
View User Profile
-
Send Message
Posted Feb 18, 2025In reply to syun919:
For command feedback, you would need to provide a language file for Japanese. Language files belong in the directory plugins/OpenInv/locale. If you have your client set to Japanese and have interacted with OpenInv, it probably has already created a file for you to translate.
You can find the existing translations that come with the plugin here.
For inventories, ender chests, and placeholders, OI does not directly offer translation. It uses language strings already available from Minecraft. You can read more about customizing those here. Changing titles requires the use of a resource pack that provides different values for "secret" OpenInv translation keys in the relevant language file, while changing the placeholders can follow whatever format you like (but will do so regardless of which translation is used).
-
View User Profile
-
Send Message
Posted Jan 20, 2025For some reason, I added this into a server I am currently developing on, but the commands don't work. I had to make it's own folder to put into the plugins folder.
-
View User Profile
-
Send Message
Posted Jan 20, 2025In reply to void_devx:
If you are manually making folders, that indicates that the plugin isn't being loaded at all. Check your server logs. If you see an error like "Invalid zip" try re-downloading the plugin.
Otherwise, will need more info to help you. You haven't said what server implementation and build, Minecraft version, or OpenInv version you're using.
-
View User Profile
-
Send Message
Posted Dec 21, 2024Can anyone help?
After the update, it seems I am unable to take things out of inventories/chests.
I have all the correct permissions enabled.
Anyone know the solution to this?
-
View User Profile
-
Send Message
Posted Dec 23, 2024In reply to zippb:
Updating from which version? What version are you currently on? What behavior do you see and what do you expect?
OI does not have a view-only mode for chests, so if you're experiencing that, it is not from OI directly.
-
View User Profile
-
Send Message
Posted Dec 23, 2024In reply to Jikoo:
So I just updated from 1.21 to the latest version 1.21.4.
We experimented and found out that I can't take from online people only.
I hadn't changed the permissions at all, which is why I am confused it is not working.
Currently, I am the only one who has all the permissions by giving the Owner role all the permissions. To prevent everyone else from using it, I have only put:
openinv.access false
for the default role. I do inherit the permissions from the default, but the last update worked and overrid the permission.
I am using the most recent version of luck perms and I only have two roles and one track.
Roles/Track:
Default --> Owner
-
View User Profile
-
Send Message
Posted Dec 24, 2024In reply to zippb:
Okay, so online-only would be due to
settings.equal-accessin your config being set toviewpresumably - have you granted yourselfopeninv.access.level.1? If you have, and players have not been granted that access (default access should be 0) that sounds like an error in view-only calculation. If you're the only one who will be using OpenInv, try changing the config value toallowas a workaround.-
View User Profile
-
Send Message
Posted Jan 1, 2025In reply to Jikoo:
I don't know what happened. I think I reloaded the plugin, but it works now!
Sorry for the late reply, but thank you very much for taking the time and for all your help!
-
View User Profile
-
Send Message
Posted Jan 4, 2025In reply to zippb:
Glad everything's working at least! I did double-check on view mode just in case, and it appears to be working correctly. Since this sounds similar to problems others have had with it since the addition, I've gone ahead and reverted the default behavior to allow for equals. Hopefully that will make things easier for new installs following next release even if it wasn't necessarily what you were encountering.
If it does crop up again, please let me know.