UGather

Adds zones, permissions, and other options to modify gather rates!

Total Downloads: 6,540 - First Release: Mar 14, 2016 - Last Update: Apr 28, 2018

5/5, 19 likes
  1. Here is a configuration with two more permission groups added, VIP and advanced. I would suggest comparing between your old and the new to see what I added just so you have a feel for how it works.
     

    Attached Files:

  2. Thank you for the great support :) , I will look and see what I did wrong when i was trying to add group perms in. TYVM :)
     
  3. @DylanSMR Hey I just noticed this pop up on the server I have this plugin on. I'm not sure if i missed something, or its something related with oxide hook. I used your config you sent previously.
    Code:
    | Failed to call hook 'OnDispenserGather' on plugin 'IGather v1.1.3' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Single].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.GetSingleMultiplier (System.String id, System.String type, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.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
     
  4. That most likely happened because of a resource I forgot to add to the config file. If you can figure what resource is causing that issue that would be fantastic. (Basically, something someone mined was not in the config, causing an error to occur)
     
  5. Ok good to know. I'm not to sure what they were mining, but I'm sure over time we will notice stuff not getting multiplyer. I havent been on myself to test, I was just watching rcon console. I will mention this and hopefully find out what it is.
     
  6. Hi Dylan. I just downloaded your latest update, but I am having issues with cloth. If I am picking hemp from the ground I would expect I would change the rate under "Pickups". I tried changing to 5.0 but still getting default rate. Also what does "Bonus" do, I tried setting to 100.0 to see any noticeable changes, but didn't see any? I am not doing anything fancy with VIPs, just default igather.basic permissions. Thanks!
    [DOUBLEPOST=1524321189][/DOUBLEPOST]Actually, maybe I am doing something wrong, because I just changed my other values and nothing is happening.
    "Gather Perms : The list of permissions that grant specified gather rates.": {
    "igather.basic": {
    "Bonus": {
    "hq_metal_ore": 0.0,
    "metal_ore": 0.0,
    "stones": 0.0,
    "sulfur_ore": 0.0,
    "wood": 0.0
    },
    "Dispenser": {
    "bone_fragments": 100.0,
    "cloth": 100.0,
    "fat.animal": 100.0,
    "hq_metal_ore": 100.0,
    "humanmeat_raw": 100.0,
    "leather": 100.0,
    "meat.bear.raw": 100.0,
    "meat.horse.raw": 100.0,
    "meat.pork.raw": 0.0,
    "meat.wolf.raw": 0.0,
    "metal_ore": 0.0,
    "skull_wolf": 0.0,
    "stones": 100.0,
    "sulfur_ore": 0.0,
    "wood": 1000.0
     
  7. Hello, just added your mod, and when mining the APC we're getting 0 of the metal fragments, charcoal, and HQM, is there a way to change this? I tried adding metal.fragments, charcoal, and metal.refined and the plugin wouldn't load.

    Edit: got charcoal to work by adding it to dispenser, but metal fragments and high quality metal off the apc are still dropping 0

    Edit: Nvm got it, syntax was off
     

    Attached Files:

    Last edited by a moderator: Apr 21, 2018
  8. Bonuses relate to the extra resources you get from doing the challenges on the node / tree as far as I am aware. To up the gather rate of the hemp bushes you should just be able to up "cloth" setting in the pickups category.
    Thanks! I'll add those settings into the main version of the plugin.
     
  9. No problem needed to make it metal_fragments, not metal.fragments like it is in the config file I uploaded.
    [DOUBLEPOST=1524340128][/DOUBLEPOST]anyway we can get crude oil from the oil pumps added as well?
     
  10. Gotcha, and sure thing.
     
  11. Should I be able to edit the json file directly, or do I have to use commands to make changes to the file? I have added myself to basic, and advanced, but when I /igather to check the resource rate it doesn't change no matter what I do to the json file code.
     
  12. Have you given yourself the permission to whatever group your wanting? By default /igather should show the highest permission gather rates you have, otherwise if you changed the config it will show your gather rates combined.
     
  13. Hello, if anyone gathering on server coming this
    Code:
    Failed to call hook 'OnDispenserGather' on plugin 'IGather v1.1.3' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Single].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.GetSingleMultiplier (System.String id, System.String type, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.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
    anyone can tell me why?
     
  14. Thats most likely happening because something someone mined/picked up wasn't handled by my plugin. I'm going to be adding checks and more items to the config to resolve that.
     
  15. DylanSMR updated UGather with a new update entry:

    1.1.4

     
  16. Well i've tried to remove IGather and add it again but i keep on getting the same error...:/

    Failed to call hook 'OnDispenserGather' on plugin 'IGather v1.1.3' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[System.String,System.Single].get_Item (System.String key) [0x00000] in :0 at Oxide.Plugins.IGather.GetSingleMultiplier (System.String id, System.String type, System.String name) [0x00000] in :0 at Oxide.Plugins.IGather.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in :0 at Oxide.Plugins.IGather.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0

    Just delete this, didn't see that there was an update (facepalm)
     
  17. Make sure your using the latest version.
     
  18. Yeah i saw that there was a new update the moment i posted this srry
     
  19. I have everything set to 3.0 and didn't change anything else, but quarries still give 1.0 rates. What am i doing wrong?
     
  20. oxide.grant <NAMEUSER> <98989898989898898> <ugather.admin>

    mensage: Permission '<ugather.admin>' doesn't exist

    Help ?? pls