Inventory Cleaner

This plugin allows players with permission to clean all/their/target's inventory.

Total Downloads: 2,207 - First Release: Jul 14, 2015 - Last Update: Feb 22, 2017

5/5, 4 likes
  1. Total Downloads: 594 - First Release: Jul 14, 2015 - Last Update: Yesterday at 5:17 PM
     
  2. oh i thought it was a new release my bad XD
     
  3. command not work - /invclean "player"
    permission added - grant group admin inventorycleaner.use
     
  4. Do you get "You dont have permission to use this command" after you type the /invclean command ? ?
     
  5. yes yes yes
     
  6. Well, since you did "grant group admin inventorycleaner.use" and you dont have permission to use this command then you don't have the "admin" permission group assigned to you.

    Try giving yourself the authlevel 2 and then once you reconnect to your server you should get the admin permission group.
    Code:
    ownerid YourSteamId
    server.writecfg
    
     
  7. I am a member of the Administrators group. other plugins run perfectly.
    to introduce the server console command - "grant group admin inventory cleaner.use"
    there is an error - "doesn`t exist"
     
  8. Well... the permission is "inventorycleaner.use" not "inventory cleaner.use".
     
  9. I used the command "inventorycleaner.use". Google translator is corrected.
    Administrator privileges I have. other plugins run perfectly. to update your plug-in server was running stably.
    I completely removed the server and set all over again. everything works except for this plugin and this commands with privilege.
     
  10. Just do "grant user kiprian inventorycleaner.use" || Make sure the plugin is loaded..
     
  11. in the console like a privilege to add, there are no errors. but the game not working. I enter the chat / invclean "Nikolos" in chat says you do not have privileges
     
  12. PaiN updated Inventory Cleaner with a new update entry:

    1.1.3


    [DOUBLEPOST=1468080414][/DOUBLEPOST]
    Check the latest version.
     
  13. thanks It works!
     
  14. Might be worth adding an argument to the command that optionally allows you to remove only specific items. /invcleanall c4 or whatever. It'd be cool if it included sleepers too.
     
  15. /invclean bugs out on me. Here is the ouput, permissions are set, and the other commands work well.

    Code:
    (00:58:53) | [Oxide] 06:59 [Error] Failed to call hook 'cmdInvClean' on plugin 'InventoryCleaner v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    (00:58:53) | [Oxide] 06:59 [Debug]   at Oxide.Plugins.InventoryCleaner.cmdInvClean (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InventoryCleaner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    My assumption is the problem is with target not getting set.
    Code:
    var target = BasePlayer.Find(args[0]);
     
  16. I installed this mod, and I checked its loaded in "Oxide.plugins". But there is no Command I can find and can use.
    "find inv","find clean" but there is no command exist. how can I fix it?
     
  17. Wulf

    Wulf Community Admin

    @PaiN, are you still planning on maintaining this and your other plugins?
     
  18. Is there something wrong with this one ? (I will add a target null check in a sec ^^)
    About other plugins yeah Im planning on maintaining them but the problem is that I don't have that much time lately mostly because of school and other activities every day after school but I'm trying to keep my plugins up. Im just waiting for summer to have much more free time to fix them.
     
  19. PaiN updated Inventory Cleaner with a new update entry:

    1.1.4

     
  20. Pain - beautiful plugin. Absolutely fantastic - very helpful for doing events and whatnot.

    One SLIGHT request... I know you said you were busy with real life - but this hopefully shouldn't be too big. Is there a way to have a couple notifications added? 1) Notify the player that their inventory has been cleaned by an admin? or 2) Output a message to console / logs so that server owners can check for any potential abuses?

    Again, fantastic work - keep it up :)