ServerRewards

Moved

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

5/5, 61 likes
  1. Ok i have a question ive tried everything i guess but the right thing i get the item in fine go to the data file and edit the url i have tried a few different ones save then drop it back in the data overwrite and go to rcon and load the image and it still shows no pic and ideas
     
  2. in rcon type loadimages if that does not work then upload the file you have from your data folder
     
  3. Ok just checked the file and the url i entered disappeared after i loaded
    [DOUBLEPOST=1466305532][/DOUBLEPOST]here it is after i loaded then how it looks when i put it back
     

    Attached Files:

  4. Unload the plugin prior to uploading modified data files
     
  5. you mean the one i downloaded before i put it in to my plugins
     
  6. Here you go made this for you
     

    Attached Files:

  7. I just redone the file again and soon as i do loadimages i get this [Oxide] 23:07 [Info] [ServerRewards] Saved reward/permission data and the file goes back to no url
    [DOUBLEPOST=1466306583][/DOUBLEPOST]K ty going to try it now
    [DOUBLEPOST=1466306835][/DOUBLEPOST]ok so i just drop this over the one i have now or just delete all i have now and redownload and drop this in
     
  8. You unload plugin first then upload the file to your data folder then reload the plugin then do the loadimages command
     
  9. Ok stupid question and sorry for asking so many how do i unload this particular one
    [DOUBLEPOST=1466307617][/DOUBLEPOST]found it ty so much
     
  10. Edit: Fixed TY
     
    Last edited by a moderator: Jun 21, 2016
  11. How to set RP rewards? Where are these settings ?
     
  12. Is it possible to make the Reward shop available via NPC only?
     
  13. You can't buy RP with RP lol
    [DOUBLEPOST=1466720223][/DOUBLEPOST]
    I'll add it over the weekend
     
  14. Awesome thank you KillYou
     
  15. 23:56 [Error] Failed to call hook 'cmdChangeElement' on plugin 'ServerRewards v0.2.29' (KeyNotFoundException: The given key was not present in the dictionary.)
    23:56 [Debug] at System.Collections.Generic.Dictionary`2[System.Int32,Oxide.Plugins.ServerRewards+ItemInfo].get_Item (Int32 key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.cmdChangeElement (.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

    I think all working fine, just leave thise here
     
  16. no. The number of RP to configure ?
     
  17. The settings are in the config file ServerRewards.json, located in your oxide/config directory

    Code:
      "Points_Time": 1, // Points for playtime (per point interval)
      "PT_Point_Interval": 60, // Issue points every (60) minutes
    
    These default setting will give each player 1 token per hour
     
  18. and when they are in the arena GunGame , as there is to set the right amount of RP ?
     
  19. No you must set the rewards in each Arena Game Config

    GunGame
    Code:
    "RankLimit": 15,
      "SpawnFile": "ggspawnfile",
      "StartHealth": 100.0,
      "TokensOnWin": 5,  <--- How many RP per win
      "TokensPerKill": 1,   <--- How many RP per kill
      "UseArmour": true,
      "UseMachete": true,
    
    Team Deathmatch
    Code:
    "TeamB_Color": "#003366",
      "TeamB_Shirt": "tshirt",
      "TeamB_SkinID": 14177,
      "TeamB_Spawnfile": "tdmspawns_b",
      "Tokens_Kill": 1,  <-- How man RP per kill
      "Tokens_Win": 5  <-- How many RP per win
    }
    
     
  20. When can i upload images? Imgur's URL doesn't work.