ServerRewards

Moved

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

5/5, 61 likes
  1. @Wulf Ok, all icons loaded after a relog.
     
    Last edited by a moderator: Dec 3, 2016
  2. Any chance we could get a categories page added in K1llyou?
     
  3. after restart

    Code:
    (14:05:12) | [Oxide] 14:07 [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerRewards v0.3.7' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (14:05:12) | [Oxide] 14:07 [Debug]   at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object arg0) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.InformPoints (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.OnPlayerInit (.BasePlayer player) [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
     
  4. Might have been asked already and I apologise if so, is there a way to change the amount of RP earned over a fixed amount of time. For instance rather than 5 and hour, change it to 100 an hour?

    EDIT: Disregard its controlled by the PlayerTime Tracker Plugin
     
    Last edited by a moderator: Dec 4, 2016
  5. Use the plugin Moneytime
     
  6. Thanks BUT, it did work one time but after server reboot and/or relog client, images don't show up
     
  7. Where did the downloaded images stored? I have those white images shown on the UI and I am trying to delete those images and I have no idea where are they located. some help would be nice.
     
  8. It would be great if this plugin used the timeout value on a kit to stop that kit from being able to bought in the RP store until after the timeout has passed. Currently it doesn't seem to work that way and players can just buy kits indefinitely until they are out of points.
     
  9. +1 this with the addition to being able to use cooldowns on the commands menu.
     
  10. Kits << don't permmision?
     
  11. > oxide.reload ServerRewards
    [Oxide] 23:32 [Info] [ServerRewards] Saved player data
    [Oxide] 23:32 [Info] Unloaded plugin ServerRewards v0.3.8 by k1lly0u
    [Oxide] 23:32 [Info] Loaded plugin ServerRewards v0.3.8 by k1lly0u
    [Oxide] 23:32 [Info] [ServerRewards] Couldn't load reward data, creating new datafile
    [Oxide] 23:32 [Warning] [ServerRewards] Playtime Tracker could not be found! Unable to monitor user playtime
    [Oxide] 23:32 [Warning] [ServerRewards] Creating and storing all UI elements to cache
    [Oxide] 23:32 [Warning] [ServerRewards] All UI elements created successfully!
    [Oxide] 23:32 [Info] [ServerRewards] Saved reward data

    So I added the M92 and the full hazmat suit to the store and now everytime I reload the plugin it clears my config and creates a new one. I validated the .json and it says its all good but I cant get it to stay. Any suggestions?
     

    Attached Files:

  12. ID is wrong needs to be 371156815
     
  13. Ok so I changed the following and it still errors out:

    M92: 371156815
    HazmatSuit: 523855532
     
    Last edited by a moderator: Dec 10, 2016
  14. M92 Pistol
     
  15. Ok so I changed the following and it still errors out:

    M92: 371156815
    HazmatSuit: 523855532
     
  16. post error
     
  17. Posted in Rusty RCON:
    > oxide.reload ServerRewards
    [Oxide] 00:33 [Info] [ServerRewards] Saved player data
    [Oxide] 00:33 [Info] Unloaded plugin ServerRewards v0.3.8 by k1lly0u
    [Oxide] 00:33 [Info] Loaded plugin ServerRewards v0.3.8 by k1lly0u
    [Oxide] 00:33 [Info] [ServerRewards] Couldn't load reward data, creating new datafile
    [Oxide] 00:33 [Warning] [ServerRewards] Playtime Tracker could not be found! Unable to monitor user playtime
    [Oxide] 00:33 [Warning] [ServerRewards] Creating and storing all UI elements to cache
    [Oxide] 00:33 [Warning] [ServerRewards] All UI elements created successfully!
    [Oxide] 00:33 [Info] [ServerRewards] Saved reward data


    Nothing in log.error.txt
    Attached is the .json Im attempting to use
     

    Attached Files:

  18. Problem fixed @Razor14150 Check your ID's on this site I also fixed the url images that where wrong make sure you reload plugin then loadimages in rcon once you upload
     

    Attached Files:

    Last edited by a moderator: Dec 10, 2016
  19. Can someone help me, do not put ten images of the last update of the server.
    I already forced with loadlocalimages, but it did not resolve.
     
  20. I know I posted here before, but I looked at the instructions someone said that last time and while it fixed it last time, this time it is not working. Originally everything was working but on the last major game update all my images broke. So today I tried to fix it and now nothing shows up in my reward store at all. I tried unloading the plugin, then reloading it, modifying the server rewards data file so it has all the item names, amounts and image url's. Then I tried reloading server rewards and then ran load images but it deletes all of my info in the data file. So I restarting my server instead and trying it, but when I do it deletes the data file then as well. I'm so confused what I am doing wrong. Can anyone give me step-by-step directions so I know what to do? (Both unloading/reloading the plugin and loadimages deletes all the script in the data file.)
     

    Attached Files:

    Last edited by a moderator: Dec 10, 2016