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 Jikoo_K:
I am updated to the latest release and it gives me the following error:
Your server version (v1_17_R1) is not supported. Please check https://github.com/lishid/OpenInv/releases for an update.
In reply to OfficialOffTopicGaming:
If you poke around at all there or glance at releases here on Bukkit you'll see why that's the case. Unfortunately, I can't edit the old release location message.
I can't use OpenInv with 1.12.2 since I am running java 11 instead of 8. I would love if this plugin could be backwards compatible with all versions instead of one build being for one or two versions
In reply to bandithello1:
See lishid#173. Update your server, downgrade Java, or fork OpenInv yourself (or pay someone to do it for you) and backport the changes to support Java 9+ to the 1.12 module.
You can read my thoughts on 1.12 and other outdated versions at lishid#185.
Any time you want to maintain the same code in 20+ places to support for outdated versions that a tiny fraction of people use running, feel free to step up to the plate. Backporting changes is a tremendous amount of boring, thankless work - more complex fixes can take hours of copying, pasting, and slightly adapting code. Sometimes the area's completely different and requires a deep dive into NMS to figure out what changed. Support for Java 9+ is a particularly complex beast because it involves overwriting pretty much every method to direct to new variables. You can't just hope inventory logic didn't change between versions, you have to do a comparison.
Is there any plans on making a 1.17 update soon? I would love to have this on my server.
In reply to lovelessduck48:
A build for 1.17 was uploaded 2 days ago and has just been approved. If you're wondering about updates, check GitHub.
In reply to Jikoo_K:
Ah thanks, I didn't think to check the Github. I installed Openinv on my 1.17 spigot server, with coreprotect and it crashed when trying to do commands. Later when I get the chance I will upload a pastebin of the crash details.|
EDIT: Here is the Crash Log: https://pastebin.com/62eh3Hkd
In reply to lovelessduck48:
Update your server. I think I need to add a giant red statement about that, because you're the 3rd person to get in touch about a Spigot bug that was fixed half a day before the release of OI on GitHub, let alone 2 days later when Bukkit's approval process finished.
Please, please, when you are using a fresh MC update, ensure that you are actually running the latest server version before trying to contact individual plugin devs. It wastes a lot of both of our time. I have to check that the issue is that you haven't updated, and in the communication time between your server isn't running the way you want it to.
In reply to Jikoo_K:
I'm using Apexmc and they handle Spigot for me, I thought it meant it was updated automatically. Thanks for the info, I am going to manually update it.
In reply to Jikoo_K:
So I just updated Spigot and it is working nicely, Damn Apexmc.
Hi there,
first of all: This is a great plugin and works pefectly for me. (except for one tiny little thing)
We have had some problems with cheaters and are now able to clear their offline inventories, and offline enderchest with a command.
But all persons with openinv permissions see the chests remain open, when the inventory was closed with ESC. The inventory closes but the chest is still opened, for that specific player. (Only admins)
Do you know, how to fix this please?
Ps.: I am on 1.16.5 (I know its compatibility is only to 1.15 but it works. Except for the open chest thing - Maybe there is a work-around for that)
Thanks in advance and keep the good work up! =)
Pps.: The Dropbox Link on your site isn´t working. 404.
In reply to bamstian:
Make sure you're turning off silent/any container when using a vanish plugin - many of them are incompatible because they implement their own technique for handling containers, which will lead to clientside desync. You can do this by creating aliases using Bukkit's commands.yml, i.e. /vanish -> /openinv:sc off, /openinv:ac off, /yourvanishplugin:vanish. Alternately, your vanish plugin may have a compatibility mode in its configuration.
There is no DropBox link on any sites I maintain OpenInv on. One assumes you tried to download it off the ancient Bukkit forums thread for some reason, which is purely there for historical purposes.
In reply to Jikoo_K:
I am using Essentials X, no other vanish-Plugin. It´ happens also if I am visible.
I will try to delete the silencontainer Permission and test again.
Thanks so far! =)
Hi I notice an major issue within this plugin.
whenever I type /openinv [playername]
the gui to open the player inventory name is wrong and shows the user who entered the command name instead.
Please fix, it's highly annoying to have to confirm multiple times that this is the user's inventory.
https://prnt.sc/132b26w
In reply to DTM_Panda:
Been fixed in dev for over a month, see #13. Guess I should push out a release though. I was waiting on finishing search rework but I haven't managed to find the time to finish tab completion for that.
In reply to Jikoo_K:
Soz for the late reply, its been a crazy two days for me and couldn't find the time to reply.
also ah ok hmm how do I download the dev version of openinv as I looked around the github with #13 and couldn't find the .jar to update the plugin or is it a bit different then the normal release method that every developer uses.
In reply to DTM_Panda:
I detailed downloading in the only comment on the issue. Any successful master branch action run (even linked one there), download and unzip the artifact "dist"
In reply to Jikoo_K:
ah my bad, I overlooked it and got confused since I didn't understood the word "dist" lol since I struggle with learning disabilities. I didn't realized it means dev build lol.
Hey im having a issue so i have LuckPerms and i did the all permissions for in editing but i cant edit peoples inventories can you help me out ?
In reply to ItsAstec:
Unfortunately, due to the number of variables involved, the sheer quantity of things that could be wrong make it impossible for me to help you. Your best bet is to use LuckPerm's verbose mode that tells you real-time what permissions are being checked for whom and how they evaluate.