Pharaonic_
Пользователь
- Сообщения
- 38
Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
- Плагин
- CustomCrafting
- Ядро сервера
- Purpur
- Версия сервера
- 1.20
При вводе команды /cc происходит это:
А при запуске сервера плагин выдаёт это:
Что делать?
Код:
null
org.bukkit.command.CommandException: Unhandled exception executing 'cc' in me.wolfyscript.customcrafting.commands.CommandCC(customcrafting)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:178) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:999) ~[purpur-1.20.1.jar:git-Purpur-2060]
at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[purpur-1.20.1.jar:git-Purpur-2060]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[purpur-1.20.1.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:332) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:316) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2447) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$22(ServerGamePacketListenerImpl.java:2407) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1365) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1342) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1335) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1313) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1201) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2060]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register me.wolfyscript.utilities.api.inventory.gui.GuiHandler@3e1f472b while not enabled
at io.papermc.paper.plugin.manager.PaperEventManager.registerEvents(PaperEventManager.java:80) ~[purpur-1.20.1.jar:git-Purpur-2060]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.registerEvents(PaperPluginManagerImpl.java:131) ~[purpur-1.20.1.jar:git-Purpur-2060]
at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:674) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at me.wolfyscript.utilities.api.inventory.gui.GuiHandler.<init>(GuiHandler.java:87) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.api.inventory.gui.InventoryAPI.createGuiHandler(InventoryAPI.java:130) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.api.inventory.gui.InventoryAPI.getGuiHandler(InventoryAPI.java:124) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.customcrafting.commands.CommandCC.openGUI(CommandCC.java:83) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.commands.CommandCC.execute(CommandCC.java:76) ~[customcrafting-spigot-4.16.11.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 22 more
А при запуске сервера плагин выдаёт это:
Код:
[Server thread/ERROR]: Error occurred while enabling CustomCrafting v4.16.11 (Is it up to date?)
java.lang.NoSuchMethodError: 'org.bukkit.NamespacedKey org.bukkit.Particle.getKey()'
at me.wolfyscript.utilities.util.particles.ParticleEffect.getParticleKey(ParticleEffect.java:175) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:689) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.util.json.jackson.annotations.OptionalKeyReference$SerializerModifier$Serializer.serialize(OptionalKeyReference.java:143) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.util.json.jackson.annotations.OptionalKeyReference$SerializerModifier$Serializer.serialize(OptionalKeyReference.java:115) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeFields(MapSerializer.java:808) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeWithoutTypeInfo(MapSerializer.java:764) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:720) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:35) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.util.json.jackson.annotations.OptionalKeyReference$SerializerModifier$Serializer.serialize(OptionalKeyReference.java:143) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.utilities.util.json.jackson.annotations.OptionalKeyReference$SerializerModifier$Serializer.serialize(OptionalKeyReference.java:115) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1518) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ObjectWriter._writeValueAndClose(ObjectWriter.java:1219) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.lib.com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1027) ~[wolfyutils-spigot-4.17-beta.6.jar:?]
at me.wolfyscript.customcrafting.handlers.LocalStorageLoader.save(LocalStorageLoader.java:353) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.utils.ItemLoader.saveItem(ItemLoader.java:242) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.handlers.ResourceLoader.lambda$save$0(ResourceLoader.java:139) ~[customcrafting-spigot-4.16.11.jar:?]
at java.util.HashMap$EntrySet.forEach(HashMap.java:1134) ~[?:?]
at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116) ~[?:?]
at me.wolfyscript.customcrafting.handlers.ResourceLoader.save(ResourceLoader.java:139) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.handlers.ResourceLoader.load(ResourceLoader.java:79) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.handlers.DataHandler.load(DataHandler.java:114) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.handlers.DataHandler.loadRecipesAndItems(DataHandler.java:124) ~[customcrafting-spigot-4.16.11.jar:?]
at me.wolfyscript.customcrafting.CustomCrafting.onEnable(CustomCrafting.java:363) ~[customcrafting-spigot-4.16.11.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[purpur-1.20.1.jar:git-Purpur-2060]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.1.jar:git-Purpur-2060]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:654) ~[purpur-1.20.1.jar:git-Purpur-2060]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:565) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:640) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:439) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:345) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1116) ~[purpur-1.20.1.jar:git-Purpur-2060]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2060]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Что делать?
Последнее редактирование модератором: