Description
Description
Variables in Skript are not getting auto saved to variables.csv file until the server is rebooted.
The newly created variables or changes which although works correctly in the skript in-game, are not saved into the variables.csv file automatically.
So, If the server crashes at some point, the variables are set back to the older values since the autosaving is not working.
The new values are saved and shown properly in game but arent reflected in the variables.csv file.
I have Skript version 2.3.6 running on Paper 1.13.2.
This problem causes issues since upon a server crash due to some other reason, the variable are set to the values which existed in the previous reboot causing much data loss.
Steps to Reproduce
Save any variable(I used a list -> {eggcount::%player%} )
The variables are not saved to me in the CSV file until the server reboots.
All new data or variables are lost if server crashes and gets reset to the values which were on the previous restart.
Expected Behavior
Variables should be saved to variables.csv at intervals/immediately when a change occurs.
Errors / Screenshots
No Errors in code. Variables aren't saved to CSV file until server reboot
--->
Server Information
- Server version/platform: 1.13.2 Paper Spigot
- Skript version: Skript 2.3.6