Jump to content

Unable to clear data

Closed 1.37.9

Veno
Veno

Posted (edited)


I am unable to clear my player's data.
(1) I tried the command: battlepass.wipedata - but it does nothing (seemingly). Nothing happens, the data stays put, and there is no errors in the console.  There's no messages, no response, and nothing wipes. 
(2) I tried to go into oxide/data/Battlepass/Players and manually change the currency of these files to 0, but when I reload the plugin it resets the files, and all the players have the currency they always had. 
(3) I tried to DELETE all files in oxide/data/Battlepass/Players - but when reloading the plugin via the console, they all returned magically. 

(For the record; All other features of this plugin work fantastic for me.)

Thank you for any help, this has been a challenge trying to solve this.

Edited by Veno
Mevent

Posted

Hi! Yes, it is necessary to delete the plugin data:

1. Unload the plugin (o.unload Battlepass)
2. Delete player data (oxide/data/Battlepass/Players)
3. Load the plugin (o.load Battlepass)

P.S. You could not delete data while the plugin is running, due to the fact that the plugin keeps most of the data in RAM, and when you reload the plugin saves the data so as not to lose them.

Mevent

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

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.