Create a class in runtime

I have some information to be stored the first time you use the plugin, such as database infofrmation and some other stuff, i thought this could be done by checking for a class file and if it does not exist, create it with the nessesary fields. Can this be done or is this a stupid way of saving config information for the plugin?

Please sign in to leave a comment.