ServerRewards

Moved

Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018

5/5, 61 likes
  1. yeah these guys have been keeping it up and I gotta give credit and respect for that.
    I just want to edit a config file and have it stick without the repetitive config churn....
    [DOUBLEPOST=1493929915][/DOUBLEPOST]QOL bug....
     

    Attached Files:

  2. Code:
    Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.93' (KeyNotFoundException: The given key was not present in the dictionary.)
    at System.Collections.Generic.Dictionary`2[Oxide.Plugins.ServerRewards+ElementType,Oxide.Game.Rust.Cui.CuiElementContainer[]].get_Item (ElementType key) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.GetElement (ElementType type, Int32 page, System.String npcid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.OpenNavMenu (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.cmdStore (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ServerRewards.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Error
     
  3. can this please have SQL support? I'd love to use the RP system across multiple servers
     
  4. This plugin is definetly not PLUG-n-PLAY
    It's fuck and play
    [DOUBLEPOST=1493938673][/DOUBLEPOST][ServerRewards] Waiting for ImageLibrary to finish image processing!
    How long does it happen?
     
  5. dang, chill...

    and images take about 10 mins or so (LIKE IT SAYS IN THE OVERVIEW)
     
  6. [ServerRewards] Waiting for ImageLibrary to finish image processing!

    HaHaHa mines been saying that for the last 4 hours
     
  7. How do I get hosted pics to show up for the Kit icons in ServerRewards? I have icons already set in my Kit plugin data file and those WORK, but my icons are not showing up in ServerRewards under Kits.. Can someone post an example of how "iconName" field should look? Right now, mine is:

    "iconName": "http://i.imgur.com/Bco1kBh.png",

    But it does not show the icon in /s and says "No Image Found" in the /S GUI-Kits tab instead.

    also tried:

    "iconName": "Imgur: The most awesome images on the Internet",
     
  8. The icon name can either be the filename of the image without the extension (located in /oxide/data/ServerRewards/Images/) or a URL
    The local file worked fine for me, if a URL doesn't work then you will need to bring it up in the ImageLibrary thread
     
  9. When using 'srnpc loot' after adding only guns it still shows all loot when accessing npc not just the guns i added only?
     
  10. Code:
    18:10 [Info] Unloaded plugin ServerRewards v0.4.3 by k1lly0u
    18:10 [Info] Loaded plugin ServerRewards v0.4.3 by k1lly0u
    18:10 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:10 [Stacktrace]   at Oxide.Plugins.ServerRewards.LoadVariables () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    How to solve this..
     
  11. works fine for us, click custom button
    [DOUBLEPOST=1493990687][/DOUBLEPOST]@k1lly0u Not all workshop images are being pulled even after a fresh imagelibrary and a full workshopimages download and confirming the pics are there in the workshop page. Also, would it be possible for an option to display the ImageLibrary 'Title' for that ID instead of just 'Assault Rifle' Etc and also given this ImageLibrary issue would it be possible to have an option to manually overide the image like before?

    Thanks
     
  12. thats what i did wrong thanks
     
  13. Killyou, why dont you add the itemlist to the file "reward_data.json" - into "items", but add this into "sale_data.json" ? I dont need that players Sale items, but need that they are can buy items. But after update 0.4 the file "serverrewards_rewards.json" not compatible. And we should add items manually.
     
  14. rp is not saving anyone else have this problem
     
  15. JMJ

    JMJ

    Having the same issue
     
  16. Can someone explain how to remove an item from the store - the item is a armoured door with id 810514389 thanks
     
  17. same problem
     
  18. JMJ

    JMJ

    Oxide > Data > Server Rewards > Rewards.json
     
  19. Error message "[ServerRewards] Image Library not detected, unloading ServerRewards"

    And the / s no longer works

    Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.3' (NullReferenceException: Object reference not set to an instance of an object)
     
    Last edited by a moderator: May 6, 2017
  20. Same issue here, looks like RP may not be saving between restarts