Jump to content

Config Changes not being read?

Pending 2.1.9

Evostance
Evostance

Posted

I'm using Rust on a Portainer install with a volume.

I've added the PlayerRanks plugin, reloaded Oxide and can see its created a PlayerRanks.json file under the config folder.
I'm then updating and saving this config file to point at my MySQL server and then running o.reload PlayerRanks

 

I can see that it reloads the plugin

Unloaded plugin PlayerRanks v2.1.9 by Steenamaroo

[PlayerRanks] Clans is not installed and will not be used.

[PlayerRanks] Rust:IO is not installed and will not be used.

[PlayerRanks] PlayTime Tracker is not installed and will not be used.

[PlayerRanks] Economics is not installed and will not be used.

[PlayerRanks] ServerRewards is not installed and will not be used.

Loaded plugin PlayerRanks v2.1.9 by Steenamaroo

however it doesn't mention anywhere about the MySQL database.

If I then run playerranks.save it only seems to save locally:

[PlayerRanks] PlayerRanks local database was saved.

Calling 'CmdSave' on 'PlayerRanks v2.1.9' took 121ms

Anyone have any ideas?  Pretty sure I've tried this before, and it'll connect to the MySQL DB and create the table, or fail and tell me the SQL connection failed, however I'm getting neither?

  • Administrator
Steenamaroo

Posted

Hi,

Is useMySQL true?

Evostance

Posted

Hey yep

  "MySQL": {
    "useMySQL": true,
    "autoWipe": true,
    "sql_port": <redacted>,
    "sql_host": "<redacted>",
    "sql_db": "localtest",
    "sql_user": "<redacted>",
    "sql_pass": "<redacted>",
    "tablename": "playerranksdb",
    "LBtableName": "playerranksLeaderdb"
  }

 

  • Administrator
Steenamaroo

Posted

Is there any data to save?
If there are no records it should create the table but there should be no sql save related console output.

Evostance

Posted

I think this can be closed now.  For whatever reason it didn't want to work, but has been working fine now for a few weeks

  • Like 1
  • Administrator
Steenamaroo

Posted

Ok, thanks for letting me know.
If it happens again or you have any other issues, please just let me know.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.