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.

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
-
Attached Files:
-
-
, I will look and see what I did wrong when i was trying to add group perms in. TYVM
-
@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
-
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)
-
-
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 -
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 offAttached Files:
Last edited by a moderator: Apr 21, 2018 -
-
-
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? -
-
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.
-
-
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
-
-
-
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) -
-
Yeah i saw that there was a new update the moment i posted this srry
-
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?
-
oxide.grant <NAMEUSER> <98989898989898898> <ugather.admin>
mensage: Permission '<ugather.admin>' doesn't exist
Help ?? pls