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
- Read-only permissions for OpenInv and OpenEnder! Just don't give the editinv and editender permissions nodes!
- Administrators can modify any user's inventory or ender chest contents as they wish, in real time.
- Access from anywhere! No distance or obstacle limitations.
- Permissions support.
- Player inventories and ender chests of any player can be opened. Even for offline players!
- Using the openinv or openender command without any arguments opens the last accessed player's inventory/ender chest.
- Search all online players for a certain item in their inventory or ender chest.
- Protect players from openinv with exempt permission, and bypass protection with override permission.
- Cross-world openinv protection.
- Self-opening protection.
- Open containers that are blocked by solid blocks or ocelots with the 'AnyContainer' feature.
- Silent opening of containers with no sound or opening animation.
- Drop items as the other player (by putting it in the unused slots in the bottom right)
Installation
To install OpenInv, simply copy the plugin to your plugins folder and restart/reload your server.
Commands
Command | Aliases | Description |
---|---|---|
/openinv <player> | oi, inv, open | Opens a specified player's inventory. |
/openender <player> | oe | Opens a specified player's ender chest |
/searchinv <item> [minAmount] | si | Lists all players that have a certain item in their inventory. |
/searchender <item> [minAmount] | se | Lists all players that have a certain item in their ender chest. |
/searchenchant <[enchantment] [MinLevel]> | searchenchants | Lists all online players with a specific enchantment. |
/anycontainer | ac, anychest | Toggles AnyContainer mode (blocked container bypass) |
/silentcontainer | sc, silent, silentchest |
Toggles SilentContainer mode (open containers silently) |
Permissions (CaSe SeNsItIvE)
Permission Node | Description |
---|---|
OpenInv.openinv | Gives permission to use OpenInv. |
OpenInv.openself | Allows opening the inventory of the command user. |
OpenInv.editinv | Allows editing of inventories. |
OpenInv.openender | Allows opening of ender chests. |
OpenInv.openenderall | Allows opening of ender chests of everybody. Without this permission, someone can only open his own ender chest. |
OpenInv.editender | Allows editing of ender chests. |
OpenInv.search | Gives permission to use searchinv and searchender command. |
OpenInv.searchenchant | Required to use /searchenchant. |
OpenInv.crossworld | Allows cross-world use of openinv. |
OpenInv.exempt | Makes the player's inventory protected (unable to be opened). |
OpenInv.override | Gives permission to open anyone's inventory, even protected ones. |
OpenInv.anychest | Gives permission to open chests that are blocked by a block on top. |
OpenInv.any.default | Causes AnyContainer to be enabled by default. |
OpenInv.silent | Gives permission to open chests in total silence, without animation. |
OpenInv.silent.default | Causes SilentContainer to be enabled by default. |
Other
Source Code hosted on GitHub
Original Bukkit forum thread: http://forums.bukkit.org/threads/15379
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.
Opening chests in my server throws this error in the logs
and i have no idea what it means and how to fix it
In reply to ralkey_official:
Craftbukkit is not supported software - no Bukkit server implementation maintainer distributes it. OpenInv requires you to run a server implementing the Spigot API.
See the 1.14 update announcement for Spigot:
Also, please don't post stack traces in the comments. Paste services make for much cleaner reading. I'll give you a few days to see this response, but if you don't edit out the trace, I'm going to delete your comment.
In reply to Jikoo_K:
okay thanks
Does this plugin have to be installed on both server and client or can this be installed on just server side?
In reply to eXtremeGamer2_:
OpenInv is exclusively a Bukkit plugin. It only supports servers implementing the Bukkit API with Spigot's mappings. You can't install it to a client.
Hey, whoever manages this plugin (Jikoo_K?)
This plugin works great and is super helpfull and works great. The offline edit feature is awesome and the inventory is super responsive. Any changes are immediatly updated in the inventory.
I do have two feature request:
- Please set a command prefix, so All the commands are more easy to find and this also improves compatibility with other plugins using one of the commands. Something like /openinv open <name> or /openinv end <name> and so on.
- And please support PerWorldInventory or Multiverse-Inventorys. As survivalservers like to use this plugin.
But props for this solid plugin