PreventLooting

Moved

Total Downloads: 956 - First Release: May 25, 2017 - Last Update: Jan 27, 2018

5/5, 6 likes
  1. I said that I would divide permissions into different types. You can give permission to prevent looting of sleeping players, for example for the group "default" and give all permissions to the group "admin".
    I play on my server as player :)
     
  2. lol....humm what server do you run? Your answer will ..........be my point exactly :)
     
  3. CaseMan updated Prevent Looting with a new update entry:

    1.4.4

     
  4. could you do so that friends could loot the corpse and the backpack?
     
  5. There is already it. Or do you need to work this with "UsePermission: true"?
     
  6. I use for Players UseOnlyInCupboardRange. But players can not loot their friends.
     
  7. Players, their corpses and backpacks should always be available to friends. I will check it.
    Both players should be friends at each other.
     
  8. I'm using a plugin of Friends from moscow.ovh, maybe it's my problem?
    [DOUBLEPOST=1509553679][/DOUBLEPOST]here is their API. could you see if they fit
    Code:
    APIApiIsFriend(ulong playerId, ulong targetId) return true / null - являются ли игроки друзьями
    ApiGetFriends(ulong playerId) return List<ulong> / null - получить список друзей
    ApiAddFriend(ulong playerId, ulong targetId, bool limit = false) return true / null - добавить в список друзей
    ApiRemoveFriend(ulong playerId, ulong targetId) return true / null - удалить из списка друзей
    ApiGetActiveFriends(BasePlayer player) return List<ulong> / null - список друзей онлайн
    ApiGetActiveFriendsUserId(ulong userId) return List<ulong> / null - список друзей онлайн
    void OnActiveFriendsUpdate(BasePlayer player, List<BasePlayer> friends) - изменился список друзей онлайн (игрок онлайн)
    void OnActiveFriendsUpdateUserId(ulong userId, List<BasePlayer> friends) - изменился список друзей онлайн (игрок оффлайн)Поддерживается API от плагина Friends с oxidemod.orgbool AddFriend(ulong playerId, ulong friendId)
    bool RemoveFriend(ulong playerId, ulong friendId)
    bool HasFriend(ulong playerId, ulong friendId)
    bool AreFriends(ulong playerId, ulong friendId)
    bool IsFriend(ulong playerId, ulong friendId)
    string[] GetFriendList(ulong playerId)
    ulong[] IsFriendOf(ulong playerId)
    bool HadFriend(ulong playerId, ulong friendId)
    bool WereFriends(ulong playerId, ulong friendId)
    bool WasFriend(ulong playerId, ulong friendId)
    ulong[] GetFriends(ulong playerId)
     
  9. Yes, most likely. If they have their own hooks for other plugins, then it may not work. The plugin works great with Friends API | Oxide
     
  10. they basically have no problems with plugin support from this forum.
    by their API you can not say what can be changed?
     
  11. I use another hook: AreFriendsS. And I think I can do something about it.
     
  12. OK. Thank you. I noticed now that I can loot some of the friends and there are no others. specific differences between them do not see
     
  13. CaseMan updated Prevent Looting with a new update entry:

    1.4.5

     
  14. CaseMan updated Prevent Looting with a new update entry:

    1.4.6

     
  15. This needs a <3 button! :D Good job man, fixed my NRE's!
     
  16. @CaseMan Today I had some exploiters stealing from lots of quarries and furnaces today with this plugin on. They claimed they were using a exploit when caught, but never revealed it to us. I have had some regular players try and do tests for me, but we cannot figure it out. We even tried placing Tool Cupboards out. IN the config i have just friends enabled for allowing access to stuff.
     
  17. I can assume that they get into the inventory, with delay of tick, since the stopping looting occurs forced in the next tick.
    Do you use the plugins of the QuickSort type?
     
  18. I have a plugin used called furnacesorter FurnaceSorter , and another sorting one called absolutesorter for inventory. AbsolutSorter
     
    Last edited by a moderator: Nov 17, 2017
  19. Whether there is bind for the button to take all?
     
  20. I will take a look at this within the next 24h, and give you a PM about it @CaseMan