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 Forge_User_61652966:
That would require a lot of additional event monitoring OpenInv currently doesn't do. Originally I wanted to add something similar, but I believe it's outside of OpenInv's scope.
Those slots are tentatively reserved for the player crafting grid and cursor whenever I find time to devote to it.
where is version 1.7.10?
i want to use it in my server
In reply to bdhcra519:
Check the files tab for older versions. 1.7.10 is no longer supported, but OpenInv-legacy was around until 4.0 I believe.
[you are opening a container silently] i want to turn off this function, what should i do?
In reply to 갓캐:
Set the message in the lang file to an empty string. Note that it must exist, just empty - if you delete it entirely, it will reset to default.
In reply to Jikoo_K:
Where is Lang file?
In reply to 갓캐:
All of the language files belong in the base plugin folder. en_us.yml, etc.
In reply to Jikoo_K:
Can a function be prevented by clearing a string?thx
In reply to 갓캐:
Not sure exactly what you're asking, but empty messages are not sent to the client.
In reply to Jikoo_K:
I want to get rid of the box opening without a sound.
In reply to 갓캐:
Don't turn on SilentContainer then. If you're confused about how to use the features and commands OpenInv offers, please read the plugin description page here.
In reply to Jikoo_K:
Thank you so much. I'll look for it.
I am sorry if my poor English skill offended you.
In reply to 갓캐:
Nah, your English is pretty good. I was just confused because 4.1.0 removed the toggle for disabling the message when opening containers silently. I figured you weren't happy with the change and wanted to make the plugin work the way it used to. If you do still have trouble using /silentcontainer, shoot me a line and I can try to clarify its usage more.
SilentContainer is a bit bugged when mixed with a vanish plugin (SuperVanish in my case), where if you are vanished only then the chest should be open silently, but in this case if i set SilentContainer to false, it opens chests normaly, but even when in vanished mode, but if it's set to True, the chest opens silently but even if you're unvanished. Is there a fix to this?
In reply to CrazyClash:
Make sure you have AnyContainer disabled as well when attempting to use a different plugin to open chests silently.
In reply to Jikoo_K:
Thank you very much, that fixed it. The only problem is, is there a way to disable silent chest and any chest for all players? Because now when i go into config, only my minecraft id has both options set to false, everyone else will still have this problem if they don't disable those two things themselves. Other than that, love all the work you put into the plugin and the quick support you provide. Thank you!
In reply to CrazyClash:
SilentContainer and AnyContainer are disabled until the user turns them on. If you want to reset everyone, you can just delete that section. Been debating removing the ability for them to remain in their current state for a couple years, mostly due to people unnecessarily abusing admin powers.
I'm having the same issue as Coolmansteel has. I'm OP and my users have openinv.exempt set to false. I have all the available permissions set to true as well. I'm running on Paper-220 and MC version 1.15.2. Ender chest editing does work however. Running the latest OpenInv (v.4.1.0).
i have op but i cant edit inventories with the plugin, even gave myself the perms.
In reply to coolmansteel:
Can't help you with that little information, sounds like a mistake in your permissions.