Inactive [MECH] DisposalChest 1.7 - Get rid of stuff [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by itsatacoshop247, Apr 4, 2011.

  1. Offline

    itsatacoshop247

    DisposalChest - Get rid of stuff
    Version: v1.7

    This plugin was suggested here.
    This plugin is helpful in that usually people put lava around to make trash bins. That lets people steal the lava, and it is also a fire hazard. This plugin gives a protected chest to put unwanted items into, where they are automatically launched into the sun via rocket-ship. (That part was hard to code! (It doesn't actually do that)).

    [​IMG]


    Heres a quick video:




    Features:
    • Simple sign/chest design
    • Will automatically remove the coordinates of a Disposal Chest when it is broken
    • Permissions! 'disposalchest.create' and 'disposalchest.remove' (Defaults to Ops.txt if no Permissions)
    • Option to use permissions or not is in config file.
    Download Jar

    Source Code - https://github.com/itsatacoshop247/DisposalChest


    Changelog:

    Version 1.7
    • Permissions Nodes changed to all lowercase
    • Changes to config file for next update
    Version 1.6
    • Updated to 1.2.3
    • Tried to remove Herobrine but he wouldn't leave.
    Version 1.5
    • Updated to RB 1.1-R4
    • Added ability to use '&' and a number along with '[Disposal]' on a sign.
    • Fixed where if the block a sign is on is connect to the disposal chest, it will break the disposal chest, or disallow it if the player doesn't have permission
    Version 1.4
    • Updated to Bukkit 1550/Minecraft 1.0
    • Update permissions system
    • Cleaned Code
    • Changed chest deletion system
    • Added Herobrine
    Version 1.3
    • Updated to 674
    Version 1.2
    • Fixed Null Pointer Exception
    • Should work with IconomyChestshop and similar plugins
    Version 1.1
    • Fixed a bug where you couldn't put signs over any chests
    Version 1
    • Release
    Roadmap:
    • Suggest things!
    • Adding an option to have a chest(s) where deleted items are sent.
     
    kahlilnc likes this.
  2. Offline

    City Builder

    Very nice. Thank you for creating this.

    Spoke too soon, this conflicts with iConomyChest plugin, when I try to make a sign to post a new shop I get Could not pass event Player_interact to dispostalchest
     
  3. Offline

    Kevin Forte

    I am really glad I happened upon this, it's awesome!
     
  4. Offline

    riuthamus

    This is epic, but with craftbukkit 640 its erroring every so often, seems as though its related to a hook of some type.
     
  5. Offline

    FrogInABox

  6. Offline

    itsatacoshop247

    Yeah I was running it on my server last night and a the "could not pass error" popped up a lot. I'll work on it today.
    Edit: The error would come up whenever someone left/right clicked the air. It made the block variable = null which is what error-ed, fixing now.
    Edit 2: Updated, I also downloaded ChestShop and Iconomy and it was working ok.
     
  7. Offline

    Zyferus

    I do not use permissions, and I am an op ( listed in ops.txt) and yet it tells me I cannot make disposal chests.
     
  8. Offline

    itsatacoshop247

    I just removed Permissions from my test server and it worked fine.
    It must be something else? Also make sure its version 1.1, might want to re-DL.
     
  9. Offline

    FrogInABox

    The Plugin Works Great! It even works with the DropChest plugin so players can just throw things at the chest too.
    The only bug i have found so far, is a small one. When you create a DisposalChest, if you then destroy the sign, but not the chest, then put the sign up again and make it a DisposalChest, it adds another entry to the flatfile.
    This should be easy to fix, if you could remove the flatfile entry when the sign is destroyed, rather than the chest.

    But other than that tiny little thing, which doesnt cause any issues or errors anyway, the plugin is Perfect.
     
  10. Offline

    itsatacoshop247

    I've noticed that, and while it won't cause any errors per-say, I'll fix it. Just check to see if the block broken is a sign and if its 1 space above a registered disposalchest. Thanks for the input and appraise :)
     
  11. Offline

    FrogInABox

    Thats ok, I'd like to help out as much as possible. I thought about developing plugins myself once, but I won't have time to keep them up to date with college and exams coming up soon, and im not really a Java person anyway.
    But, I have been looking for this for ages, and after posting on the forums, and having nobody who wants to take the plugin on in almost a week, I thought it would never actually be made, so I'm really glad that you came along.

    I'll let you know if I find anything else.
     
  12. Offline

    Lhjnhnas

  13. Offline

    itsatacoshop247

  14. Offline

    FrogInABox

  15. Offline

    FrogInABox

    I have recently encountered an error, i am not sure why, it wasnt there before. However, it does still seem to work though.
    Code:
    14:17:21 [SEVERE] Could not pass event PLAYER_INTERACT to DisposalChest
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.inventory.CraftInventory.removeItem(CraftInven
    tory.java:279)
            at me.itsatacoshop247.DisposalChest.DisposalChestPlayerListener.sortInve
    ntory(DisposalChestPlayerListener.java:44)
            at me.itsatacoshop247.DisposalChest.DisposalChestPlayerListener.onPlayer
    Interact(DisposalChestPlayerListener.java:38)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:252)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:162)
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Any ideas?
     
  16. Offline

    itsatacoshop247

    What other plugins do you have?
     
  17. Offline

    FrogInABox

    I have a lot of other plugins. All of which seemed to work fine with DisposalChest beforehand.
    These are:
    Code:
    AdminMode
    AutoSave
    CraftBukkitUpToDate
    DisposalChest
    DropChest
    General
    Help
    iChat
    iConomy
    InventorySort
    Lockette
    MobBounty
    MyHome
    Nether
    NoCheat
    Permissions
    PermissionsPlus
    RealShop
    SendGift
    xWarp
    The only plugin that has been added since DisposalChest is xWarp
     
  18. Offline

    Ardobras

    I get the same error and I´m using 674 Craftbukkit
     
  19. Offline

    theguruofreason

    Having a problem: I place a sign over a chest, type [Disposal] on it, and I get the message that says "disposal chest created" or whatever. The chest, however, doesn't dispose of things. Objects placed in the chest do not disappear.
     
  20. Offline

    itsatacoshop247

    I updated to 674 now, sorry it took so long
     
  21. Offline

    blakefire

    I cant download it from media file, i hit download and nothing happens try a new file uploader? I need to update this plugin.
     
  22. Offline

    itsatacoshop247

  23. :( CB#693 broke this plugin
    But gonna patiently wait for an update, lava is always fun though :p
     
  24. Offline

    itsatacoshop247

    I am not yet aware of a new recommended build, but as soon as there is one, I will update my plugins to it as fast as I can.
     
  25. Its all cool, take your time with it, rather a stable plugin that multiple unstable ones :)
     
  26. Offline

    BlackOutGaming

    I love this plugin. Great work! :) One thing though. Could you add the current build number to the title of the thread? It makes looking for updates a lot easier.
     
  27. Offline

    kyneflaretail

    Hey, i like the plugin, but i can't get it to work, every time the server starts it gives this error


    Code:
    20:48:44 [SEVERE] Could not pass event SIGN_CHANGE to DisposalChest
    
    java.lang.NullPointerException
    
            at me.itsatacoshop247.DisposalChest.DisposalChestBlockListener.hasPermis
    
    sion(DisposalChestBlockListener.java:182)
    
            at me.itsatacoshop247.DisposalChest.DisposalChestBlockListener.onSignCha
    
    nge(DisposalChestBlockListener.java:150)
    
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.j
    
    ava:408)
    
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    
    a:59)
    
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    
    ava:289)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:909)
    
            at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
    
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394
    and it throws an error any time someone tries to create one or destroy one that tried to be one. and when anything is put in the chest. i have the permissions set so that everyone can create or destroy them, but it wont let us do so, please help!
     
  28. Offline

    kahlilnc

  29. Offline

    27ace27

    Perhaps add something akin to a recycle bin that can be accessed by anybody, but is emptied every so often after pre-defined intervals?
     
  30. Offline

    nope

    confirmed not working in 860, hoping for an update!
     

Share This Page