LootProtection

Moved

Total Downloads: 1,299 - First Release: Jun 16, 2015 - Last Update: Nov 7, 2016

3.66667/5, 6 likes
  1. I've reinstalled my server andPlugin doesn't work on new server. I gave permissions to default group and we can still see other players loot and steal it. Any ideas how to make it work again? It was working before the reinstallation.
     
  2. Wulf

    Wulf Community Admin

    Which permissions did you give?
     
  3. lootprotection.enabled
     
  4. Wulf

    Wulf Community Admin

    Did you grant the bypass perm to anyone or group?
     
  5. I didn't but to make sure I did not give it by mistake I did revoke to all groups.
     
  6. Wulf

    Wulf Community Admin

    Wulf updated LootProtection with a new update entry:

    0.4.0

     
  7. Code:
    (11:07:16) | [Oxide] 11:07 [Error] Failed to call hook 'OnLootEntity' on plugin 'LootProtection v0.4.0' (FormatException: Input string was not in a correct format.)
    (11:07:16) | [Oxide] 11:07 [Debug]   at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootProtection.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootProtection.OnLootEntity (.BasePlayer looter, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LootProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    Getting this error, If a player cuts up a LootProtected Body, Bypassing the lootblocker @Wulf
     
  8. Wulf

    Wulf Community Admin

    For the error, what does your lang file for the plugin look like?
     
  9. This 1?
     

    Attached Files:

  10. Wulf

    Wulf Community Admin

    Yup, you have an old lang file. Delete it and reload the plugin, the error will be fixed.
     
  11. Ok, cheers wulf. missed a few plugin updates when everybody released at same time.
     
  12. Can you please add a separate option to protect sleepers and also corpses? :)

    We want to make it so that sleepers are protected but not corpses.
     
  13. Wulf

    Wulf Community Admin

    Added in the next version.
     
  14. Wulf

    Wulf Community Admin

    Wulf updated LootProtection with a new update entry:

    0.5.0

     
  15. Thanks Wulf! Really appreciate it, we were using it as a VIP feature but people found it a bit too pay to win with the corpses protected as well. Thanks heaps for all the great work! :)
     
  16. correct me if i am isn't right - i still can destroy body and loot will drop down with 75% chance(like destroying chests)?
     
  17. Wulf

    Wulf Community Admin

    Right, I haven't added anything to prevent that, not even sure what would be best. Only way I can think of right now is destroying their loot when they die.
     
  18. just tested yesterday what drops out of body, it's 100% of loot was in it..
    my suggestion is to despawn body right after player/sleeper was killed or as you mentioned destroying loot. it should be an option in config i think.
    [DOUBLEPOST=1478585736][/DOUBLEPOST]option i mean: to destroy loot, to despawn body or to do nothing in this case.
     
  19. Problem with the plugin. It does not create the .Json file is this normal?
     
  20. Wulf

    Wulf Community Admin

    If the plugin isn't loading, it won't create the config. Aside from that, there's no other reason why it wouldn't.