ServerRewards

Moved

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

5/5, 61 likes
  1. 1. Is it possible to insert Item Icons automaticly from Rusts DataStorage, so you would not need URLs like "http://vignette4.wikia.nocookie.net/play-rust/images/..."? if that is your question: i don't know the answer, but i hope the answer is yes :) great question for developers.
    2. Yes that would probably be possible, if k1lly0u would see a need in that, you can now only change the name of the existing buttons, but they are good as they are I think, makes good sence :p
    I have ~130 items in SR, made some small stores in a bigger shop (file attached for CopyPaste), so it does not matter for me, i also deactivate kits and commands in config (only selling items) so on npc use it shows immediately first Item page, i show 3 buttons (now selectable with '/srnpc loot'): 'Items' 'Exchange' 'Transfer'.

    @everyone: I noticed some Skins (clothing) are not showing anymore (showing default skin), is this a thing? (skin id still the same in oxide api and my files, most skins just work as before)
     

    Attached Files:

  2. .....there....is...that's the exact line in the config
     
  3. actually its "Disable_SellersScreen": true :p
     
  4. Well, close enough without lookin :D
     
  5. theres only true or false my friend ;)
     
  6. That's what I meant


    An interesting solution, but it requires the installation and configuration of two additional plug-ins.

    But thanks for the reply
     
  7. two awesome plugins, yes :) both need no config btw, they work on load, creating a npc dealer takes less than a minute, pasting a building just few seconds.
     
    Last edited by a moderator: Nov 9, 2016
  8. Yes was looking to avoid have to go to the ad-trolling wiki pages that cause nothing but delays and very unresponsive due to the way I handle security on my system (don't allow that crap).

    Anyhow, figure out that ya can just use the games existing base images located in the steam folder on client and upload them as local. makes it faster anyhow in the long run.

    Only issue having now is that the images don't load (using "loadlocalimages" from console and nothing happens).
     
  9. There's a very specific order to making the images work straight away (been using it this way for a few months).

    I suspect if you've done part 1:

    add item
    add image to icons folder
    get full filename
    edit into url area of item in rewards data file
    save

    Part 2 (which needs to be in this order for it to work without waiting aaages for it to automatically show up.

    Reload plugin
    loadlocalimages
    reload plugin.

    upload_2016-11-9_21-10-28.png
     
  10. Perfect, thankyou :)

    lol.. I wish close enough worked with plugins ... it wasn't appearing it my config so I knew it was something like that.. ;)
     
  11. Error while compiling ServerRewards.cs(2215,90): error CS1525: Unexpected symbol `end-of-file'

    Load plugins :S
     
  12. Hmm thats weird, i assume you didnt delete your config during the version change to when the selling option started?
     
  13. case solved, mr holmes ;)
     
  14. Can anyone help with this? I have been unable to use this plugin since update.
     
  15. Anyone know how to clear all player RP data without clearing it individually?
    Must be something obvious that I can't see
     
  16. delete 'serverrewards_players.json' in '/RustExp/server/serverdata/oxide/data/ServerRewards/data'
    you might need to unload the plugin or stop the server to do so, not sure anymore.
     
  17. Cheers!
     
  18. Hey Guys i have a weird problem....

    Whenever i make a change to the serverrewards_rewards.json and save it, then do reloadimage in the console my serverrewards_rewards.json file reverts to the original file... I'm a bit lost here.... :S
     
  19. @icutzo upload your file your making. Your probably missing a comma or quotes and the addon will revert the config if it isnt right
     
  20. here is the file, it's very basic as you can see lol !
     

    Attached Files: