Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.6] NBTAPI compatibility problem #213

Closed
FastJoe0 opened this issue Jun 4, 2024 · 7 comments
Closed

[1.20.6] NBTAPI compatibility problem #213

FastJoe0 opened this issue Jun 4, 2024 · 7 comments

Comments

@FastJoe0
Copy link

FastJoe0 commented Jun 4, 2024

I'm using Paper 1.20.6 and I see errors in the server logs:

[09:45:02] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Spigot: v1_20_R4! Trying to find NMS support
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] This Server-Version(v1_20_R4) is not supported by this NBT-API Version(2.12.2) located in AnarchyExploitFixes. The NBT-API will try to work as good as it can! Some functions may not work!
[09:45:02] [Server thread/INFO]: [NBTAPI] [NBTAPI] Using the plugin 'AnarchyExploitFixes' to create a bStats instance!
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] Unable to find the method 'b' in 'ItemStack' Args: [class net.minecraft.nbt.NBTTagCompound] Enum: NMSITEM_SAVE
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] Unable to find the method 'c' in 'ItemStack' Args: [class net.minecraft.nbt.NBTTagCompound] Enum: ITEMSTACK_SET_TAG
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] Unable to find the method 'UnmappedreadCompressed(java.io.InputStream,net.minecraft.nbt.NbtAccounter)' in 'NBTCompressedStreamTools' Args: [class java.io.InputStream, class net.minecraft.nbt.NBTReadLimiter] Enum: NBTFILE_READV2
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] Unable to find the method 'UnmappedunlimitedHeap()' in 'NBTReadLimiter' Args: [] Enum: NBTACCOUNTER_CREATE_UNLIMITED
[09:45:02] [Server thread/WARN]: [NBTAPI] [NBTAPI] Unable to find the method 'a' in 'GameProfileSerializer' Args: [class net.minecraft.nbt.NBTTagCompound, class com.mojang.authlib.GameProfile] Enum: GAMEPROFILE_SERIALIZE
[09:45:02] [Server thread/ERROR]: [NBTAPI] Unable to find the constructor for the class 'net.minecraft.world.item.ItemStack'
java.lang.NoSuchMethodException: net.minecraft.world.item.ItemStack.<init>(net.minecraft.nbt.NBTTagCompound)
	at java.base/java.lang.Class.getConstructor0(Class.java:3761) ~[?:?]
	at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2930) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ObjectCreator.<init>(ObjectCreator.java:36) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ObjectCreator.<clinit>(ObjectCreator.java:22) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTContainer.<init>(NBTContainer.java:27) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTReflectionUtil.<clinit>(NBTReflectionUtil.java:610) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTCompound.hasTag(NBTCompound.java:720) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.handleBeehiveIfPresent(BeehiveCoordinates.java:82) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.onInventoryOpenEvent(BeehiveCoordinates.java:130) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:1.20.6-DEV-7d64ce9]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:627) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1423) ~[?:?]
	at net.minecraft.server.level.ServerPlayer.openMenu(ServerPlayer.java:1679) ~[?:?]
	at net.minecraft.world.level.block.ChestBlock.useWithoutItem(ChestBlock.java:257) ~[?:?]
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.useWithoutItem(BlockBehaviour.java:1236) ~[?:?]
	at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:585) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1931) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:44) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:11) ~[?:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[?:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[?:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[?:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[?:?]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1238) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[09:45:02] [Server thread/ERROR]: Could not pass event InventoryOpenEvent to AnarchyExploitFixes v2.6.7
me.moomoo.anarchyexploitfixes.libs.nbtapi.NbtApiException: [?][2.12.2]Error while calling the method 'contains(java.lang.String)', loaded: true, Enum: COMPOUND_HAS_KEY, Passed Class: class net.minecraft.world.item.EnumAnimation
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:386) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTReflectionUtil.getData(NBTReflectionUtil.java:626) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTCompound.hasTag(NBTCompound.java:720) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.handleBeehiveIfPresent(BeehiveCoordinates.java:82) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.onInventoryOpenEvent(BeehiveCoordinates.java:130) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:1.20.6-DEV-7d64ce9]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:627) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1423) ~[?:?]
	at net.minecraft.server.level.ServerPlayer.openMenu(ServerPlayer.java:1679) ~[?:?]
	at net.minecraft.world.level.block.ChestBlock.useWithoutItem(ChestBlock.java:257) ~[?:?]
	at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.useWithoutItem(BlockBehaviour.java:1236) ~[?:?]
	at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:585) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1931) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:44) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:11) ~[?:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[?:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[?:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[?:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135) ~[?:?]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1377) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1238) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.checkReceiver(DirectMethodHandleAccessor.java:197) ~[?:?]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:99) ~[?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:383) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	... 33 more
