I'm using the spigot community NCP config or whatever it's called and I modified some messages, however, I am receiving 2 YAML errors that I can't figure out. Here's the config.yml: https://pastebin.com/t8uCPEU7 And the errors: Code (Text): [19:13:40 ERROR]: [NoCheatPlus] Could not load config.yml (see exception below). Continue with default settings... [19:13:40 ERROR]: [NoCheatPlus] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in 'string', line 547, column 3: angle: '&6[player] &afailed the ... ^ expected <block end>, but found Scalar in 'string', line 595, column 20: kickchatnormal: "sync console bungee gkick [playe ...
New error: Code (Text): [19:39:54 INFO]: [NoCheatPlus] §cNCP: §fReloading configuration... [19:39:54 ERROR]: [NoCheatPlus] Could not load config.yml (see exception below). Continue with default settings... [19:39:54 ERROR]: [NoCheatPlus] org.bukkit.configuration.InvalidConfigurationException: expected '<document start>', but found BlockMappingStart in 'string', line 7, column 1: configversion: ^ org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) fr.neatmonster.nocheatplus.config.ConfigManager.init(ConfigManager.java:214) fr.neatmonster.nocheatplus.command.admin.ReloadCommand.handleReloadCommand(ReloadCommand.java:72) fr.neatmonster.nocheatplus.command.admin.ReloadCommand.onCommand(ReloadCommand.java:52) fr.neatmonster.nocheatplus.command.NoCheatPlusCommand.onCommand(NoCheatPlusCommand.java:162) org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:629) net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:416) net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:379) net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) java.lang.Thread.run(Thread.java:745) [19:39:54 INFO]: [NoCheatPlus] McAccess set to: 1.8.4-1.8.8 / Spigot-CB-1.8_R3 [19:39:54 INFO]: [NoCheatPlus] §cNCP: §fConfiguration reloaded. [19:39:54 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.5 blocks. [19:39:54 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks. [19:39:54 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.7.2 blocks. [19:39:54 INFO]: [NoCheatPlus] Added block-info for Minecraft 1.8 blocks. [19:39:54 INFO]: [NoCheatPlus] Removed hook: AllViolations(NCP) [1.0]. [19:39:54 INFO]: [NoCheatPlus] Added hook: AllViolations(NCP) [1.0]. [19:39:54 INFO]: [NoCheatPlus] Inventory checks: FastConsume is available, disabled InstantEat.
There was some spacing issues with the first line and a space between strings. I had to remove the colon from Reason:, it was causing too many issues for some reason. Hopefully thats not too much of a deal breaker. The reason YML pasers said it was fine because due to the spacing, only the first line would be read. Link: https://pastebin.com/pt6sepg0 Enjoy and let me know if you encounter any issues