Items Blocker

Prevents some items from being used for a limited period of time. With UI.

Total Downloads: 1,864 - First Release: Apr 11, 2017 - Last Update: Mar 12, 2018

5/5, 15 likes
  1. i'm not sure. but i think
    this error comes after a gui countdown has ended
     
  2. hm... wired...
     
  3. Hello is there any way i can use grant user $player.id itemsblocker.bypass when entering a zone , iv tried to use zone manager with zone command by typing this into zone command /zcmd add 2660604 on enter {grant user $player.id itemsblocker.bypass} but to no avail anybody have any ideas .
    i have blocked c4 satchel and rockets on the server for pve but want some pvp zones and when you enter a pvp zone it gives you permission itemsblocker.bypass so you can craft the items , also if you no how to revoke the permission i would have thought /zcmd add 2660604 on enter {revoke user $player.id itemsblocker.bypass} but again not working .
    cheers for any help
     
  4. Wulf

    Wulf Community Admin

    See Using the Oxide permission system | Oxide and Oxide core plugin/permission command changes | Oxide.
     
  5. insted of just grant user $player.id itemsblocker.bypass or revoke user $player.id itemsblocker.bypass you have to use o.grant and o.revoke. Or perm.grant and perm.revoke.
    But in your case - I don't know - haven't work with zonemanager for ages =)
     
  6. hello, I have this error in rcon, it does not affect at all the configuration that I have but I would like to know what is due ...

    Code:
    (18:36:31) | Failed to call hook 'OnReloadMagazine' on plugin 'ItemsBlocker v3.1.11' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    (18:36:31) | at System.Collections.Generic.List`1[Item].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemsBlocker.IsAmmoBlocked (.BasePlayer owner, .BaseProjectile proj) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemsBlocker.OnReloadMagazine (.BasePlayer player, .BaseProjectile projectile) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemsBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. Yeah, heard about it. But I have no idea how to reproduce it or what causes it...
     
  8. Hello, it is possible to have several lists of articles to block, with a different time.
    For example, category 3 weapon for 60 hours, category 2 for 30 hours, etc.
    Thank you
     
  9. same here
     
  10. Hi in the plugin on the server only russian language, how can i change in english?
     
  11. It is in English by default
     
  12. If you are talking about the lang output in the chat - it depends on the client lang. I'm not sure wich lang would be picked if it's not engl or russian tho...
     
  13. Which is spelt like this :)
     
  14. yes sorry my mistake, the Rust was with me in Russian so the plugin was also in Russian
     
  15. how to disable GUI for playeres it bother them on screen
    and is there a command on chat ot see what item sare blocked?
    great plugin
    cheers
     
  16. There is no such command. At least - for now. I can make one, if you want =)
    Wich GUI do you mean? IF the OnScreen one(Wich is alwasy on scree, displaying the time left for the block) - there is an option "Use On Screen Panel", wich you need to set to false.
    If you are talking about one that shows up if the player attempts to put the item ob their belt(attire) - there is an option "Use chat insted of GUI", wich you need to set to true.
     
  17. done thx and btw yes it can be very usefull to type /block and see all items with commas as a list in the chat
     
  18. ok, would do as I would be able to =)
     
  19. I'm stupid when it comes to plugins, but how can i change the time from 1d or something like that to 30 days ?

    I hope you know what i mean,... Thank You !
     
  20. just change the date like you want 19/01/2018 change to idk 25/12/2020