iamthedefender / bedwars-cosmetics Goto Github PK
View Code? Open in Web Editor NEWAn plugin that adds various sets of cosmetics to enhance the gameplay of bedwars
License: GNU General Public License v3.0
An plugin that adds various sets of cosmetics to enhance the gameplay of bedwars
License: GNU General Public License v3.0
When game start,if the Shopkeeper skin is a npc, it will not spawn team upgrades npc
,the shop npc will load,if Shopkeeper Skin is not npc(mobs,villager) will all not spawn
,
it start with this error:
[22:06:48 WARN]: [BW1058-Cosmetics] Task #188304 for BW1058-Cosmetics v1.4.2 generated an exception
java.lang.NoClassDefFoundError: net/citizensnpcs/api/npc/NPC$Metadata
at me.defender.cosmetics.api.category.shopkeeperskins.utils.ShopKeeperSkinsUtils.createEntityNPC(ShopKeeperSkinsUtils.java:39) ~[?:?]
at me.defender.cosmetics.api.category.shopkeeperskins.utils.ShopKeeperSkinsUtils.spawnShopKeeperNPC(ShopKeeperSkinsUtils.java:160) ~[?:?]
at me.defender.cosmetics.api.category.shopkeeperskins.items.ShopKeeperItems$1.execute(ShopKeeperItems.java:80) ~[?:?]
at me.defender.cosmetics.api.category.shopkeeperskins.ShopKeeperHandler$1.run(ShopKeeperHandler.java:66) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
at java.base/java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.npc.NPC$Metadata
... 11 more
In version 1.4.4 (Or older)
Players cannot scroll to the third or higher page of the Cosmetic gui (page 4, page 5, or higher page), and hologram error still exists.
Error codes for BungeCord:
java.lang.IllegalArgumentException: Team 1zzj123 already exists in this scoreboard at com.google.common.base.Preconditions.checkArgument(Preconditions.java:218) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.api.score.Scoreboard.addTeam(Scoreboard.java:73) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.connection.DownstreamBridge.handle(DownstreamBridge.java:281) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.protocol.packet.Team.handle(Team.java:129) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:124) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:454) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[Waterfall.jar:git:Waterfall-Bootstrap:1.20-R0.2-SNAPSHOT:92b5149:562] at java.lang.Thread.run(Thread.java:840) [?:?]
Spigot no errors:
zzj123 lost connection: Disconnected
I updated the plugin to version 1.4.7 and a trojan was detected (specifically "androidOS/multiverze") which was instantly blocked by Windows Defender when I started the server and caused it to not complete its start.
Currently my browser (chrome) does not allow downloading the plugin, and when security is disabled, Windows Defender puts the plugin in quarantine, preventing me from running Spigot Antimalware for verification
When buying wood from the store, the below error is shown each and every time I buy wood
Hello Here is the Error in console:
[17:23:04 ERROR]: Could not pass event PlayerJoinEvent to BW1058-Cosmetics v1.4.4
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:871) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:710) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:613) [PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
at java.base/java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.RuntimeException: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
at me.defender.cosmetics.database.PlayerOwnedData.(PlayerOwnedData.java:47) ~[?:?]
at me.defender.cosmetics.listener.PlayerJoinListener.onJoin(PlayerJoinListener.java:54) ~[?:?]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
... 14 more
Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696) ~[?:?]
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:181) ~[?:?]
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:146) ~[?:?]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:100) ~[?:?]
at me.defender.cosmetics.database.PlayerOwnedData.(PlayerOwnedData.java:45) ~[?:?]
at me.defender.cosmetics.listener.PlayerJoinListener.onJoin(PlayerJoinListener.java:54) ~[?:?]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-f6fba00-9935adc]
... 14 more
It may cause the server no response for many seconds.
[12:29:51 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
[12:29:51 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
[12:29:51 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
[12:29:51 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
[12:29:54 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
When the server is starting, the Cosmetics plugin takes a lot of time,making the server takes near 140s to start ([17:19:34 INFO]: Done (139.537s)! For help, type "help"). See the log for more information.
Log here: https://pastebin.com/9m0bLb87 Starting from line 166
OS: Ubuntu
Java version: 21.0.2
Server: Paper 1.20.4
Plugin version: BedWars-Cosmetics-v1.4.7
So i leaving the server idle some minutes and then a player join its cause an error and said: HikariCP Connections error
Full error logs here
https://mclo.gs/qX3u8EO
Maybe you should do something to HikariCP to fix it i think
[23:09:28 ERROR]: Error occurred while enabling Cosmetics v1.4.6 (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant me.defender.cosmetics.api.cosmetics.RarityType.COMUM
at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
at me.defender.cosmetics.api.cosmetics.RarityType.valueOf(RarityType.java:5) ~[BedWars-Cosmetics-1.4.6.jar:?]
at me.defender.cosmetics.category.killmessage.items.KillMessageItems$1.getRarity(KillMessageItems.java:62) ~[BedWars-Cosmetics-1.4.6.jar:?]
at me.defender.cosmetics.api.cosmetics.category.KillMessage.register(KillMessage.java:39) ~[BedWars-Cosmetics-1.4.6.jar:?]
at me.defender.cosmetics.category.killmessage.items.KillMessageItems.registerConfigItems(KillMessageItems.java:65) ~[BedWars-Cosmetics-1.4.6.jar:?]
at me.defender.cosmetics.util.StartupUtils.loadCosmetics(StartupUtils.java:248) ~[BedWars-Cosmetics-1.4.6.jar:?]
at me.defender.cosmetics.Cosmetics.onEnable(Cosmetics.java:141) ~[BedWars-Cosmetics-1.4.6.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[paper-1.20.4.jar:git-Paper-446]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper-446]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.4.jar:git-Paper-446]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.4.jar:git-Paper-446]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:671) ~[paper-1.20.4.jar:git-Paper-446]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.20.4.jar:git-Paper-446]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:309) ~[paper-1.20.4.jar:git-Paper-446]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-446]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-446]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Hello, I'm trying to edit the plugin, but I don't know how to compile this plugin.
When I run any mvn command, I still have this error: [ERROR] Failed to execute goal on project BW1058-Cosmetics: Could not resolve dependencies for project me.defender:BW1058-Cosmetics:jar:1.4.5: The following artifacts could not be resolved: com.andrei1058.bedwars:BedWars1058:jar:23.3, com.andrei1058.bedwars:BedWarsProxy:jar:1.2.4: Could not find artifact com.andrei1058.bedwars:BedWars1058:jar:23.3 at specified path C:\Users\togau\IdeaProjects\BW1058-Cosmetics\lib\bedwars-plugin-23.3.jar -> [Help 1]
Can anyone help me please ?
Thank you in advance
[23:03:26 WARN]: java.lang.IllegalArgumentException: name cannot be null
[23:03:26 WARN]: at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143)
[23:03:26 WARN]: at org.bukkit.craftbukkit.v1_20_R3.CraftServer.getWorld(CraftServer.java:1470)
[23:03:26 WARN]: at org.bukkit.Bukkit.getWorld(Bukkit.java:874)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.util.StartupUtils.getCosmeticLocation(StartupUtils.java:296)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.category.shopkeeperskins.preview.ShopKeeperPreview.sendPreviewShopKeeperSkin(ShopKeeperPreview.java:72)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.menu.CategoryMenu.previewClick(CategoryMenu.java:348)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.menu.CategoryMenu.lambda$onOpen$0(CategoryMenu.java:122)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.support.hcore.ui.inventory.listeners.InventoryClickListener.lambda$onClick$1(InventoryClickListener.java:53)
[23:03:26 WARN]: at java.base/java.util.Optional.ifPresent(Optional.java:178)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.support.hcore.ui.inventory.listeners.InventoryClickListener.lambda$onClick$2(InventoryClickListener.java:51)
[23:03:26 WARN]: at java.base/java.util.Optional.ifPresent(Optional.java:178)
[23:03:26 WARN]: at BedWars-Cosmetics-1.4.6.jar//me.defender.cosmetics.support.hcore.ui.inventory.listeners.InventoryClickListener.onClick(InventoryClickListener.java:35)
[23:03:26 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor218.execute(Unknown Source)
[23:03:26 WARN]: at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
[23:03:26 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81)
[23:03:26 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[23:03:26 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[23:03:26 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
[23:03:26 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
[23:03:26 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:3106)
[23:03:26 WARN]: at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:58)
[23:03:26 WARN]: at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:23)
[23:03:26 WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$0(PlayerConnectionUtils.java:54)
[23:03:26 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[23:03:26 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[23:03:26 WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1455)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194)
[23:03:26 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.bl(MinecraftServer.java:1432)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1355)
[23:03:26 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.w_(MinecraftServer.java:1333)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1222)
[23:03:26 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[23:03:26 WARN]: at java.base/java.lang.Thread.run(Thread.java:840)
After updating the plugin to version 1.3, the server crashes after picking up minerals in the diamond or emerald generator, which makes gameplay difficult and sometimes causes the server to shut down
This same issue was reported on BedWars1058's Github, you can look it up by clicking here, some other details are there too
[12:30:27 ERROR]: Could not pass event InventoryOpenEvent to Cosmetics v1.4.6
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:143) ~[?:?]
at me.defender.cosmetics.category.woodskin.WoodSkinHandler1058.onShopOpen(WoodSkinHandler1058.java:59) ~[BedWars-Cosmetics-1.4.6.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor433.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:git-SlimeWorldManager-15679]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1480) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at org.bukkit.craftbukkit.v1_20_R3.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1459) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at org.bukkit.craftbukkit.v1_20_R3.entity.CraftHumanEntity.openCustomInventory(CraftHumanEntity.java:361) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at org.bukkit.craftbukkit.v1_20_R3.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:345) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at com.andrei1058.bedwars.shop.main.ShopIndex.open(ShopIndex.java:103) ~[bedwars-plugin-23.12.2.jar:?]
at com.andrei1058.bedwars.shop.listeners.ShopOpenListener.onShopOpen(ShopOpenListener.java:47) ~[bedwars-plugin-23.12.2.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor360.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:git-SlimeWorldManager-15679]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[slimeworldmanager-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl$3.performInteraction(ServerGamePacketListenerImpl.java:2722) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl$3.a(ServerGamePacketListenerImpl.java:2775) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket$InteractionAtLocationAction.dispatch(ServerboundInteractPacket.java:161) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2711) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:54) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
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:1473) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1450) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1373) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1351) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1235) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[slimeworldmanager-1.20.4.jar:git-SlimeWorldManager-15679]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.