ServerRewards

Moved

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

5/5, 61 likes
  1. The chat command was /rewards store, but I changed it to /s :p It is pretty well set up now so adding a maximum buy amount for players wouldn't be a great deal of work, however it wasn't really my intention to turn this into a full on store. It is supposed to be a reward store for points earn't with playtime and in the arena with the idea being that the points take time to obtain. Although it doesn't really seem like its being used that way lol. I will look into it at a later stage
     
  2. yeah this store brings a whole new dynamic to SR
    i code in a few languages but CS kinda throws me a little - if i could i'd do it for you lol
    you have looked busy over the last 24 hours :D

    thanks for all your efforts buddy, keep up the good work
     
  3. sorry. I can not find how to add the console command? the example of the permission
     
  4. WAH! great work, mate. it was great plugin, but now it's TOP NOTCH!
    just was on the way to implement GUI store on my server, but now i see what i can use this one with several changes =)
    wanted to ask, can this plugin have features like - custom store name, custom commands and ability to change(RP<>eco) currency u pay for items/kits/commands? i mean can these things be changeable easily in config? this way it can be used like a in-game store =)
     
  5. error occurs after exiting some players from the server
    Code:
    [Oxide] 14:16 [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'ServerRewards v0.2.16' (DivideByZeroException: Division by zero)
    [Oxide] 14:16 [Debug]   at Oxide.Plugins.ServerRewards.checkForReward (.BasePlayer player) [0x00000] in <filename unknown>:0  at Oxide.Plugins.ServerRewards.SavePlayerData (.BasePlayer player) [0x00000] in <filename unknown>:0  at Oxide.Plugins.ServerRewards.cmdRewards (.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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  6. /rewards add command TestCommand "say Hey!, $player.name!", 1
    I was planning on leaving this just as a reward store for now since its purpose was to use the RP earn't through this plugin and through the arena. I added the currency exchanger to deal with economics. It could easily be modified to do either though
    Do you have MSG_DisplayEvery set to 0 in your config?
     
  7. i think you need to take off the ","
    Code:
    /rewards add command TestCommand "say Hey!, $player.name!" 1
    although, when i type
    /rewards remove command TestCommand
    It says it has removed it but it stays in the store even though it confirms that it has been successfully removed?
     
    Last edited by a moderator: Apr 16, 2016
  8. sorry. I rebooted the server and everything was gone. own fault)))
     
    Last edited by a moderator: Apr 16, 2016
  9. So I seem to be having an issue with this addon not adding points at a rate I put into the config file. So I put it to add 25 points every 5min and used oxide.reload ServerRewards and it still is only giving 1 point per 1 minute. I have the newest version of the addon as I am trying it on my test server before implamenting it to my live server. Can someone see if Im missing something?
    [DOUBLEPOST=1460825373][/DOUBLEPOST]Now Ive reinstalled this on my test server and Im not getting any points what so ever.
     

    Attached Files:

  10. Any ideas how to make command for player teleportation to specified coordinates?
     
  11. N Teleportation for Rust | Oxide
    teleport.topos <player name/id> <x> <y> <z>
     
  12. I think so
    /rewards add command Teleport "teleport.topos $player.id <x> <y> <z>" 100
     
  13. No i mean teleport.topos - is invalid command, maybe because of modified teleport plugin, but /tp xyz works fine
     
  14. how you use the pluginTeleport?
     
  15. What do you mean?
     
  16. your server is on hosting Moscow.OVH?
     
  17. Да там.
     
  18. you need to write to technical support and ask to add the console command. or to put the additional plugin.
     
  19. Something that would be cool is if they could purchase a JAIL command. But I don't know if it's possible to temroaray grant a permission. Maybe make a temp permision group, have the plugin add use, run command, then have the plugin remove user from permission group.