Jump to content

Reward Currency defaults back to Scrap

Pending 3.1.3

dinkd
dinkd

Posted

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


 

dinkd

Posted (edited)

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
dinkd

Posted (edited)

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
  • Administrator
Steenamaroo

Posted

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. 👍

Gold Mysterious

Posted (edited)

   "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
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.