BlackDemonZyT / BotSentry

Official repository for Bot-Sentry issues, information, etc..
6 stars 0 forks source link

Too big .yml files #95

Closed Laurenshup closed 1 year ago

Laurenshup commented 1 year ago

https://mclo.gs/W4ueS1V https://mclo.gs/ezD6z2Z

org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.

Laurenshup commented 1 year ago

Cannot use whitelist.yml and blacklist.yml anymore. YAML files are used for configuration, not data storing. Therefore I recommend going to use JSON for this.

Laurenshup commented 1 year ago

This has been coded into the next upcoming version. After updating, it will copy the whitelist and blacklist data over to their .json counter-parts. After that, it will rename the .yml files to oldWhitelist.yml and oldBlacklist.yml, the same as how it is setup for updating messages.yml and config.yml.