[INACTIVE][MISC] ClrInventory - Clear your inventory v2

Discussion in 'Inactive/Unsupported Plugins' started by RightLegRed, Jan 17, 2011.

  1. Offline

    Archelaus

    ClrInventory is a simple add-on that allows the use of "/clear" to remove all items from your inventory. I made it because it was requested but decided to post it here because some may find it useful.


    UPDATE - "/clearinventory" has been shortened to "/clear"

    To Come - Drop Inventory

    Source is available, but on request.

    ClrInventory
     
  2. Offline

    Remus

    Thanks works amazing!

    Tested, and still working on build #82
     
  3. Offline

    Nekpek

    this is a nice plugin that i just love (xD);
    but what i hate about it is to write that long comand each time so maybe could you make hte command to /clean too?;
    Could be awesome;
     
  4. Offline

    ajay xalaxaaxax

    So.... does this delete the objects or throw them to the ground? Does it put the items into a chest if you have one open when you enter the command?
     
  5. Offline

    Archelaus

    I can make it do both. I'll implement this now. The command shall be
    "/dropinv"

    I'll shorten it now.

    Thanks for testing it on the newer build :) I rarely update my CraftBukkit build.
    --- merged: Jan 18, 2011 11:49 PM ---
    Updated
     
  6. Offline

    Nekpek

    Thank YOU.
    +1 to you

    Iknow that i uses CRAFTBUKKIT-88 BUKKITMAIN-57 whic is not the optimized version but still i want to show you the message i retirve form the console

    Show Spoiler
    [​IMG]


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  7. Offline

    subram

    Thanks works fine for me :)
     
  8. Offline

    ScottSpittle

    on server load it spits back this crap..


    any ideas?
     
  9. Offline

    MizLiv

    Where is the .jar? All I get are a bunch of .class files? Please Help! What do I do?
     
  10. Offline

    Archelaus

    I'll rebuild and retest soon. Currently building a different plugin.
     
  11. Offline

    feverdream

    I'm requesting it be added to a github. ;)
     
  12. Offline

    Archelaus

    I'll set up a github. It's not exactly complex though.
     
  13. Offline

    Remus

    Still works on Build #121
     
  14. Offline

    estesowaelu

  15. Offline

    DJ411

    Code:
    SEVERE: Could not load plugins/ClrInventory.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:83)
            ... 8 more
    Caused by: java.lang.Error: Unresolved compilation problem:
            Syntax error, insert "}" to complete ClassBody
    
            at com.bukkit.RightLegRed.ClrInventory.ClrInventoryPlayerListener.<init>(ClrInventoryPlayerListener.java:39)
            at com.bukkit.RightLegRed.ClrInventory.ClrInventory.<init>(ClrInventory.java:21)
            ... 13 more
    
    I got this just now.

    Craftbukkit - 159
     
  16. Offline

    r42xer

    It seems you need to recompile.
     
  17. Offline

    Tott3

    Awesome, cheers =)
     
  18. Offline

    Archelaus

  19. Offline

    PierreLouis

    Hey, I made this plugin request:
    http://forums.bukkit.org/threads/trash.2888/

    I was asking for something similar to this but with the option of deleting only what you are holding.
    If you integrate that I'll use your plugin :)
     
  20. Offline

    Archelaus


    Updated to do this

    /empty gets rid of the item in your hand.
    /removeall [itemid] remove all of a certain item type from your inventory.

    Enjoy.
     
  21. Offline

    SAMDAN

    Coolio. I'm stuck in 1978. Please help me.
     
  22. Offline

    Archelaus

    What?
     
  23. Offline

    PierreLouis

    Any way to have permission support?
     
  24. Offline

    SAMDAN

    Sorry. Randomness. Excuse me.
     
  25. Offline

    Archelaus


    Built-in permissions will be released soon. I don't wanna implement permissions only to have to re do it later.
     
  26. Offline

    PierreLouis

    Ok thats fine with me.
     
  27. Offline

    KTMRipper

    May I please have the source? I want to see if I can do anything to improve and I will give you credit. This is my first plugin so I probably wont be able to do it so it would be very helpful if you were to send me the source. Thanks
     
  28. Offline

    EvilSeph

  29. Offline

    DJ411

    So i'm getting this msg from my Console.

    Running:
    CrafBukkit Build #425
    ClrInventory #v2
     
  30. Offline

    ddoolin

    Should still work then, just a warning about the new constructor stuff.
     

Share This Page