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. DylanSMR, Can you make a permissions for groups?
    I want give VIP to a player and he must have x3 rates.
    I want that you doing permissions like "igather.vip", then I use "oxide.grant group vip igather.vip".
    I hope You understand me, sorry for bad English, Thank You :D
     
  2. DylanSMR updated IGather with a new update entry:

    1.0.7


    [DOUBLEPOST=1468860799][/DOUBLEPOST]Sorry for the long wait! Been very busy with other projects.
     
  3. Omg how its work? I dont understand T_t
    Create 2 groups: default and premium, then use "grant group default igather.default" and "grant group premium igather.premium" so premium have x1 and default have x1 too! W T F?
     
  4. Wait what? Default group is auto created. If you want another group you would do like /igath creategroup <name> <resource> <quarry> <pickup>. Then you grant a player this group using: oxide.grant user <name> igather.GroupName(Capital's Must Be Correct)
    [DOUBLEPOST=1468867131][/DOUBLEPOST]You may have to reload the plugin every time you create a group(ingame). Im not 100% sure yet.
     
  5. Yes Im doing this like you say but grant group, not user. It is easier if premium already granted permission igather.premium.
    Standart group set x2, grant group, reload = ingame I and all players x1.
    Premium group set x3, grant group, reload = ingame Im with premium have x1.
     
  6. command igathaddtogroup "GROUP" "Player_name" is DELETED? how to add player created group?
     
  7. You grant people the group permission as said above. oxide.grant user <name> igather.GroupName(Capital's Must Be Correct). You can use iggrabpermissions to get a list of permissions in console.
    I have not added group compatibility yet. Im not sure if I can actually. For now individual users
    [DOUBLEPOST=1468868360][/DOUBLEPOST]
    [DOUBLEPOST=1468868693][/DOUBLEPOST]
    Code:
    Perms:
    To add a player to group do: oxide.grant user <name> <groupPerm>(You can find group perms using iggrabpermissions>
    To remove a player from a group do: oxide.revoke user <name> <groupPerm>(You can find group perms using iggrabpermissions>.
     
  8. DylanSMR updated IGather with a new update entry:

    1.0.8

     
  9. It doesnt work correctly. I have created 3 groups (see screen below).
    When group is created and i trying to set permission for appropriate oxide group i have a lot of errors (screen below).
    So i have tested and plugin works perfect (i mean when players added in groups created by IGather) but when i trying to give the appropriate permission to oxide group i have a lot of error.
    Code:
    10:27 [Error] Failed to call hook 'OnGroupPermissionGranted' on plugin 'IGather v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)
    10:27 [Debug]   at Oxide.Plugins.IGather.GrantPermission (Int32 newid, .BasePlayer target) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.grabPerm (System.String perma, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.grabPerm (System.String perma, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.grabPermG (System.String perma, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.IGather.OnGroupPermissionGranted (System.String name, System.String perm) [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 (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
    10:27 [Info] Group 'vip' granted permission 'igather.vip'
     

    Attached Files:

    Last edited by a moderator: Jul 19, 2016
  10. Sorry yes one moment. Will get a update out soon!
     
  11. Tnx a lot )
    P.S.: I forgot to say. Same error when using via Timed Permission plugin.
     
  12. Yeah its a problem. Im working on it. Its proven to be a little tricky
     
  13. DylanSMR updated IGather with a new update entry:

    1.0.9


    [DOUBLEPOST=1468916925][/DOUBLEPOST]Be aware until tomorrow I cannot test if it will work with offline players. I created a small protection in case a offline players caused a null error.
     
  14. It is because of you?
     

    Attached Files:

    • xp.jpg
      xp.jpg
      File size:
      364.7 KB
      Views:
      31
  15. [07/19/2016 18:42:52] [Oxide] 18:42 [Debug] at System.Collections.Generic.Dictionary`2[System.Int32,Oxide.Plugins.IGather+GroupData].get_Item (Int32 key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.IGather+<OnPlayerInit>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     

    Attached Files:

    • xp.jpg
      xp.jpg
      File size:
      364.7 KB
      Views:
      17
  16. Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    Exception: sql error: NOT NULL constraint failed: Agents.EarnedXp
    [DOUBLEPOST=1468978812][/DOUBLEPOST]lagigng out server
     
  17. You sure that is coming from IGather? IGather does not use the XP system yet. It also shows SQL error so im not sure.
     
  18. I only updated Igather and Xpbooster tonight
     
  19. Might be xpbooster than.