ServerRewards

Moved

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

5/5, 61 likes
  1. So, I've seen servers where the admin has it set to display your RP in a panel in a plugin like InfoPanel (see attached example). I can create the blank custom panel to display this, but I don't know what the call is - or perhaps more specifically, how to code it - to get it to actually display.

    Has anyone actually done this, and if so, might they be willing to share how to make it happen?

    Thanks!
     

    Attached Files:

  2. Can someone tell me how to edit the saleprices.json

    i set the item to true and set a sale price...but i is not coming up in the store

    Or is that not working?...because it says so on the overview

    Thx in advance for the help
     
  3. You first need to set the sale prices, as outlined in the "How to activate items for sale" section of the overview.
    Then make sure the "Disable_SellersScreen" is set to false in ServerRewards.json file (I believe that's the default).
    With those steps complete, you should see the "Sell Items" button at the top of the Rewards screen. There are other possibly other settings you could have adjusted that might change that in certain contexts (npcdealersonly, etc) but that should make it work.
     
  4. did all that but does not come up when i click the items button...but did it another way

    Thx for the reply :)
     
  5. You have to have the item in your inventory before it will pop up.
    Set so you can sell
    Set the items you want to sell to true with a price (note that the price is per item.. so like a price of 100 on wool owuld be 1 wood = 100 RP)
    Then put the item in your inventory and open the sell menu and it should be there
     
  6. Some labels/texts arenttranslateable, others are.
    Some appear still appear in english, even if i translated them,
    others are translated....
     
  7. i have put the item names in the url part but my images are still now loading they just stay like this? anyone help me ?
     

    Attached Files:

  8. Did you type loadimages in console? After you type loadimages wait till you see a message saying image data saved. Then reload ServerRewards. Looking at your file you are trying to load the images from your server. Did you place the icons in a folder called icons in oxide/data/ServerRewards/
     
  9. i have done everything you have mentioned just and it is still not working could you recommend a site to use the url,s instead to see if that works for me?
    [DOUBLEPOST=1484339749][/DOUBLEPOST]is there anyway i can set it up for people to sell items ?
     
  10. use Items. Just copy the image url and post that in your config for the items. It is a little time consuming. ServerRewards does have a sell tab available. Read the overview. It will show you how to enable items for sale.
     
  11. In your json you only have the png listed, you need the full address up to the png in there.
    so instead of just
    Code:
    Assault_Rifle_icon.png
    you would need to put
    Code:
    http://vignette3.wikia.nocookie.net/play-rust/images/d/d1/Assault_Rifle_icon.png
    Images can be grabbed from here Items
    Just right click the picture and select copy image address (Google Chrome) or similar for other browsers.

    As an example here is my rewards config.
     

    Attached Files:

  12. Also if you open the addon to soon after loading the images youll get the question marks. give the addon a few minutes to load all the images.
     
  13. Test this
     

    Attached Files:

  14. Hi! I have some problems.
    I bind key "B" for /s command on my server.
    And new players, after the opening of the store, trying again press "B" to close.
    Appear bug:
    [​IMG]
    Button "Close" not active.
    The player must relogin the game to the error disappeared.
    Please tell me how can I fix this error?

    And one more question.
    I create ru lang file, and fix some strings:
    [​IMG]

    But not all strings get translated:
    [​IMG]
    Strings: storeNext, storeBack, storeClose, storeTitle, storeCommands - not getting translated.
     
  15. This plugin is great. I have started utilizing the skin feature, so my store is getting pretty large on the items tab. Is there any way you could add some sort of additional setting for Category of an item? Then maybe make it so each category can be filtered from the items tab somehow and it would be much easier to find specific types of items in larger RP stores. Thanks for making an awesome plugin. My players love it!
     
  16. how do i clear the rp for all players to 0 again? or is this economics? thanks
     
  17. Is there a way to hide items in the /s to only allow them to get that item from npc?
     
  18. How to show RP in InfoPanel or EconomicsBalanceGUI ?
     
  19. No, I asked earlier. That is why I just ended up getting rid of the /s command. You can however choose what items each rewards NPC sells though. but /s will always have the full list of items.
     
  20. Is it possible to specify the cost of an item as something other than just RP?

    Example: Tempered AK skin costs the components of an AK and 20 RP.

    "3": {
    "DisplayName": "Tempered AK",
    "URL": "http://vignette1.wikia.nocookie.net/play-rust/images/a/a1/Tempered_AK47_icon.png",
    "ID": -1461508848,
    "Amount": 1,
    "Skin": 10138,
    "Cost": riflebody 1, metalspring 4, metal.refined 50, 20,
    "TargetID": 0
    },