Mitdyl11 Posted September 17, 2012 Posted September 17, 2012 When ever I add a mod id to the griefprevention config file, it pops up with this error message in chat 2012-09-17 09:31:27 [sEVERE] Cannot load plugins\GriefPreventionData\config.yml org.bukkit.configuration.InvalidConfigurationException: while parsing a flow node expected the node content, but found BlockEntry in "<string>", line 74, column 5: - 243 ^ at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at me.ryanhamshire.GriefPrevention.GriefPrevention.onEnable(GriefPrevention.java:155) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: while parsing a flow node expected the node content, but found BlockEntry in "<string>", line 74, column 5: - 243 ^ at org.yaml.snakeyaml.parser.ParserImpl.parseNode(ParserImpl.java:485) at org.yaml.snakeyaml.parser.ParserImpl.parseFlowNode(ParserImpl.java:369) at org.yaml.snakeyaml.parser.ParserImpl.access$2500(ParserImpl.java:117) at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowSequenceEntry.produce(ParserImpl.java:653) at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowSequenceFirstEntry.produce(ParserImpl.java:622) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 14 more And resets the config file. These are the IDs I have. BlockIdsRequiringAccessTrust: - 243 BlockIdsRequiringContainerTrust: - 137 - 138 - 150 - 169 - 178 - 181 - 183 - 187 - 188 - 192 - 194 - 207 - 208 - 213 - 225 - 227 - 233 - 246 - 250 - 253 - 254 BlockIdsExplodable: - 161 - 246 PlayersIgnoringAllClaims: - '[RedPower]' - '[buildCraft]' - '[industrialCraft]' Can I be told what I am doing wrong? Quote
pherce Posted September 17, 2012 Posted September 17, 2012 I think your spacing is off: Mods: BlockIdsRequiringAccessTrust: - 126 Are you tabbing? Your - 126 should be four spacebars from the start of the line. Also, don't trust those fakeusers. Your users are going to be griefed to shit. Let them do the trusting. That's the point of the plugin, right? Quote
Mitdyl11 Posted September 18, 2012 Author Posted September 18, 2012 I checked and it is 4 spaces from the start to the end, I'm not tabbing. I'm really want this plugin I wish it would work Quote
sparks8420 Posted December 31, 2012 Posted December 31, 2012 having the same issue and nearly identical error message anyone know how to properly add the id's for tekkit 3.1.2 i have the list Mods: BlockIdsRequiringAccessTrust: - 126 - 129 - 130 - 133 - 134 - 136 - 137 - 138 - 139 - 140 - 141 - 142 - 143 - 145 - 147 - 148 - 150 - 151 - 152 - 177 - 181 - 183 - 187 - 192 - 194 - 206 - 207 - 208 - 209 - 7266 Quote
sparks8420 Posted December 31, 2012 Posted December 31, 2012 sorry code is Mods: BlockIdsRequiringAccessTrust: - 126 - 129 - 130 - 133 - 134 - 136 - 137 - 138 - 139 - 140 - 141 - 142 - 143 - 145 - 147 - 148 - 150 - 151 - 152 - 177 - 181 - 183 - 187 - 192 - 194 - 206 - 207 - 208 - 209 - 7266 - 211 - 212 - 213 - 214 - 215 - 216 - 218 - 219 - 220 - 222 - 223 - 224 - 225 - 227 - 230 - 231 - 232 - 233 - 234 - 237 - 239 - 241 - 243 - 245 - 246 - 247 - 248 - 249 - 250 - 4095 - 7270 - 7256 - 7276 - 7281 - 7303 - 7307 - 7312 - 27592 - 30185 - 30184 - 4298 - 4299 - 4300 - 4301 - 4302 - 4303 - 4304 - 4305 - 4306 - 4307 - 4308 - 4309 - 4310 - 4311 - 4312 - 4313 - 4314 - 4315 - 4316 - 4317 - 4318 - 4319 - 4320 - 4321 - 4322 - 4323 - 4324 - 52 - 136 - 135 - 165 - 1263 - 233 - 243 BlockIdsRequiringContainerTrust: - 155 - 157 - 158 - 174 - 171 - 154 - 153 - 178 - 177 - 190 - 27592 - 7256 - 7307 - 7276 - 223 - 150 - 137 - 134 - 126 - 128 - 169 - 178 - 181 - 183 - 187 - 188 - 192 - 194 - 207 - 208 - 213 - 225 - 227 - 233 - 246 - 250 - 253 - 254 - 161 - 246 BlockIdsExplodable: - 7307 - 6362 - 7256 - 250 - 233 - 239 - 7270 - 237 - 246 - 126 - 161 - 26522 - 30214 - 30215 PlayersIgnoringAllClaims: - '[RedPower]' - '[buildCraft]' - '[industrialCraft]' Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.