Coooookies / Grasscutter-MeaMailPlus

A plugin of Grasscutter for send in-game mail conveniently
GNU Affero General Public License v3.0
119 stars 19 forks source link

Config file restoring to default #4

Closed Nekoniria closed 2 years ago

Nekoniria commented 2 years ago

This has gotten rather annoying as I have no idea whats causing it. I set the config, open the server, everything works fine, then I close the server to make edits somewhere else, open the server and the config file restored to default. No errors or warnings...

Coooookies commented 2 years ago

This has gotten rather annoying as I have no idea whats causing it. I set the config, open the server, everything works fine, then I close the server to make edits somewhere else, open the server and the config file restored to default. No errors or warnings...

can u send a screenshot of config?

Nekoniria commented 2 years ago

@Coooookies image

Coooookies commented 2 years ago

@Coooookies image

image it looks like a mistake name. did u modify the configuration class of plugin yourself ?

Nekoniria commented 2 years ago

@Coooookies Oh, can I not add/edit the name of the templates?

Coooookies commented 2 years ago

@Coooookies Oh, can I not add/edit the name of the templates?

u can name ur template file like this: image

templateid is the unique identifier of the template: image

and u can add your templateid in here image

Nekoniria commented 2 years ago

@Coooookies Oh, I see what I did wrong, I read the config a different way, as I am so used too added new lines to config files, this one you just add the template id's to the type of mail it is... too much overthinking.

Anyways, thanks for the help! And I'm enjoying using your plugin! :3