AntiLoot

Stops Looting of chests, torches, stations, furniture, anything that's lootable.

Total Downloads: 112 - First Release: Nov 13, 2017 - Last Update: Dec 31, 2017

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

    AntiLoot - Stops Looting of chests, torches, stations, furniture, anything that's lootable.

    Read more about this resource...
     
  2. Oxide 2.0.3734 but AntiLoot doesn't work.
    useProtectedZone: true
    All flags like nocampfirelooting at zone is true.
    Just all lootable.
     
  3. Lootable even outside the zone?
    Keep in mind it wont stop you from looting things you made yourself, also admins can loot anything unless that is turned off in the config.
    [DOUBLEPOST=1510603262][/DOUBLEPOST]If the plugin doesnt work at all, in or out of a zone and with useProtectedZone set to False I would say the Assembly-CSharp.dll wasnt updated.
     
  4. I updated Oxide. i.e. all in ROK_Data, and AdminCanLoot is false.
     
  5. If you set useProtectedZone to false does the plugin work at all?
     
  6. would it be possible to have so you can loot if at war? other wise no one would war each other if there is nothing to gain
     
  7. Hmm, that's a good idea, let me look into that.
     
  8. @Ruby I have tested everything and its all working for me, so I need more details, any errors in the logs, are the messages working, does it work without ProtectedZone, etc.
     
  9. @Ruby are you by chance running the levels plugin? It seems to be conflicting with ProtectedZone, try /zone info standing in a zone and see if you get anything in chat.
     
  10. This is only if you use ProtectedZone with AntiLoot, otherwise you do not have do this ....
    ** ProtectedZone has a conflict with the LevelSystem Plugin, you have to set "useNametag": false in the LevelSystem config to get them to work together**
     
  11. I have Nametag: false, it did not work before.
     
  12. I havent checked to see if AntiLoot still works with the levels plugin installed on my test server, I was busy last night looking into what was going on with ProtectedZone not working properly, so I will test that again tonight. It would still be helpful to get more information from you so I can duplicate the problem.
    1. Does AntiLoot work without protectedZone enabled in config? It should work fine by itself. Make sure you try it in and out of zones and on something that another player made, that is not in your Crest zone.
    2. Does the oxide log have errors when interacting with objects?
    2. If it doesn't work at all it could be another plugin causing an issue, you could check this by removing all plugins and checking to see if AntiLoot works by itself, if it does add plugins back until you find the one causing it, I know this in not a good thing to do on a live server, so hopefully you have a test server.
    3. If you cant do the above give me a list of plugins you have and I will take a look(you can pm me)
    4. If the above doesn't work please verify your Assembly-CSharp.DLL has the hook OnPlayerInteract in it, I can send a test plugin to you to verify its working if you want.

    Let me know how I can help, I would be glad to come to you server or chat over Steam, but during the day(right now) I am at work, so nights and weekends central time US are when I am on and available.
    * EDIT: I checked and AntiLoot still works fine for me with the levels plugin installed, so please try the above steps
     
  13. It just doesn't work without any logs, and with protectedZone enabled/disabled too. Other plugins on the server do not have OnPlayerInteract hook and i updated ProtectedZone to fix conflict with LevelSystem. Last Oxide build.
     
  14. I sent you a file to install just to check if OnPlayerInteract is working.
    Also a conflict doesn't necessarily have to be from two plugins using the same hook, that's why I asked about your other plugins, the ProtectedZone problem with the levels plugin was not related to an oxide hook.

    I have tested this plugin on two different servers and it works fine, I cant fix it if I cant duplicate the problem, that why I am trying to eliminate possible problems. :)
     
  15. Oh, I just rewrited ROK_Data and reloaded the server, and it works now...
    Don't know why it did not work under the same conditions before.
     
  16. Ok, Just Glad its working!!
     
  17. One bug: I set ProtectedZoneEnable to true but it is not work. I cannot loot anything out of zone.
     
  18. Everything out of zone is still controlled by AntiLoot config settings , so if you have looting turned off for everything you will not be able to loot
    So set AntiLoot config settings to:
    Code:
    {
      "AdminCanLoot": true,
      "AllowCampFireLooting": true,
      "AllowChestLooting": true,
      "AllowFirePlaceLooting": true,
      "AllowFurnitureLooting": true,
      "AllowGuildAccess": true,
      "AllowStationLooting": true,
      "AllowTorchLooting": true,
      "AllowVillagerLooting": true,
      "AllowWoodChestLooting": true,
      "LogLooting": true,
      "MessagesOn": true,
      "ProtectedZoneEnable": true
    }
    This will allow looting except in the zones you set the looting flags to false in.
     
  19. Ok, thanks! I thought in AntiLoot config it must be false too. :D
    [DOUBLEPOST=1511206216][/DOUBLEPOST]
    Mm, containers in zone are lootable if AntiLoot have all true.
    [DOUBLEPOST=1511206459][/DOUBLEPOST]nofireplacelooting and other parameters in zone is true.
     
    Last edited by a moderator: Nov 20, 2017
  20. Wood Chests only?
    I forgot I set that up a little different because a lot of people use those to give new players stuff, so they want them lootable, the config controls them atm if I recall correctly, let me check on that I will probably need to rewrite that part so zones have control over them.