[OBSOLETE][MECH/SEC] Cleaner v1.8 - Inventory Hitman [531 & 556]

Discussion in 'Inactive/Unsupported Plugins' started by TechGuard, Mar 12, 2011.

Thread Status:
Not open for further replies.
  1. Cleaner
    Download 1.8Donate
    This plugin is originally made by Nijikokun i'm just keeping this up-to-date.

    Cleaner is a plugin to help you maintain users inventories. Why? Everyone likes to be a little dangerous. Now you can prevent it.

    Cleaner allows you to scan, preview, force removal of items, cleaning, forced cleaning, and more!

    Install:
    1. First, grab the Permissions plugin if you don't have it already.
      1. Modify your permissions file (plugins/Permissions/world.yml) with the permissions included in the README.txt included in this archive.
    2. Download & Extract all the files into your base directory of bukkit.
      • Configure your items.db
    3. Reload the server or Enable the plugin via console. Enjoy!
    Commands:

    • /wipe - Wipe all inventories of online players on the server.
      • /wipe -f - Wipe all inventories & quickbars of online players on the server.
    • /clean - Clean your inventory without harming the quickbar
      • /clean -f - Force clean the entire inventory.
      • /clean [player] - Clean another player without harming their quickbar
      • /clean [player] -f - Clean another player's entire inventory.
    • /scan [item] - Scans every online player to see if they have the item
      • /scan [item] -r - Removes 1 of every item from every player who has it.
      • /scan [item] -f - Removes every instance of item from every player who has it.
      • /scan [item] [amount] - Scans every online player to see if they have the item under amount
      • /scan [item] [amount] -r - Removes the amount of item from any player who has it.
      • /scan [item] [amount] -f - Removes every instance of item from every player who has it.
    • /scan [player] - Verbose scan of a players inventory (Possible client crash due to Notch Line length / color bug)
      • /scan [player] [args] - Does the same for a player as the item scanning.
    • /preview [player] - View a players inventory and store yours for later
    • /replace [player] - Replaces a players inventory with yours.
      • /replace [item] [with] - Globally replace an item with another in everyone's inventory.
      • /replace [player] [item] [with] - Replace an item with another item in a players inventory.
    • /invrestore - Restores your inventory after you are done viewing another players inventory
    Permissions Nodes:
    Code:
    [ PERMISSIONS ]
        - Requires Permissions
        - Cleaner contains the following Permissions:
    
            cleaner.clean
                cleaner.clean.force
                cleaner.clean.player
                    cleaner.clean.player.force
            cleaner.preview
                cleaner.preview.invrestore
            cleaner.replace
                cleaner.replace.items
                cleaner.replace.player
                    cleaner.replace.player.items
            cleaner.scan
                cleaner.scan.items
                cleaner.scan.remove
                    cleaner.scan.remove.force
                cleaner.scan.player
                    cleaner.scan.player.remove
                        cleaner.scan.player.remove.force
    
        - Some examples of how you could set this up:
            cleaner.clean
            cleaner.scan
    
            Would allow you to scan and clean but nothing else.
    
        - Advanced:
            cleaner.clean
            cleaner.clean.*
            cleaner.scan.player
            cleaner.scan.player.*
    
            Gives you access to everything under .clean & .scan.player
    
        - Easy for admins:
            cleaner.*
    
            Gives you access to everything.
    Changelog
    • 1.8
      • Updated to recommend build
      • Fixed the /replace command
      • Changed /restore to /invrestore (also in permissions)
    • 1.7
      • Updated to support Permissions plugin.
    • 1.6
      • Contained fixes.
    • 1.5
      • Converted for Bukkit
    • 1.4
      • Added /wipe command.
      • Added partial username support to all commands.
    • 1.3
      • Contains various fixes / missing messages captured by testing.
    • 1.2
      • Added more verbose permissions to cleaner in Cleaner/permissions.settings for sub-commands / features
    • 1.1
      • Added /replace commands
      • Patched up the /clean [player] command now outputs a message with confirmation.
    • 1.0
      • Initial Release
    Item name control Database: (Whew long name, IncDB for short)[size=x-small]


    This is controlled by items.db inside of the Cleaner/ directory. This controls item name <- to -> id mapping.
    This is a single usage map (actually, never tested multiple) for custom item names inside the plugin.
    Currently all of the newer plugins that I've been releasing will be utilizing these (if needed).
    This contains the items.db and some example entries. Check it out, its pretty cool.


    IMPORTANT: Post the bugs in this thread!
     
    ksevelyar likes this.
  2. Offline

    Kainzo

    Hey Tech. Good job fixing this one up, check back on HCO
     
  3. Offline

    stkeroro

    yes, it replaces the selected id for another id.
     
  4. Offline

    ksevelyar

    No.

    Cleaner: /replace
    WorldEdit: //replace
     
  5. Offline

    stkeroro

    yes, i know, but sometimes people forgot one / and disaster incoming...
     
  6. Offline

    rbos

    Hi,

    Can we get a separate permission for /wipe? After an accident today, I don't really trust mods with it. ^_^;;
     
  7. Offline

    riuthamus

    this plugin has a problem, worldedit uses /replace, so when i try to use worldedit and do this... i actually fuck every bodies inventory. Can we change the command or add something in there so it doesnt go against the worldedit.
     
  8. Offline

    charlie k-j

    my Console is still saying that this is Cleaner 1.0 and I am at recommended CB build 556.
     
  9. Offline

    dslip

    Could you please consider linking to the .jar file in your CraftBukkitUpToDate entry. Downloading a .zip is a little less convenient.
     
  10. Offline

    Revenger

    On recommended build 556

    Added to my permissions 2.5.4 config.

    - cleaner.scan.*
    - cleaner.clean.*

    Try command /scan tnt -f

    Get this error:

    Code:
    21:10:44 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Cleaner
    java.lang.ArrayIndexOutOfBoundsException
    
     
  11. Offline

    Kainzo

    This probably needs to be adjusted for the newer releases coming out, though I havent tested it.
     
  12. Offline

    Draconicus

    After months of using WorldEdit with the // function disabled (the command is /replace instead of //replace), I am not willing to change my well-practiced habits, which I have taught to other mods and so-on, just for the sake of an inventory cleaning plugin. That being said, I need this plugin for jobs that make lots of excess.

    Please, please consider changing your /replace command to something else. Maybe /swap? You have /invrestore - how 'bout /invreplace?

    Maybe you could go a step further and have the commands you use now set to an alias system that actually points to /inv* commands that are favored as the 'actual' ones. Then you could tie the aliases to a toggling variable that server admins can disable in their config files in case of conflicts. Everybody wins! :)
     
    Jorrdan likes this.
  13. Offline

    crazydog

    2011-03-31 15:26:51 [SEVERE] Nag author: 'TechGuard' of 'Cleaner' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
     
  14. Offline

    AZUMIKKEL

    In case 612 broke it (have not yet tested), hoping for an update <3

    Also, what Draconicus said, but more polite.
     
  15. Offline

    OrtwinS

    Hi,
    I'd like to voice my appriciation for making this plugin.

    I think you have only 2 pages of replies because everyone is so content they have no problems to report :D

    Is there an estimate for a 617+ compatible release?
     
  16. Offline

    Steve Member

    Might want to update your plugin.yml as it still reports version 1.0 on startup instead of 1.8

    Oh add this
    Code:
    23:13:47 [SEVERE] Nag author: 'TechGuard' of '	' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
     
  17. I'm very busy, but I will try to make time to update this!
     
    OrtwinS and JD DeGaetano like this.
  18. Offline

    Tfs Halo

    okay :) take your time
     
  19. Offline

    Sparx

    Works fine on build 612 for me. And here is a nag for you: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
     
  20. Offline

    OrtwinS

    Walking over to a lava pit or some other sort of inventory dumb seems so SLOW now...:p
    I got addicted to the /clean
     
  21. Offline

    Thoth

    It seems to still be working with me.
     
  22. Offline

    Kainzo

    Need an update :)
     
  23. Offline

    lolzrofl

    I gave my moderators the permissions cleaner.clean and cleaner.scan but it denies them permissions to do so (yes i reloaded the server) Please help!
     
  24. Offline

    Draconicus

    Did I say something impolite? :confused:
     
  25. Offline

    Sparx

  26. Offline

    Juze

    Done and moved.
     
  27. Offline

    bassbeast

    but it still works for me with the 617 build lol. you should keep it!
     
  28. Offline

    VoidingNixx

    Seems to be broken, at least, with permissions 2.5.5... permissions tells me 'You do not have permission' although the correct permissions are set. CB #617
     
  29. Offline

    Hguin

    CB 740?
     
  30. Offline

    Draconicus

    [OBSOLETE]? What replaces it?
     
Thread Status:
Not open for further replies.

Share This Page