[09:45:03] [Server thread/ERROR]: Could not pass event InventoryClickEvent to AnarchyExploitFixes v2.6.7
me.moomoo.anarchyexploitfixes.libs.nbtapi.NbtApiException: [?][2.12.2]Error while calling the method 'contains(java.lang.String)', loaded: true, Enum: COMPOUND_HAS_KEY, Passed Class: class net.minecraft.world.item.EnumAnimation
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:386) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTReflectionUtil.getData(NBTReflectionUtil.java:626) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.NBTCompound.hasTag(NBTCompound.java:720) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.handleBeehiveIfPresent(BeehiveCoordinates.java:82) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.modules.patches.BeehiveCoordinates.onInventoryClick(BeehiveCoordinates.java:137) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:1.20.6-DEV-7d64ce9]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:627) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3177) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:69) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.a(ServerboundContainerClickPacket.java:33) ~[?:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[?:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) ~[?:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1511) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:195) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) ~[?:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1488) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1411) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
	at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1603) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1231) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-DEV-0513374]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.checkReceiver(DirectMethodHandleAccessor.java:197) ~[?:?]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:99) ~[?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at AnarchyExploitFixes-Folia-2.6.7.jar/me.moomoo.anarchyexploitfixes.libs.nbtapi.utils.nmsmappings.ReflectionMethod.run(ReflectionMethod.java:383) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
	... 28 more
@5RoD
Copy link

5RoD commented Jun 21, 2024

please update to 1.20.6!! it doesnt work for me too

@rafalohaki
Copy link
Contributor

latest build dev

[12:16:59 INFO]: [AEF] Detected Version 1.20.6
[12:16:59 INFO]: [AEF] Loading Config
structorHandleAccessor.java:62) ~[?:?]
... 17 more
[12:16:59 ERROR]: [AEF] Failed to load module CommandSign
java.lang.reflect.InvocationTargetException: null
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.modules.AEFModule.reloadModules(AEFModule.java:48) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.AnarchyExploitFixes.reloadConfiguration(AnarchyExploitFixes.java:224) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.AnarchyExploitFixes.onEnable(AnarchyExploitFixes.java:137) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[purpur-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:640) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:589) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:678) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:440) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:357) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1150) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.6.jar:1.20.6-2233-0d6766e]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalStateException: patches.prevent-command-sign cannot be made into a configuration section due to already containing data!
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.libs.configmaster.impl.CMConfigSection.createConfigSection(CMConfigSection.java:265) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.libs.configmaster.impl.CMConfigSection.createSectionInternal(CMConfigSection.java:246) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.libs.configmaster.impl.CMConfigSection.addDefault(CMConfigSection.java:40) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.libs.configmaster.impl.CMConfigSection.addDefault(CMConfigSection.java:23) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.config.Config.getBoolean(Config.java:136) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.modules.patches.commandsign.CommandSign.shouldEnable(CommandSign.java:27) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.modules.AEFModule.(AEFModule.java:31) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar/me.xginko.aef.modules.patches.commandsign.CommandSign.(CommandSign.java:12) ~[AnarchyExploitFixes-Folia-2.7.0-SNAPSHOT.jar:?]
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectCon[12:16:59 INFO]: [AEF] Loading Translations
[12:17:00 INFO]: [AEF] da_dk, de_at, de_ch, de_de,
[12:17:00 INFO]: [AEF] en_gb, en_us, es_es, fr_fr,
[12:17:00 INFO]: [AEF] it_it, ko_kr, pl_pl, pt_br,
[12:17:00 INFO]: [AEF] ro_ro, ru_ru, tr_tr, uk_ua,
[12:17:00 INFO]: [AEF] vi_vn, zh_cn
[12:17:00 INFO]: [AEF] Loaded 18 translation(s)
[12:17:00 INFO]: [AEF] Registering Commands
[12:17:00 INFO]: [AEF] Registering Permissions
[12:17:00 INFO]: [AEF] Initializing PacketEvents
[12:17:00 INFO]: [AEF] Ready.
[12:17:00 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[12:17:00 INFO]: 0 placeholder hook(s) registered!

@xGinko
Copy link
Owner

xGinko commented Jun 22, 2024

Its a config migration issue due to drastic changes. Generate a fresh config.yml and manually review what you want to change @rafalohaki

@5RoD
Copy link

5RoD commented Jun 22, 2024

@xGinko thats crazy i have to change 1540 lines of config again ?
why mann

@xGinko
Copy link
Owner

xGinko commented Jun 22, 2024

you dont, just keep it for the sections that get reset

@xGinko
Copy link
Owner

xGinko commented Jun 27, 2024

Fixed in 2.7.0

@xGinko xGinko closed this as completed Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@rafalohaki @FastJoe0 @5RoD @xGinko and others