[FUN][ADMN] OpenInv 2.0.2 - Open anyone's inventory as a chest Real-Time! [1.4.5-1.5.2]

Discussion in 'Plugin Releases' started by lishid, Apr 30, 2011.

     
  1. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    OpenInv - Open anyone's inventory as a chest! in real time! Works with offline players! Open EnderChests of any player via command!

    Version: v2.0.2

    Source Code hosted on GitHub

    Link to BukkitDev: http://dev.bukkit.org/server-mods/openinv/

    Description:
    Open a player's inventory as a chest and interact with it in real time.
    Access to the inventory and armor slots.
    Open any chest that has blocks on top (blocked chests) with AnyChest.
    Open a chest silently (without chest animation nor sound) with SilentChest.
    Open any player's EnderChest from a command.
    Drop item as another player (by putting it in the 5 unused slots in openinv)!

    How to use:
    Install: Copy to your plugins folder, and restart/reload your server.

    Use:
    Use command "/openinv <player>" to open a player's inventory
    Use command "/toggleopeninv" to toggle Item openinv:
    Code:
    Hit a player with an item of your choice (STICK by default), and you will open the player's inventory (no damage)
    Right click the air with the item opens the last opened inventory (toggle must be ON)
    Use command "/anychest" to toggle anychest (blocked chest bypass)
    Use command "/silentchest" to toggle silent chest
    Use command "/openender <Player>" to open a player's enderchest
    Use command "/searchinv <Item> [MinimalAmount]" list all players having a certain item in their inventory.

    Code:
    To use a sign for quick access (this uses the normal Openinv.openinv permissions, override and exempt applies), You need:
    "[openinv]" (without quotes) on the 1st line
    and the player's name on the other lines.


    Permissions nodes (CaSe SeNsItIvE):
    "OpenInv.openinv" gives permission to use OpenInv
    "OpenInv.openself" Allows opening the inventory of the command user
    "OpenInv.editinv" - Allows editing of inventory

    "OpenInv.openender" - Allows opening of EnderChests
    "OpenInv.editender" - Allows editing of enderchest

    "OpenInv.search" gives permission to use searchinv
    "OpenInv.crossworld" allows cross-world 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.silent" gives permission to open chests in total silence, without animation.
    (without quotes)



    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 contents as they wish, in real time.
    • Access it anywhere! No distance or obstacle limitations.
    • Permissions support.
    • Use the command without argument opens the last accessed person's inventory.
    • Use sticks or any (configurable) item and toggles for quick access.
    • Search all online players for a certain item in their inventory.
    • Protect players from openinv with exempt permission, and bypass protection with override permission.
    • Use a sign to perform openinv for convenience.
    • Cross-world openinv protection.
    • Offline player openinv supported.
    • Open chests that are blocked because they have a solid block on top. (AnyChest)
    • Silent opening of chest, no sound and opening animation.
    • EnderChests can be opened, even for offline players!
    • NEW: Drop item as another player (by putting it in the 5 unused slots in openinv)
    • Self-opening protection.
    Image:
    OpenInv.png
    Test.png

    Video tutorial:


    Credits:
    Thanks to WMisiedjan for the source of iSee, located here: http://forums.bukkit.org/threads/6676/
    Thanks to Dark_Balor from AdminCmd for helping with the bugs in Offline Openinv.
    Thanks to the many supporters who've tested this plugin.

    Download:


    Download OpenInv (2.0.2) CB1.4.5 up to CB1.5.2

    Legacy versions:
    Download OpenInv (1.8.8) CB1.3.x and CB 1.4.2
    Download OpenInv (1.8.5) CB1.1-R5, CB 1.2.5-R4
    Download OpenInv (1.7.5) CB 1.1-R3
    Download OpenInv (1.7.2) CB 1.0.1-R1
    Download OpenInv (1.5.2) MC Beta 1.8+
    Download OpenInv (1.3.3) MC Beta 1.7.3-

    Source Code

    Todo:
    • None ATM
    Bugs:
    • None ATM
    Statistics:
    Openinv will connect to http://mcstats.org/ to collect anonymous data (only version information).

    Changelog:

    Version 2.0.1[CB 1.5.1]
    • Fixed player loading crash caused by CraftBukkit internal change.
    Code:
     
    Version 2.0.0[CB 1.5.1]
    Fixed trapped chest problem
     
    Version 1.9.9 [CB 1.5.1]
    Updated to 1.5.1
     
    Version 1.9.8 [CB 1.5]
    Updated to 1.5
     
    Version 1.9.7 [CB 1.4.7]
    Fixed offline inventory not saved when server restarts
     
    Version 1.9.6 [CB 1.4.7]
    Updated to 1.4.7
     
    Version 1.9.5 [CB 1.4.6]
    Added new feature: Put item in any of the 5 unused slots and the item will be dropped by the targeted player.
     
    Version 1.9.4 [CB 1.4.6]
    Updated for MC1.4.6
     
     
    Version 1.9.3 [CB 1.4.5]
    Fixed an issue about copying code from my other plugin without proper renaming
     
    Version 1.9.2 [CB 1.4.5]
    Massive rewrite to support new CB naming system
    Added auto-updater
     
    Version 1.8.8 [CB 1.3.2/CB 1.4.2]
    Added permissions "OpenInv.openself".
     
    Version 1.8.7 [CB 1.3.1-R1]
    Added /openender <player>
    permissions, added "OpenInv.editinv", "OpenInv.openender", "OpenInv.editender"
     
    Version 1.8.6 [CB 1.3.1]
    Updated to 1.3.1. Not only works with 1.3.1.
     
     
    Version 1.8.5 [CB 1.2.5-R4]
    Fixed all problems related to Offline OpenInv (including inventory not updating AND/OR inventory being emptied on some occasions).
    Updated Metrics module to R5.
     
    Version 1.8.4 [CB 1.2.4-R0.1]
    Updated to MC 1.2.4.
     
    Version 1.8.3 [1.1-R6/CB 1.2.3-R0.1]
    Fixed perms not working.
     
    Version 1.8.2 [1.1-R6/CB 1.2.3-R0.1]
    New permissions system (removed support for old perms).
     
    Version 1.8.1 [1.1-R6/CB 1.2.3-R0.1]
    Updated to 1.1-R6.
     
    Version 1.7.5 [1.1-R3]
    Fixed Metrics add-on error on startup.
     
    Version 1.7.4 [1.1-R3]
    Fixed offline openinv being case sensitive.
     
    Version 1.7.3 [1.1-R3]
    New CB events.
     
    Version 1.7.2 [1.0.0-R1/1.1-R1]
    CraftBukkit refactoring. Fix the Exception caused by that.
     
    Version 1.7.1 [1.0.0-R1/1.1-R1]
    Statistics.
    Official CB1.1-R1 support.
    Still backward compatible (with 1.0.1-R1).
     
    Version 1.6.6 [1.0.1-R1]
    Help menu (/openinv ?).
    Code re-organizing.
    AnyChest now toggle-able.
     
    Version 1.6.5 [1.0.1-R1]
    Fix for silentchest + spout error.
     
    Version 1.6.4 [1.0.1-R1]
    Silent chest opening, no animation, no sound, use /silentchest to toggle on/off.
     
    Version 1.6.3 [1.0.1-R1]
    Switched toolbar from top to bottom.
    Added armor slots.
     
    Version 1.6.2 [1.0.1-R1]
    Added a fix for Offline Openinv.
     
    Version 1.6.1 [1550]
    Fixed inventory update bug that everyone was having!
    Updated for Minecraft 1.0.
     
    Version 1.5.2 [1185]
    Offline openinv bugfix.
     
    Version 1.5.1 [1185]
    OFFLINE OPENINV IMPLEMENTED.
     
    Version 1.4.6 [1118-1160]
    Fix conflict of anychest with other plugin.
     
    Version 1.4.5 [1118-1160]
    Fix for previous update not closing chests.
     
    Version 1.4.4 [1118-1160]
    Now allows opening of chests that are blocked by solid blocks on top!
    Use "OpenInv.anychest" for permission node.
     
    Version 1.4.3 [1118-1160]
    Toggle should now be saved between server restarts.
    Added configuration file.
    Configure the item to use instead of a stick be default.
     
    Version 1.4.2 [1118-1160]
    Fixed a character limit problem.
     
    Version 1.4.1 [1118-1160]
    Updated for 1.8.
     
    Version 1.3.3 [953+]
    Cross world openinv disabled! Use permissions node 'OpenInv.crossworld' to allow cross-world openinv.
     
    Version 1.3.2-test [818+]
    Try fixing compatibility problem.
     
    Version 1.3.1 [818+]
    Fixed for 818.
    Only works for 1.6+ (CraftBukkit RB 818).
     
    Version 1.2.3 [803-]
    Sign quick access: use second line for "[openinv]" (without quotes) and third line for target name.
    Use this for 1.5 versions.
     
    Version 1.2.2
    PERMISSIONS NODES CHANGE: please read permissions section.
    new "OpenInv.exempt" and "OpenInv.override" feature.
     
    Version 1.2.1
    MAJOR BUGFIX: inventory not updated correctly, especially after a death/respawn.
     
    Version 1.1.1
    New feature: /searchive Item Amount.
     
    Version 1.1.0
    New feature: sticks + toggle openinv (explainations on top).
     
    Version 1.0.3
    Fixed history not saved correctly.
    Fixed inventory access to respawned players.
     
    Version 1.0.2
    use the command without argument opens the last accessed person's inventory .
     
    Version 1.0.1
    Initial Release.
    
    Support the developer: [IMG]

    This post has been edited 79 times. It was last edited by lishid May 7, 2013.
  2.  
  3. Offline

    godgodgodgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey do you have a static download for this plugin?
  4. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    All links are static
  5. Offline

    godgodgodgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I mean will it stay the same if you update it
  6. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  7. Offline

    godgodgodgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  8. Offline

    MJE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  9. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks to both of you.
  10. Offline

    mickael002

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No it's only your plugin that will make bug.

    That's why I'm doing two video, one without and with OpenInv OpenInv.
  11. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1. the first video says it's private and i cannot view?
    2. I've released a test version in attempt to fix the issue, can you try out?

    EDIT
    3. just list the plugins, please, because sometimes plugins can be incompatible with each other and another plugin seems to be affected.
  12. Offline

    NeatMonster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  13. Offline

    Flatliner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Didn't work for me either.
  14. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    btw, anyone getting anything unusal in the server logs?

    EDIT: anyone can have a look into my source and figure out the problem? I'm currently unable to fully work on the project...
  15. Offline

    Joy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can confirm this:

    "Conflicting with WE and WG? unconfirmed"

    Just spent 20 mins trying to figure out which of our plugins was blocking WG and WE commands...
  16. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Commands... you mean block selection with wand tool?
  17. Offline

    Joy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Compass teleport doesn't work either. That's from WE, not tried other than those 2.
  18. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Guys, if any of your plugin uses BukkitContrib from Afforess, please update the version of BukkitContrib as the newest version fixes the problems.
    EDIT: BukkitContrib 0.0.3 should fix the problem WHEN IT IS RELEASED

  19. Offline

    Tidgxor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am also reporting the issues mentioned by others, World Edit functionality is being hampered by OpenInv. For example, the Teleporting Compass, Wand Tool, Region Identifying Tool, etc. won't work. Commands such as "forestgen" for example still work, but nothing thats tied to a held item seems to work for us anymore. We also get some very odd issues with the superpickaxe portion of Word Edit, such as it being enabled for everything we hold (including just hands).

    We tested the server one plugin at a time, and as soon as we removed OpenInv, the problems disappeared and have been gone for over 24 hours now.

    Unfortunately, I am not the server admin and cannot post logs, however he said that no errors were popping up in the console. I can get a plugin list though, if that would help.

    Thanks!
  20. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks, it helps very much. Can you tell me if there were any plugin using BukkitContrib?
  21. Offline

    Tidgxor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nope, to our knowledge no other plugins were using BukkitContrib at all. We had actually never had it on the server prior to using OpenInv. We also got no console errors after we removed it. OpenInv and BukkitContrib were in at the same time, but I think the admin removed them both at the same time too, thinking they worked off one another. Once the BukktContrib 0.0.3 update goes live (according to Afforess, this evening) we will put updates of everything back in to see if that has helped anything. This is too awesome of a plugin not to have! :)

    EDIT: Just a heads up to everyone, BukkitContrib has been updated to 0.0.3, hopefully this fixes the issues we've been experiencing. I'll report back once I've had time to test it.
  22. Offline

    MJE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I updated BukkitContrib to 0.0.3 and so far it seems to work! As a test I rolled it back to 0.0.2 and it was broke again, I think we have a winner.

    Thanks!
  23. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks, it's good to know everything works!
  24. Offline

    Tidgxor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry about the lengthy response time, was busy with work. Our server reflects MJE's exactly, BukkitContrib 0.0.3 = no problems, while 0.0.2 rollback = instant issues. So I do believe that this issue is tackled! :D
  25. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for testing!
    I believe this should be enough to confirmed the issued fixed.
  26. Offline

    zoolder101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This, Sounds, AWESOME! Just what I was looking for! Now I could catch those damn liars red handed! Thnx!
  27. Offline

    BeerDone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Someone likes scouting other's stuff :>
    Anyway, thanks for the plugin, it's fun giving someone a stack of glass directly in their hands and see them go "WTF?!!!"
    Awesome plugin, keep it up!
  28. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try cake, that's what i always do :p
  29. Offline

    zoolder101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how do I know what they currently have selected?
  30. Offline

    lishid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You cant, but you can look at what their having in their hand and match it with something on the top row...
  31. Offline

    BeerDone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's pure luck really, even if the item suddenly appears in their toolbelt it's already surprising enough ;)
  32. Offline

    moto1239

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do I install?
    I'm new at this bukkit thing

Share This Page