[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

    o0AzzA0o

    minecraft@ks308479 ~/server1 $ cat server.log |grep -A 10 Cleaner
    2011-03-13 10:05:52 [SEVERE] Could not load plugins/Cleaner.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.nijikokun.bukkit.Cleaner.Cleaner.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
    ... 8 more
     
  3. Offline

    Lunar Delta

    /restore needs to be something else, as that command is already being used by WorldEdit.
     
  4. Offline

    SweetCraft Girl

    Oh thank goodness. I can get rid of the cheaters again.

    Thank you so much.
     
  5. Offline

    MacG32

    Thank you TechGuard for keeping this plugin alive and up to date. [​IMG] The attached older version changed /restore to /invrestore. The permissions node wasn't changed to reflect this.
     

    Attached Files:

  6. Offline

    Juze

    Great to see this plugin back! :D
     
  7. Offline

    h0us3cat

    this. :)
     
  8. I'm getting the same error :/
    I'm using the #522 build, if it helps :)
     
  9. New recommend build is: #531

    BTW: going to fix the replace.. at some points it will crash the client.
    [MERGETIME="1300023609"][/MERGETIME]
    ChangeLog v1.8
    • 1.8
    • Updated to recommend build
    • Fixed the /replace command
    • Changed /restore to /invrestore (also in permissions)
     
  10. The error got fixed in this update! It works on 522 just fine now.
    Thanks :D
     
  11. Offline

    o0AzzA0o

    Nice work :) link is dead for me atm cant wait to get it
     
  12. Offline

    Tealk

    hi if i will use /restore i become the message
    Snapshot/backup restore is not configured
     
  13. Changed /restore to /invrestore (also in permissions)
     
  14. Offline

    Tealk

    oh ok thanks i havent read the changelog only the command list^^
     
  15. Offline

    Lookatmego

    works fine no problems or errors great job
     
  16. Offline

    SplenectomY

    cleaner.clean

    Does this permission only allow a player to clean himself?
     
  17. Yes
     
  18. Offline

    SplenectomY

    Awesome. Another perk for my moderators/donors :D
     
  19. Offline

    Small_beans

    Hey Tech I don't know if your remember me but I'm from Gearcraft. I suck at using this forum so I couldn't find out how to PM. Anyway I just wanted to know if you have a version of iColor for Bukkit. If you dont have a plugin called iColor, im talking about the plugin Gearcraft used to use for the colored signs.
     
  20. Hey Beans! Yeh, I remember you.
    But no, I'm not going to develop iColor anymore.
     
  21. Offline

    Lookatmego

    hey techguard i just wanted to thank you once again really awesome job with this plugin and bringing it bak!!!
     
  22. Offline

    charlie k-j

    One thing i'm worried about is that a) when i look in cmd CONSOLE this is Cleaner 1.0 and two I just got an 'PLAYER_COMMAND_PREPROCESS' etc error. Help?
     
  23. Download the recommend build.
     
  24. Offline

    stkeroro

    can you change /replace for /invreplace? it's like worldedit //replace, and i miss all the time :(
     
  25. That is changed already.
     
  26. Offline

    MacG32

    Confirmed working with build #556. [​IMG]
     
  27. Thank you for telling me :)
     
  28. Offline

    MacG32

    You're welcome. [​IMG]
     
  29. Offline

    stkeroro

    i think you mean /restore, i say /replace
     
  30. I´m sorry, is that also a command of world edit?
     
Thread Status:
Not open for further replies.

Share This Page