kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

Minecraft Version: Issue Title #2323

Closed LiannOM closed 2 years ago

LiannOM commented 2 years ago

13:49:08 INFO: [ChatControl] Enabling ChatControl v8.10.7 13:49:08 INFO: + 13:49:08 INFO: / | | | | / | | | | | 13:49:08 INFO: | | | | | || | | | | | 13:49:08 INFO: | | | ' \ / _` | | | / | ' | | '_/ | | 13:49:08 INFO: | || | | | (| | || || () | | | | || | | () | | 13:49:08 INFO: ___|| ||_,|_|_____/|| ||_|| _/|_| 13:49:08 INFO: 13:49:08 INFO: Warning: Admin_Chat feature is deprecated. You can create an admin channel in channels.yml. If using Discord, you can put 'Discord: true' key there to connect it with Discord channel by the same name. 13:49:08 INFO: java.lang.IllegalArgumentException: Malformed YAML file formatting.yml - use services like yaml-online-parser.appspot.com to check and fix it 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.FileUtil.loadConfigurationStrict(FileUtil.java:255) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlConfig.loadConfiguration(YamlConfig.java:324) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlStaticConfig.createFileAndLoad(YamlStaticConfig.java:254) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.settings.FormatSettings.load(FormatSettings.java:21) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlStaticConfig.load(YamlStaticConfig.java:92) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.plugin.SimplePlugin.onEnable(SimplePlugin.java:276) 13:49:08 INFO: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) 13:49:08 INFO: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) 13:49:08 INFO: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) 13:49:08 INFO: at java.base/java.lang.Thread.run(Thread.java:831) 13:49:08 INFO: unacceptable code point '�' (0x9C) special characters are not allowed 13:49:08 INFO: in "'string'", position 691 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.SimpleYaml.loadFromString(SimpleYaml.java:94) 13:49:08 INFO: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) 13:49:08 INFO: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.FileUtil.loadConfigurationStrict(FileUtil.java:246) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlConfig.loadConfiguration(YamlConfig.java:324) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlStaticConfig.createFileAndLoad(YamlStaticConfig.java:254) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.settings.FormatSettings.load(FormatSettings.java:21) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.settings.YamlStaticConfig.load(YamlStaticConfig.java:92) 13:49:08 INFO: at ChatControl-8.10.7.jar//org.mineacademy.chatcontrol.lib.fo.plugin.SimplePlugin.onEnable(SimplePlugin.java:276) 13:49:08 INFO: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) 13:49:08 INFO: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) 13:49:08 INFO: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) 13:49:08 INFO: at java.base/java.lang.Thread.run(Thread.java:831) 13:49:08 INFO: 13:49:08 INFO: / \ | | 13:49:08 INFO: | | | |/ | ' \/ | | 13:49:08 INFO: | || | () | |) _ _| 13:49:08 INFO: _/ _/| ./|__()

13:49:08 INFO: Error loading ChatControl v8.10.7, plugin is disabled! 13:49:08 INFO: Running on 1.17.1-R0.1-SNAPSHOT (v1_17_R1) & Java 16.0.2

13:49:08 INFO: Error: special characters are not allowed

13:49:08 INFO: [ChatControl] Disabling ChatControl v8.10.7

This bug occurs also with latest version of chatcontrol pro>

Tuinity 1.17.1 Bungee true

New config i didnt changed anything

spannerman79 commented 2 years ago

[13:49:08 INFO]: [ChatControl] Enabling ChatControl v8.10.7

https://github.com/kangarko/ChatControl-Pro/releases/latest

New config i didnt changed anything

[13:49:08 INFO]: java.lang.IllegalArgumentException: Malformed YAML file formatting.yml - use services like yaml-online-parser.appspot.com to check and fix it

I doubt it - default config gets copied from within the jar itself. And that file, formatting.yml within that particular version is valid yaml format

kangarko commented 2 years ago

Remove your formatting.yml and let it regenerate again, also check our Wiki about encoding and use the right program to open/save your files such as Notepad++ or Sublime Text.