Configuration settings are currently stored in a file (data.dat), which requires the directory of the plugin (and hence the code) to be writable.
data.dat
Better store this in the database using the available APIs.