WorldGuard

WorldGuard

8M Downloads

Worldguard issue with flags

LadyCailinBot opened this issue ยท 10 comments

commented

WORLDGUARD-3949 - Reported by JRNetwork

Latest 1.13 build ( i know it's not at all ready, just thought I'd notify you of this error as you'd have to have flags set to see it when testing )

Failed to unmarshal flag value for SetFlag{name='deny-spawn'}
java.lang.IllegalStateException: key must be lowercase
at com.google.common.base.Preconditions.checkState(Preconditions.java:444) ~[server.jar:git-Spigot-0b44fa0-49a2604]
at com.sk89q.worldedit.registry.Registry.get(Registry.java:43) ~[worldedit-bukkit-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldedit.registry.NamespacedRegistry.get(NamespacedRegistry.java:41) ~[worldedit-bukkit-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldedit.world.entity.EntityTypes.get(EntityTypes.java:134) ~[worldedit-bukkit-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.flags.EntityTypeFlag.unmarshal(EntityTypeFlag.java:56) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.flags.EntityTypeFlag.unmarshal(EntityTypeFlag.java:30) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.flags.SetFlag.unmarshal(SetFlag.java:80) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.flags.SetFlag.unmarshal(SetFlag.java:33) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.flags.registry.SimpleFlagRegistry.unmarshal(SimpleFlagRegistry.java:141) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.managers.storage.file.YamlRegionFile.setFlags(YamlRegionFile.java:288) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.managers.storage.file.YamlRegionFile.loadAll(YamlRegionFile.java:158) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.managers.RegionManager.load(RegionManager.java:101) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.managers.RegionContainerImpl.createAndLoad(RegionContainerImpl.java:129) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.protection.managers.RegionContainerImpl.load(RegionContainerImpl.java:106) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.bukkit.BukkitRegionContainer.load(BukkitRegionContainer.java:174) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.bukkit.BukkitRegionContainer.loadWorlds(BukkitRegionContainer.java:137) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.bukkit.BukkitRegionContainer.initialize(BukkitRegionContainer.java:75) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.bukkit.BukkitWorldGuardPlatform.load(BukkitWorldGuardPlatform.java:113) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.WorldGuard.setup(WorldGuard.java:47) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onEnable(WorldGuardPlugin.java:188) [worldguard-legacy-7.0.0-SNAPSHOT-dist%20(2).jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [server.jar:git-Spigot-0b44fa0-49a2604]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:339) [server.jar:git-Spigot-0b44fa0-49a2604]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [server.jar:git-Spigot-0b44fa0-49a2604]
at org.bukkit.craftbukkit.v1_13_R1.CraftServer.enablePlugin(CraftServer.java:424) [server.jar:git-Spigot-0b44fa0-49a2604]
at org.bukkit.craftbukkit.v1_13_R1.CraftServer.enablePlugins(CraftServer.java:338) [server.jar:git-Spigot-0b44fa0-49a2604]
at net.minecraft.server.v1_13_R1.MinecraftServer.m(MinecraftServer.java:562) [server.jar:git-Spigot-0b44fa0-49a2604]
at net.minecraft.server.v1_13_R1.MinecraftServer.g_(MinecraftServer.java:524) [server.jar:git-Spigot-0b44fa0-49a2604]
at net.minecraft.server.v1_13_R1.MinecraftServer.a(MinecraftServer.java:423) [server.jar:git-Spigot-0b44fa0-49a2604]
at net.minecraft.server.v1_13_R1.DedicatedServer.init(DedicatedServer.java:288) [server.jar:git-Spigot-0b44fa0-49a2604]
at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:686) [server.jar:git-Spigot-0b44fa0-49a2604]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

commented

Comment by me4502

Can you please provide your regions yaml file?

commented

Comment by JRNetwork

Sure, it's attached

commented

Comment by me4502

This should be fixed.

commented

Comment by JRNetwork

Still having the issue
Attached a pic of versions, downloaded latest dev builds

commented

Comment by me4502

Is it the same error? Please pastebin it again.

commented

Comment by JRNetwork

https://pastebin.com/zqqt6cSk
Seems to be the same

commented

Comment by me4502

Try now, seems there was another place the issue occured at

commented

Comment by PseudoKnight

Since I too was experiencing this exact issue, I can confirm that it's resolved now.

commented

Comment by me4502

Thanks

commented

Comment by phoenix616

Just had the same issue again today with WorldGuard v7.0.0-SNAPSHOT;1869-024a515 and WorldEdit v7.0.0-SNAPSHOT;4257-389671b (both currently latest).

log

Can't really provide the regions.yml in question as I have lots of different worlds and no indication which one it is, a grep through them for that flag shows that some of them use uppercase entity types which might be the issue? (as far as I can tell only the regions.yml files from non-loaded/removed worlds though so maybe these didn't get converted/loaded before?)