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
hey i just installed the openinv plugin on my minecraft server 1.16.1 and i dont want other operators to be able to execute the command. i dont know where to use the commands (openinv.openinv) it cant let me do it on the console and the chat and i dont know why.
can anyone help me please?
i have searched the config files and can't find anything either
Thank you
In reply to PIXS10:
You have to get a permissions plugin
In reply to Forge_User_81740938:
ok i got a permission plugin but now i don't know what commands i need to put. can you help me?
thanks.
I just added this plugin to my server and I've noticed that silentcontainer is true by default. Is there a way to change this default? I don't see a global default setting for this in config.yml, only the per user setting based on UUID.
In reply to taeganriles:
You have probably assigned the permission OpenInv.silent.default (potentially indirectly, i.e. via wildcard depending on your permissions plugin) to your users.
In reply to Jikoo_K:
I did not have any permissions explicitly assigned for OpenInv. I had to specifically add OpenInv.silent.default=false to the default permission level in LuckPerms because this permission behaves as though it is true without an explicit setting.
How do you update to the latest version of this plugin?
In reply to sushimon27:
Just like any other, download it and place it in your plugins directory, deleting older copies beforehand as necessary. I recommend you shut down your server before altering plugins.
In reply to Jikoo_K:
I'm currently using a server from "MineHut" and the plugins directory is quite confusing for me to use and understand it.
In reply to sushimon27:
If you can't figure out how to use your host's system, you need to contact their support.
In reply to Jikoo_K:
Thank you for your help
Hey when I try to download OpenInv 4.1.2 from here or on your github it gives the jar for OpenInv 4.1.1. Just thought I would give you a heads up. Good luck working on version 4.1.3! Thank you for sharing your work.
In reply to ImoutoAmmy:
Make sure you've actually installed the file you downloaded properly. I just downloaded it to confirm (worst case it would have been 4.1.2-SNAPSHOT from testing) and the version contained is correct. Highly recommend stopping your server before modifying plugins. My own install scripts download files to a temporary location, delete the original version, and then rename the downloaded file.
Awesome plugin has made my life as a admin more easy, but does it support 1.16 yet? cus it'w not working
Great plugin, can't do without it. I would love to see integration with virtual chests plugins such as the updated fork of AlphaChest, IronicChest.
hello great plugin i would just like to turn off the container feture how can i do that?
In reply to Forge_User_79318419:
Check the plugin description for command usage and permissions.
I would like to see this functionality in openinv: in addition to items, display the level of hunger, health, experience and effects list (see on picture from link)
https://imgur.com/a/qU0eLq1
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