Jump to content

Reward Currency defaults back to Scrap

Pending 3.1.3

When i set ServerRewards to true, and make Economics, and Scrap false, it randomly reverts to defaults where scraps is true, and economics and serverrewards go back to false.

 

 

I set it to this

    "RewardCurrency": {

      "UseScrap": false,

      "UseEconomics": false,

      "UseServerRewards": true


But randomly it converts back to default

    "RewardCurrency": {

      "UseScrap": true,

      "UseEconomics": false,

      "UseServerRewards": false


 

Share this comment


Link to comment

I somehow got it to stop reverting and now other settings are reverting!


I change GUIAnnouncements to true, and noescape to true, it defaults to false. i change cooldown on kill to 5, it defaults to 0. no log indication, nothing. format is correct.


Also I learned that it defaults these values IMMEDIATELY after saving the file

Edited by dinkd

Share this comment


Link to comment

okay i figured out why... if you edit more than 1 value at a time and then save it will revert everything you did on that save.

 

 

nope, nevermind thats not it. something is very off.... it literally defaults everything except for rewards.


one trick i was able to do to make it stop defaulting my config was to unload the plugin. modify the values, load the plugin.

Edited by dinkd

Share this comment


Link to comment

Hi,
Sounds like you're making your changes with the admin UI open in game.
When that UI closes (as it would on unload/reload) it saves whatever is in memory to config file, so that any changes you made in UI get committed to file.

If you make sure you close out of the UI before reloading the plugin there shouldn't be a problem. 👍

Share this comment


Link to comment

   "RewardCurrency": {

      "UseScrap": false,

      "UseEconomics": false,

      "UseServerRewards": true

 

I have mine set up as this. Players still keep getting scraps instead of RP which as you can see I set to true. I deleted the files from the server, then readded it. It still keeps giving scraps no matter what.

I have tried what I could do, and am stuck on this for now. 

I sorted it out now. No worries here for me.😅

Edited by Gold Mysterious

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.1k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.