[INACTIVE][ADMN] iSee 0.2.1 - Inventory Management Made easy! [483]

Discussion in 'Inactive/Unsupported Plugins' started by WMisiedjan, Mar 1, 2011.

  1. Offline


    What is iSee?
    iSee is a demo plugin of showing someone's inventory. I created it because I needed to change easy my NPC's inventory. This actually only works on real players.

    How does it work?
    Once you typ in the command: /isee PLAYERNAME
    A window will popup, with your targets inventory at the top, and your own inventory below.
    (Just like a chest!)

    * View and Edit a players Inventory. (/isee PLAYER)
    * Permissions support. Also works without! (iSee.admin)

    The first row in the Inventory at the top is the players 1-9 slots.
    Ofcourse is the inventory down your own inventory.

    Known Bugs:
    * Here's a weird thing, It sometimes works. And sometimes doesn't. If the command doesn't work just try it again until it does. No idea how this comes so..

    * 0.2.1 - Fixed lot of stupid bugs made by me. Coding to fast :|. Permissions now working, compatible with build 440 (Latest Promoted build).
    * 0.2 - Permissions support, Fixed help output spam.
    * 0.1 - Initial Release

    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>


    Show Spoiler
    You need Bukkit AND CraftBukkit as API in your project.
    	private boolean perfromiSee(CommandSender sender, String[] trimmedArgs,
    			Player player) {
    		if (sender.isOp()) {
    			if (trimmedArgs.length < 1) {
    				return false;
    			Player target = this.getServer().getPlayer(trimmedArgs[0]);
    			if (target != null) {
    				// Get the EntityPlayer handle from the sender
    				EntityPlayer eh = ((CraftPlayer) player).getHandle();
    				// Get the Human Entity from the Target
    				EntityHuman ehtarget = ((CraftPlayer) target).getHandle();
    				// Get's the targets inventory
    				InventoryPlayer ehtargetinv = ehtarget.inventory;
    				eh.a(ehtargetinv); // Show to the user.
    				return true;
    			} else {
    				sender.sendMessage("Target not found!");
    				return false;
    			sender.sendMessage("You are not an op!");
    		return false;
    I think good developers know what to do with it!

    Off-Topic (Extra Info):

    Show Spoiler
    I'm acctually working on this NPC Lib:

    That's originally why I made this. Although it doesn't work with that lib yet because NPC's are not listed as Players in that lib yet.

    Cool stuff coming soon to that lib!
    Last edited by a moderator: Dec 15, 2016
  2. Offline


    This is what cleaner does right?
    But since the cleaner plguin is kinda dead because the developer stopped with coding i will use this one.
    Hint: maybe you can take a look at the cleaner plugin source and take some features?
  3. Offline


    Cleaner is different, Cleaner just temporarily replace your inventory with a players, and when your done it restores it. This actually works like a Chest. I'll post a screenshot.
  4. Offline


    Looks nice, gonna try it out tomorrow
  5. Offline


    do u see a link anywere?
  6. Offline


    Click the 1st spoiler
  7. Offline


    thats the source im looking to donwload this
  8. Offline


    Just a hint, could you change that imageshack picture of yours?
    Seems imageshack is trolling some countries, so I only see this:


    :'( use imgur instead :'(
  9. Offline


    You can force a dialog with inventories to pop up? Awesome, will be using for the Backpack mod.
  10. Offline


    Yeah, I can't find it either... [​IMG]
  11. Offline


    no download?but looks like a nice plugin
  12. Offline


    Oh yeah, forgot to add download link. It is there now!
  13. Offline


    Holy shit, this is amazing. I never thought that it could be that easy!
    One thing: Could you stop spamming the chat with iSee help if you did it right? That would be cool :) Oh, and permissions would be very necessary.

    Keep it up!
  14. Offline


    can u please make a working version for CB440? i just get help info everytime.. (/isee [playername])
  15. Offline


    Added Permissions support.

    Fixed help output spam.
    --- merged: Mar 2, 2011 8:32 PM ---
    I will test it on 440 right now ;)
    --- merged: Mar 2, 2011 8:48 PM ---
    Lol, Fast coding bugs. Uploading version 0.2.1 right now.
  16. Offline


    i now get this error

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'isee' in plugin iSee v0.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at net.WMisiedjan.iSee.iSee.perfromiSee(iSee.java:76)
    at net.WMisiedjan.iSee.iSee.onCommand(iSee.java:65)
    at org.bukkit.command.Plug

    OK with 0.2.1 i get no error but also nothing happens..

    I type /isee player - and nothing happens.. no messages nothing
  17. Offline


    When I enter the command I get the message:
    "An internal error occured while attempting to perform this command"

    Is this the known bug that you mention above and that I should just keep trying or is this something else?
  18. Offline


    thats becuase you used Version 0.2 it was bugged.. move to 0.2.1 (which still dont work for me.. xD)
  19. Offline


    Oh thanks, 0.2.1 wasn't there before. Ill test it out right now, again thank you.

    Edit: Its working! Thank you so much, this plugin will be very useful to me.
  20. Offline


    0.2.1 works for me, dam how nice
  21. Offline


    what craftbukit versions you got?
  22. I really like the idea of this plugin but i always get "You don't have permission for this command" while i am an admin.... with '*' rights
  23. Offline


    I can't seem to be able to give my mods /isee power.

    What is the permission I have to give them? I gave them 'isee.admin' That didn't work so I gave them 'isee.*' and that didn't even work.

    (The admins can use it fine.)
  24. Offline


    ok when it 'occasionally' works, like said in the bugs. it instantly disappears.. so i cant use it even then
  25. Offline


    OK, I've just been testing it on myself and it works but then one of my regular players came in just now so I decided to test it on him. I tried it and nothing happens, nothing pops up on my screen nor does anything happen on the server window.

    Is this the bug that I have to just keep trying again and again till it works?

    EDIT: OK, tested it some more it works better when your near the person you want to check from long rang it either doesn't do anything or it blinks the inventory window. When viewing a player's inventory, if they walk away it closes the window. I think it may be affected by the rule that was added when beta first came out, "Moving too far away from a chest, or having it blow up, closes the inventory screen." - http://www.minecraftwiki.net/wiki/Version_history.
    Also if you just type the first 3 letters of the player's name it works, which is awesome cause its like a shortcut.
    For example: If I just type /isee jmc it will still bring up my inventory.
  26. Offline


    this just doesnt work ive restarted and stuff and if im typing the command with the right player name nothing happens, if im typing it wrong it says target not found
  27. Offline


    I dunno, i have:
    Build #3

    from package-CraftBukkit.
  28. Offline


    ye sit works for me when im right next to the person.
  29. Offline


    I would love to be able to try this plugin, however it seems to be crashing my remotetoolkit wrapper. When I launch it manually outside of any wrappers it seems like there is an extra (or weird) carriage return or something coming through on your startup console message that makes it completely crash my server startup.

    Could you post source for your plugin, or fix this problem.. Either way I would love to use it, it looks like great stuff.

  30. Offline


    IT dosent work for me :/ im runnin the latest build
    edit: i checked the other post...it works when im near, please make it work from far away, and would be nice if u added multiworld support

Share This Page