ServerRewards

Moved

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

5/5, 61 likes
  1. I know I am doing it in front of the npc that's already been added using /srnpc add. Nothing is showing up in the items column and everything is marked as enabled true.
     
  2. You never said that in your other post. I dont use the npc option myself and as I dont know your full setup in your files hard to help maybe someone else can help
     
  3. Can be added a command (in command section) for add a permission to a player ?
    I mean a Player can "buy" a permission, or be added to a Group (that have the permission)
     
  4. If to press 2 times the button which there is "bind z /s" that a shop not probably to close
     
  5. I've got the shop and everything is listed in the store and its working, however a lot of the skins are showing up as white blocks. Normally after 15-30 seconds it shows up when this happens but it's been 12 hours and still nothing is showing up. Tried rebooting my server and client and still the same thing. I'm also not the only one having this issue. Some skins show, others don't. Any ideas?

    All the skins we are using are marketplace approved if that matters.
     
  6. For anyone needing a working server rewards json - it doesn't have everything in it but it should get you going.
     

    Attached Files:

  7. hey thanks dbnerd. That got my reward vendor properly working. Where did you find the database id for the items? I was using the rewards_saleprices.json but I don't think the values are correct for what I need
     
  8. I wrote a custom script that auto compiles the json pulling from game schemas and other places.
     
  9. Yup. This is the code I use when working with Timed Permissions, but you can change grantperm to grant and drop the 7d. For example use grant user $player.id NTeleportation.vip .
    Code:
    "Teleport VIP": {
          "Command": [
            "cm.say $player.name You have purchased 1 week of VIP Teleporting.",
            "grantperm $player.id NTeleportation.vip 7d"
          ],
          "Description": "Teleport in style with more than twice the number of teleports.  Lasts one week.",
          "Cost": 15
        },
    The cm.say is a good idea to let the player know the command actually went through since nothing prevents them from buying it over and over again.
    [DOUBLEPOST=1486686586][/DOUBLEPOST]Quick Question: Is there anyway to disable access to the /s command in certain zones/areas? A player recently found a loophole for the Event Plug-in. He just hides and buys stuff in the store.
    Any suggestions are appreciated.
     
  10. Would you mind posting your script or dropping me a pm?
     
  11. Thanks I will test it, I think you need to put the Shop in NPC or a Town for avoid that abussing.
     
  12. Im actually turning it into a website with photos/categories you can pick and choose and it will auto generate the json required. This will include a lot of the workshop items as well.
     
  13. thats nice man
     
  14. @k1lly0u Hot damn, the vending machine skins are the tits, would be amazing if this plugin could be modified to do srnpc on a vending machine :D
     
  15. Agreed.
    A different suggestion: Allowing players to set prices in the Vending Machines using Reward Points -- basically adding them as an item for trade. Not sure if Rust or Oxide is set up for that since the VMs are so new.
     
  16. Just thought I'd share this from my server

    giphy.gif
     
  17. Hi i need your help, how can i set a cooldown for kit, cooldown are ok with /kit but not with server rewards.
    I have an other problem, ShowKitContents is set to true but i dont see the content in server rewards can you help me ?
    Thanks.
     
  18. Just placed a second item in the item store but its not showing in the data file. Does this take a time to update?


    secondly i cant add a kit for love nor money . Sometimes it said add cost which i write like <500> after kit name. I press enter and no message at all.

    Thirdly im having trouble understanding the instructions to get the icon on lustymap. I have the icon in the folder instructed but still doesnt work. Doesnt show on the map when i make a new npc.

    and lastly no one seemed to be able to use any of the chat commands. /rewards check and /s both throw up errors. /s does nothing and /rewards check throws up "error getting your profile from the database.
     
    Last edited by a moderator: Feb 12, 2017
  19. Hello ! I have a small suggestion if i may, when i want to update my rewards.json file with the new contents/skins then i have to replace alot of numbers to make it go in the right order. Would it not be possible to make it able to use "1.0" "1.1" "1.2" - "2.0" "2.1" "2.2".

    So instead of the:

    "1" "Assault Rifle"
    "2" "Assault Rifle Skin1"
    ...
    ...
    "5" "Bolt Action Rifle"
    "6" "Bolt Action Rifle Skin1"
    ...
    ...

    Then:

    "1.0" "Assault Rifle"
    "1.1" "Assault Rifle Skin1"
    ...
    ...
    "2.0" "Bolt Action Rifle"
    "2.1" "Bolt Action Rifle Skin1"
    ...
    ...

    This would be pretty amazing and save aloooot of time!

    (I hope this explains it :)! )

    thanks!
     
  20. is thier any way at all to make your mod compatible with InfoPanel? I would really like to show RP in the info panel