Check Inventory

Allows admin to check the inventory of a player

Total Downloads: 1,559 - First Release: May 30, 2015 - Last Update: May 30, 2015

5/5, 6 likes
  1. Pr0n3 submitted a new resource:

    Check Inventory - Check the inventory from a player.

    Read more about this resource...
     
  2. Possible to have the result in other colour? maybe this code: [FF9900] ?

    Good script, now i dont need to do the /buildreport all the time, saves me alot of time

    Thank you
     
  3. if there is a way to contact you i added a little bit more to the code to log it on the server in a log file for refrence and am will to let you put it in your code if willing
     
  4. Wulf

    Wulf Community Admin

    You could post it in this thread.
     
  5. how do i go about doing that
    [DOUBLEPOST=1433111251][/DOUBLEPOST]
    var content = "[0f52ba]Inventory contents for '" + target.Name + "':\n[ffffff]";
    content = contents.Count == 0 ? content + "No items found." : contents.Aggregate(content, (current, item) => current + $"[0f52ba]{item.Value} x {item.Key}\n[ffffff]");
    PrintToChat(player, content);

    all in bold the first changes the color the 2nd is to change it back to white
     
    Last edited by a moderator: May 31, 2015
  6. how to install this Plugins in server???
     
  7. Hi,

    It goes to directory "\Saves\oxide\plugins"

    Let's say you have the server on the desktop it would then be C:\Users\your username\Desktop\Reign Of Kings Server\Saves\oxide\plugins

    If you have a "rent a slot" server just FTP to it and you should be in the "server folder" automatically.
     
  8. Can u add the option to see the inventory of OFFLINE players ?
     
  9. question: did you code it on purpose, that the plugin cant see the orifice slot?
    I want to use the plugin to control players on my server so they dont hide 20 sharp stones, or 40 lockpicks up their butts.
     
  10. i dont think the author is working on this any more ill see what i can do
     
  11. I think the pluging LOOK the inventory and since what u have in the Orifice Slot must be in the common inventory... i think i will see it...
    [DOUBLEPOST=1450709583][/DOUBLEPOST]I think u will see it <----------------- sorry for my bad english :(
     
  12. i am very aware of that ;)

    that is why i posted a question, but thanks anyway ;)
     
  13. What is the permission string so I can add the ability to my Mod group?
     
  14. What is the permission string so I can add the ability to my Mod group?
     
  15. I am also looking for the permission string.
     
  16. how do i make so everyone can use this on the server not only admin anyone find out how ? please thanks
     
  17. Hello i have a question about the permission group setting
    so i got this string here>

    if (player.HasPermission("Guest, admin"))

    now heres my issue> im trying to make it so admins and guest users can be able to use this function. However, what i showed you above is not working. it only applies to guest, but not admins. Is there anyone here who could be so kind and help me out?
     
  18. Wulf

    Wulf Community Admin

    I doubt there is a permission named "Guest, admin", you'd need to split that into multiple checks or just remote it entirely to allow everyone to use it.
     
  19. ok so i want this to apply to both guest and admin, how would i go about doing so (i have some groups that i do not wish having this option therefore i need to add those 2 groups)


    can you make me an example of how to add those 2 groups to the permission?

    would this be corect?:
    Code:
    "if (player.HasPermission("Guest")
                  or (player.HasPermission("admin"))"

    (personally it does not look corect but im not sure how i would go about doing this) :p
     
    Last edited by a moderator: May 8, 2017
  20. Wulf

    Wulf Community Admin

    Does the "Guest" permission actually exist?
    Code:
    if (player.HasPermission("guest") || (player.HasPermission("admin"))