ClearInventory

Moved

Total Downloads: 1,286 - First Release: Dec 23, 2015 - Last Update: Dec 23, 2015

5/5, 5 likes
  1. Trentu submitted a new resource:

    Clear Inventory - Clear the inventory of any player

    Read more about this resource...
     
  2. /oxide.grant user Raphael cinventory.clear.admin
    Clear inventory just me
    How to make a clear inventory of the players?
     
  3. Thanks Trentu good job!!!
     
  4. Yes happens to me aswell when I type /clear 'name' it clears me out wtf..
     
  5. I just fixed it now
     
  6. Trentu updated Clear Inventory with a new update entry:

    1.0.1

     
  7. Wulf

    Wulf Community Admin

    I made a few changes that you may be interested in. The permission prefix should also match your plugin name, as that may be a requirement in the future; I updated the permission names to match this. Your permission checks I also split up, otherwise there is no point in having multiple; doing so also cleaned up a bit of code.
     

    Attached Files:

  8. There is the old bug
    Code:
     foreach (var player in sessions)
                    if (player.Name == name) return sessions[0];
     
  9. Wulf

    Wulf Community Admin

    Updated the file.
     
  10. Trentu updated Clear Inventory with a new update entry:

    1.0.2

     
  11. Just use /clear "Raphael 2"
     
  12. I wrote that I do not have access to the team ..
     
  13. what error do you get?
     
  14. Wulf

    Wulf Community Admin

    You'd need to grant your user/group permission to use the command.
    Code:
    /grant user Raphael clearinventory.other
     
  15. I get unknown command when typing /clear in the f1 menu. I am absolutely the admin (i can spawn crap in to my hearts content) and my welcome mod works fine.
    [DOUBLEPOST=1450930516][/DOUBLEPOST]/grant is a unknown command as well.
     
  16. Wulf

    Wulf Community Admin

    They are chat commands, not console commands.
     
  17. ok, that helps. but im still lost. When i type /clear - all i get is "unknown command".
    When i type: /oxide.grant user brian3924 cinventory.clear.admin i get "granted permission, etc"
    /clear still doesnt work.
    When i type: /grant user brian3924 clearinventory.other i get "granted permission"
    /clear still says "unkown command"

    edit: ffs, if i type /grant user brian3924 happy - it says "granted permission happy"! Im so sad.
     
  18. Wulf

    Wulf Community Admin

    There is no 'cinventory.clear.admin' permission. Also make sure you are using the latest version of the plugin, and that it is actually loaded. If you are unsure, check your oxide/logs for errors else your server console if you have access.

    /grant user brian3924 clearinventory.self
    '/clear' will now work.

    /grant user brian3924 clearinventory.other
    '/clear othername' will not work.

    742dcfe27d8c7a81a9f9b0c76253cb4a.png
     
  19. nope, it doesnt. how can i check to see if oxide is working properly?