Chest Clearer

Discussion in 'Archived: Plugin Requests' started by DarkXSpiritZ, Oct 11, 2012.

  1. Offline

    DarkXSpiritZ

    I want a simple plugin that u can like just put a sign near a chest and it would remove any items placed into it. Makes it easier for me :p so i don't have to go through EVERY of my chestshop's chest and clear out the items so other people can sell their items again T_T thats a pain I would like the plugin to be like the plugin Chest Restock but does the opposite :D
     
  2. Offline

    JazzaG

    How about instead of a sign, a command?
     
    DarkXSpiritZ likes this.
  3. Offline

    DarkXSpiritZ

    I fine with that ^_^ as long as it auto removes it for me and only ops can do it :D

    Maybe something like punching the chest than doing a command to make it auto empty out things but not drop them :p like a trash disposal chest
    I'm going to be using this if u make it, with the plugin ChestShop Since people can sell their items, it goes into the chest which in turns gets filled over time so i hope u make it would really save me time

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

    JazzaG

  5. Offline

    DarkXSpiritZ

  6. Offline

    Indiv0

    Dammit. I was hoping to make this plugin. Oh well I guess I'll just post what I've made anyways. It's very similar to JazzaG's plugin except for the fact that I added a simple undo feature. I'll post it up once I play test it to make sure there aren't any bugs.

    EDIT: DONE
    DarkXSpiritZ Done! :)

    Source: https://github.com/Indiv0/ChestEmpty
    Download: https://github.com/downloads/Indiv0/ChestEmpty/ChestEmpty.jar

    Permission: "chestempty.use"
    Commands: "/chestempty [toggle|undo]

    Using the command "/chestempty toggle" will enable a mode which, on left click empties a chest.

    Using the command "/chestempty undo" will undo the last performed empty for that user (if there was one).

    Like with any plugin, be careful when using it. I did bugfix it and I couldn't find any other bugs but if you find any let me know and I'll fix it :)
     

Share This Page