LootPrivilege

Blocks looting of specified entities if Building Blocked.

Total Downloads: 183 - First Release: May 10, 2017 - Last Update: May 11, 2017

5/5, 3 likes
  1. CodeHarbour submitted a new resource:

    LootPrivilege - Blocks looting of specified entities if Building Blocked.

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

    Just one little tip: LoadDefaultMessages() is called by default in Oxide, so you do not need to call it manually in Init(). ;)
     
  3. This is not working properly, seems to almost be backwards, I was testing it with one of my players, and It would block me from looting the furnaces, but it would still allow him to loot them. Has no effect on Small oil refineries or quarries either.

    edit
    I removed the `if (!player.IsAdmin) return;` line, and it started to work for Furnaces, but still no effect on Refineries and Quarries.
     
    Last edited by a moderator: May 11, 2017

  4. Hi, yes same here i testet it on the same way. At the moment works just "furnace", "furnace.large", the others can still looting.
    No errors in console i using latest oxide version :

    Protocol: 1984.144.1
    Build Date: 05/04/2017 17:57:52
    Unity Version: 5.6.0f3
    Changeset: 20463
    Branch: main
    Oxide Version: 2.0.3263

    is there maybe a plugin what it blocks? i didnt test it on a fresh non-other-plugin oxide rust server!

    but it is already the direction where we would want there, Thanks! =)
     
  5. CodeHarbour updated LootPrivilege with a new update entry:

    1.0.1

     
  6. CodeHarbour updated LootPrivilege with a new update entry:

    1.0.2

     
  7. CodeHarbour updated LootPrivilege with a new update entry:

    1.1.0

     
  8. Hi. Does this work with Clans, and/or Friends ?
     
  9. Curious, does this work with Mining Quarries? :)
     
  10. yes
    "hopperoutput",
    "fuelstorage",