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

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

     
  1. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.  
  3. Offline

    Remus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks works amazing!

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

    Nekpek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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;
  5. Offline

    ajay xalaxaaxax

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  6. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  7. Offline

    Nekpek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank YOU.
    +1 to you
  8. Offline

    Nekpek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    [IMG]
  9. Offline

    subram

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks works fine for me :)
  10. Offline

    ScottSpittle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    on server load it spits back this crap..


    any ideas?
  11. Offline

    MizLiv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Where is the .jar? All I get are a bunch of .class files? Please Help! What do I do?
  12. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll rebuild and retest soon. Currently building a different plugin.
  13. Offline

    feverdream

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm requesting it be added to a github. ;)
  14. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll set up a github. It's not exactly complex though.
  15. Offline

    Remus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Still works on Build #121
  16. Offline

    estesowaelu

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

    DJ411

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  18. Offline

    r42xer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It seems you need to recompile.
  19. Offline

    Tott3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome, cheers =)
  20. Offline

    Archelaus

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

    PierreLouis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 :)
  22. Offline

    Archelaus

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

    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.
  23. Offline

    SAMDAN

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Coolio. I'm stuck in 1978. Please help me.
  24. Offline

    Archelaus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What?
  25. Offline

    PierreLouis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Any way to have permission support?
  26. Offline

    SAMDAN

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry. Randomness. Excuse me.
  27. Offline

    Archelaus

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

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

    PierreLouis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok thats fine with me.
  29. Offline

    KTMRipper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  30. Offline

    EvilSeph Bukkit Team Member Administrator

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

    DJ411

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So i'm getting this msg from my Console.

    Running:
    CrafBukkit Build #425
    ClrInventory #v2

Share This Page