ServerRewards

Moved

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

5/5, 61 likes
  1. Sorry what I meant was, I've found wikis with images but what I need I guess is the address I would use for the plugin to let it know what images to use? I'm sorry this server is my first real experience with changing game files, so thank you for your time
     
    Last edited by a moderator: Jan 8, 2017
  2. Can someone send me their serverrewards_rewards.json file I keep trying to add the items but it still doesn't work, Thanks.
     
  3. That's actually a great idea if someone does send you theirs would you mind forwarding it to me?
     
  4. Here you both go Enjoy
     

    Attached Files:

  5. Thanks, It finally works! Now I just need to grab the images ;)
     
  6. in rcon type these 3
    first reload plugin
    reload ServerRewards
    then
    loadimages
    then reload it again
    reload ServerRewards

    This will show all images now
     
  7. Hi, Any time i add this plugin it instantly crashes my server, rcon shows it starting up fine then it just crashes any idea's thanks in advance
     
  8. Yea I have been fighting with this plugin for the past few days. it was just crashing as soon as I loaded it. So today I removed all plugins did a server, oxide 2 and rust io update. Then just installed this plugin all by its self and get this error. Good news is I have an error now. Can someone please help me.

    Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.9' (NullReferenceException: Object reference not set to an instance of an object)
    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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    Failed to call hook 'cmdStore' on plugin 'ServerRewards v0.3.9' (NullReferenceException: Object reference not set to an instance of an object)
    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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    Failed to call hook 'cmdSR' on plugin 'ServerRewards v0.3.9' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.ServerRewards.SendMSG (.BasePlayer player, System.String msg, System.String keyword) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.cmdSR (.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    Failed to call hook 'cmdSR' on plugin 'ServerRewards v0.3.9' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.ServerRewards.SendMSG (.BasePlayer player, System.String msg, System.String keyword) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ServerRewards.cmdSR (.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  9. It looks like you might be missing a file or a hook, did you try getting a fresh copy of server rewards and make sure you have all the needed plugins for what you are doing (playtime tracker, economics, etc.)

    Edit: Also try and revert to a release build: http://oxidemod.org/downloads/
    (install it manually) If your server provider does not let you have access to those folders in your ftp open a support ticket.
     
    Last edited by a moderator: Jan 10, 2017
  10. @k1lly0u Dont really want to mess with Economics, would it be possible to just add a permission for /sr add so players can send each other RP?
     
  11. Having an issue with supply signals. I add it to the list, it shows on serverrewards_rewards.json, but it is not visible in the store, and also is not working on kits.
     
  12. THANK YOU SO MUCH!
    Side question, do u know how to disable the /s command? I only want the store to be accessible via npcs
     
  13. Something the coder needs to add to the config
     
  14. Is there a way to make it so NPC's sell items that the command doesn't? Like I want them to sell C4 and rockets but I don't want people to be able to buy C4 and rockets using the command.
    I don't want people to be raiding without risk by just buying them as they need them during a raid.

    Otherwise Pinapple's request to disable the chat command would be my second option.
     
  15. Other way round, /s will show everything you have, srnpc loot on an npc will open a custom list.
     
  16. Well that sucks, so either way people will have the ability to access everything from the chat command? Hmm..
    Is there at least a perm to use /s?

    Edit: I ended up just removing the /s command from the .cs file to get around it for now. Hopefully a better feature gets implemented in the future.
     
    Last edited by a moderator: Jan 12, 2017