ServerRewards

Moved

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

5/5, 61 likes
  1. It is probably errors in your data files. Post them and I will tell you which ones are broken
     
  2. Do you have a file in your plugins folder called ServerRewards(1).cs if so remove the (1) if you have this file and another without the (1) then delete this one same goes for the config
     
  3. Report of certain players getting a timed out error when opening /s. Can't say I've experienced it at all, could just be there PCs
     
  4. I've been getting reports of people getting bugged opening /s and can't click anywhere on the screen afterwards even relogs don't fix it. Is this a common problem or is it something bugging out on my server?
     
  5. Hello would be possible to add the option to reload the images by chat or f1 in the game because who has linux server and do not have access to the console can not use the command
     
  6. Code:
    [Error] Failed to call hook 'cmdChangeItemPage' on plugin 'ServerRewards v0.2.29' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 10:41 [Debug]  at System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32].get_Item (Int32 key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.cmdChangeItemPage (.Arg arg) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 13, 2016
  7. Is there a way to set up the cost as X amount of RP and X amount of Playtime?
     
  8. This doesn't seem to work. For images I mean.
     
  9. yes I cant manage to upload images too
     
  10. icons for can be used local instead of http?
     
  11. it would be possible to add the 'load images' command to run ingame ??? by chat or F1 console?
     
  12. Error in data file, look back a page or 2 for the answer
    In he config
    If you can't load images try a different source. I'll look at adding local files in the next update
     
  13. I think you may of misunderstood what i was asking.
    I want it so some items/commands/kits cost RP but also need an amount of Playtime to be able to be purchased.
    If that is possible what would i add to the items/commands/kits in the serverrewards.json data file.

    Awesome mod's btw, having a lot of fun with the events.
     
  14. Lol yes I did. That is a good idea, I have put it on the old to-do list
     
  15. Love the plugin Thanks! However I can't get the items to show images either... and I have moved the images to my local hosting see below:

    Code:
      "RewardItems": {
        "0": {
          "DisplayName": "Flame Thrower",
          "URL": "http://www.uprisingserver.com/images/ig_items/Flame_Thrower_icon.png",
          "ID": 1045869440,
          "Amount": 1,
          "BP": false,
          "Skin": 0,
          "Cost": 5
        },
        "1": {
          "DisplayName": "Assault Rifle",
          "URL": "http://www.uprisingserver.com/images/ig_items/Assault_Rifle_icon.png",
          "ID": -1461508848,
          "Amount": 1,
          "BP": false,
          "Skin": 10135,
          "Cost": 5
        }
    
     
  16. Did you run the loadimages command
     
  17. Yeah... I guess I didn't. Thanks! Works great!
     
  18. Makes me wonder how many others haven't run the command :p
     
  19. Has anyone had any issues as of late, with some things not working? There are a few "packs" we have that worked formerly, but are not working now. They indicate you have purchased them, but nothing ends up in your inventory.
     
  20. Its hard to see the command on the overview you really need to read to even find it