PluginBugs / Issues-ServerBooster

Repository used to keep track of issues of my plugin ServerBooster
2 stars 0 forks source link

[BUG] 1.20.6 issue #105

Open JasonWu55 opened 5 months ago

JasonWu55 commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior In my 1.20.6 server, I can't load server booster plugin

Screenshots If applicable, add screenshots to help explain your problem.

Info (please complete the following information):

log

[07:26:10] [Paper Plugin Remapper Thread - 2/INFO]: [PluginRemapper] Remapping plugin 'plugins/ServerBooster_1.1.8.jar'...
[07:26:10] [ServerMain/ERROR]: [PluginRemapper] Encountered exception remapping plugins
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to remap plugin jar 'plugins/ServerBooster_1.1.8.jar'
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) ~[?:?]
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.RuntimeException: Failed to remap plugin jar 'plugins/ServerBooster_1.1.8.jar'
    at io.papermc.paper.pluginremap.PluginRemapper.lambda$remap$7(PluginRemapper.java:358) ~[purpur-1.20.6.jar:1.20.6-2211-3d25693]
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
    ... 4 more
Caused by: java.lang.RuntimeException: Failed to execute task dev/lone/serverbooster/main/a
    at net.neoforged.art.internal.AsyncHelper.invokeAll(AsyncHelper.java:56) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.AsyncHelper.consumeAll(AsyncHelper.java:36) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.RenamerImpl.run(RenamerImpl.java:177) ~[purpur-1.20.6.jar:?]
    at net.neoforged.art.internal.RenamerImpl.run(RenamerImpl.java:95) ~[purpur-1.20.6.jar:?]
    at io.papermc.paper.pluginremap.PluginRemapper.lambda$remap$7(PluginRemapper.java:355) ~[purpur-1.20.6.jar:1.20.6-2211-3d25693]
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
    ... 4 more
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Duplicate key a (attempted merging values private final dev/lone/serverbooster/main/a/a Ljava/util/HashSet; and default dev/lone/serverbooster/main/a/a Lorg/bukkit/plugin/Plugin;)
    at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
    at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
    at net.neoforged.art.internal.AsyncHelper.invokeAll(AsyncHelper.java:52) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.AsyncHelper.consumeAll(AsyncHelper.java:36) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.RenamerImpl.run(RenamerImpl.java:177) ~[purpur-1.20.6.jar:?]
    at net.neoforged.art.internal.RenamerImpl.run(RenamerImpl.java:95) ~[purpur-1.20.6.jar:?]
    at io.papermc.paper.pluginremap.PluginRemapper.lambda$remap$7(PluginRemapper.java:355) ~[purpur-1.20.6.jar:1.20.6-2211-3d25693]
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) ~[?:?]
    ... 4 more
Caused by: java.lang.IllegalStateException: Duplicate key a (attempted merging values private final dev/lone/serverbooster/main/a/a Ljava/util/HashSet; and default dev/lone/serverbooster/main/a/a Lorg/bukkit/plugin/Plugin;)
    at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:135) ~[?:?]
    at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:182) ~[?:?]
    at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?]
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708) ~[?:?]
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
    at net.neoforged.art.internal.ClassProviderImpl$ClassInfo.<init>(ClassProviderImpl.java:122) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.ClassProviderBuilderImpl.lambda$addClass$1(ClassProviderBuilderImpl.java:64) ~[AutoRenamingTool-2.0.3.jar:?]
    at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?]
    at net.neoforged.art.internal.ClassProviderBuilderImpl.addClass(ClassProviderBuilderImpl.java:64) ~[AutoRenamingTool-2.0.3.jar:?]
    at net.neoforged.art.internal.RenamerImpl.lambda$run$2(RenamerImpl.java:178) ~[purpur-1.20.6.jar:?]
    at net.neoforged.art.internal.AsyncHelper.lambda$null$0(AsyncHelper.java:33) ~[AutoRenamingTool-2.0.3.jar:?]
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
    ... 3 more
[07:26:14] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[07:26:15] [ServerMain/INFO]: Loaded 1175 recipes
[07:26:15] [ServerMain/INFO]: Loaded 1276 advancements
[07:26:15] [Server thread/INFO]: Starting minecraft server version 1.20.6
[07:26:15] [Server thread/INFO]: Loading properties
[07:26:15] [Server thread/INFO]: This server is running Purpur version 1.20.6-2211-ver/1.20.6@3d25693 (2024-05-20T22:36:58Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)
[07:26:16] [Server thread/INFO]: Server Ping Player Sample Count: 12
[07:26:16] [Server thread/INFO]: Using 4 threads for Netty based IO
[07:26:16] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 1 worker threads, and gen parallelism of 1 threads
[07:26:16] [Server thread/INFO]: Default game type: SURVIVAL
[07:26:16] [Server thread/INFO]: Generating keypair
[07:26:16] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:22567
[07:26:17] [Server thread/INFO]: Using epoll channel type
[07:26:17] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[07:26:17] [Server thread/INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[07:26:17] [Server thread/WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
[07:26:23] [Server thread/WARN]: Legacy plugin CustomPolls v1.1.1 does not specify an api-version.
[07:26:23] [Server thread/INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.1-SNAPSHOT-689
[07:26:23] [Server thread/WARN]: [ProtocolLib] Version (MC: 1.20.6) has not yet been tested! Proceed with caution.
[07:26:24] [Server thread/INFO]: [LuckPerms] Loading server plugin LuckPerms v5.4.128
[07:26:24] [Server thread/INFO]: [CMILib] Loading server plugin CMILib v1.4.7.12
[07:26:24] [Server thread/INFO]: [spark] Loading server plugin spark v1.10.66
[07:26:24] [Server thread/INFO]: [CoreProtect] Loading server plugin CoreProtect v22.4
[07:26:24] [Server thread/INFO]: [CMI] Loading server plugin CMI v9.7.2.10
[07:26:24] [Server thread/INFO]: [PlugManX] Loading server plugin PlugManX v2.3.8
[07:26:24] [Server thread/INFO]: [CustomPolls] Loading server plugin CustomPolls v1.1.1
[07:26:24] [Server thread/INFO]: [LoneLibs] Loading server plugin LoneLibs v1.0.54
[07:26:24] [Server thread/INFO]: [Skript] Loading server plugin Skript v2.8.5
[07:26:24] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[07:26:24] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.2.1-SNAPSHOT-689
[07:26:24] [Server thread/INFO]: [LuckPerms] Enabling LuckPerms v5.4.128
[07:26:24] [Server thread/INFO]:         __    
[07:26:24] [Server thread/INFO]:   |    |__)   LuckPerms v5.4.128
[07:26:24] [Server thread/INFO]:   |___ |      Running on Bukkit - Purpur
[07:26:24] [Server thread/INFO]: 
[07:26:24] [Server thread/INFO]: [LuckPerms] Loading configuration...
[07:26:24] [Server thread/INFO]: [LuckPerms] Loading storage provider... [H2]
[07:26:24] [Server thread/INFO]: [LuckPerms] Loading internal permission managers...
[07:26:24] [Server thread/INFO]: [LuckPerms] Performing initial data load...
[07:26:24] [Server thread/INFO]: [LuckPerms] Successfully enabled. (took 581ms)
[07:26:24] [Server thread/INFO]: [PlugManX] Enabling PlugManX v2.3.8
[07:26:24] [Server thread/WARN]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[07:26:24] [Server thread/WARN]: It seems like you're running on paper.
[07:26:24] [Server thread/WARN]: PlugManX cannot interact with paper-plugins, yet.
[07:26:24] [Server thread/WARN]: Also, if you encounter any issues, please join my discord: https://discord.gg/GxEFhVY6ff
[07:26:24] [Server thread/WARN]: Or create an issue on GitHub: https://github.com/TheBlackEntity/PlugMan
[07:26:24] [Server thread/WARN]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[07:26:25] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.54
[07:26:25] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[07:26:25] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[07:26:25] [Server thread/WARN]: Whilst this makes it possible to use BungeeCord, unless access to your server is properly restricted, it also opens up the ability for hackers to connect with any username they choose.
[07:26:25] [Server thread/WARN]: Please see http://www.spigotmc.org/wiki/firewall-guide/ for further information.
[07:26:25] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[07:26:25] [Server thread/INFO]: Preparing level "world"
[07:26:25] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[07:26:25] [Server thread/INFO]: Time elapsed: 554 ms
[07:26:25] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[07:26:26] [Server thread/INFO]: Time elapsed: 107 ms
[07:26:26] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[07:26:26] [Server thread/INFO]: Time elapsed: 67 ms
[07:26:26] [Server thread/INFO]: [CMILib] Enabling CMILib v1.4.7.12
[07:26:26] [Server thread/INFO]: Server version: v1_20_R4 - 1.20.6 - paper  1.20.6-2211-3d25693 (MC: 1.20.6)
[07:26:27] [Server thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[07:26:27] [Server thread/INFO]: CMI hooked.
[07:26:27] [Server thread/INFO]: Updated (EN) language file. Took 34ms
[07:26:27] [Server thread/INFO]: [spark] Enabling spark v1.10.66
[07:26:27] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[07:26:27] [Server thread/INFO]: [spark] Starting background profiler...
[07:26:27] [Server thread/INFO]: [CoreProtect] Enabling CoreProtect v22.4
[07:26:28] [Server thread/INFO]: [CoreProtect] CoreProtect has been successfully enabled! 
[07:26:28] [Server thread/INFO]: [CoreProtect] Using SQLite for data storage.
[07:26:28] [Server thread/INFO]: --------------------
[07:26:28] [Server thread/INFO]: [CoreProtect] Enjoy CoreProtect? Join our Discord!
[07:26:28] [Server thread/INFO]: [CoreProtect] Discord: www.coreprotect.net/discord/
[07:26:28] [Server thread/INFO]: --------------------
[07:26:28] [Server thread/INFO]: [CMI] Enabling CMI v9.7.2.10
[07:26:28] [Server thread/INFO]: _______________________________________________________
[07:26:28] [Server thread/INFO]: ┏━━━┓ ┏━┓┏━┓ ┏━━┓
[07:26:28] [Server thread/INFO]: ┃┏━┓┃ ┃ ┗┛ ┃ ┗┫┣┛
[07:26:28] [Server thread/INFO]: ┃┃ ┗┛ ┃┏┓┏┓┃  ┃┃ 
[07:26:28] [Server thread/INFO]: ┃┃ ┏┓ ┃┃┃┃┃┃  ┃┃ 
[07:26:28] [Server thread/INFO]: ┃┗━┛┃ ┃┃┃┃┃┃ ┏┫┣┓
[07:26:28] [Server thread/INFO]: ┗━━━┛ ┗┛┗┛┗┛ ┗━━┛
[07:26:28] [Server thread/INFO]: _______________________________________________________
[07:26:29] [Server thread/INFO]: Integrating PaperSpigot async methods
[07:26:29] [Server thread/INFO]: 59 Enabled and 0 Disabled modules
[07:26:29] [Server thread/INFO]: ProtocolLib found. (Loaded: true)
[07:26:29] [Server thread/INFO]: Permission plugin: LuckPerms5.4.128
[07:26:29] [Server thread/INFO]: Initialized Cipher256 AES
[07:26:30] [Server thread/INFO]: Loaded (61) regular alias into memory. Took 43ms
[07:26:30] [Server thread/INFO]: Loaded (1) custom text's into memory. Took 4ms
[07:26:30] [Server thread/INFO]: 3.45.3 data base type detected
[07:26:30] [Server thread/INFO]: Started SqLite data base. Took 83ms
[07:26:30] [Server thread/INFO]: Vault was not found, you will have limited economy support
[07:26:30] [Server thread/INFO]: Loaded (5) warning categories into memory. Took 0ms
[07:26:30] [Server thread/INFO]: Loaded (3) warning commands into memory. Took 0ms
[07:26:30] [Server thread/INFO]: Loaded (0) cooldowns into memory. Took 0ms
[07:26:30] [Server thread/INFO]: Loaded (145) custom mob heads into memory. Took 9ms
[07:26:30] [Server thread/INFO]: Enabling BungeeCord Support
[07:26:30] [Server thread/INFO]: Loaded (5) kits into memory. Took 12ms
[07:26:30] [Server thread/INFO]: Loaded (7) ranks into memory. Took 12ms
[07:26:30] [Server thread/INFO]: Loaded (8) playtime rewards into memory. Took 1ms
[07:26:31] [Server thread/INFO]: Loaded (77) player data into memory. Took 15ms
[07:26:31] [Server thread/INFO]: Loaded (0) playtime records into memory. Took 0ms
[07:26:31] [Server thread/INFO]: Loaded (0) playtime reward records into memory. Took 0ms
[07:26:31] [Server thread/INFO]: Loaded (0) custom alias into memory. Took 0ms
[07:26:31] [Server thread/INFO]: Registered events. Took 113ms
[07:26:31] [Server thread/INFO]: Loaded (0) event action commands into memory. Took 3ms
[07:26:31] [Server thread/INFO]: Loaded (EN) language file into memory. Took 64ms
[07:26:31] [Server thread/INFO]: Loaded (ZH) language file into memory. Took 50ms
[07:26:31] [Server thread/INFO]: Loaded (245) worth values into memory. Took 32ms
[07:26:31] [Server thread/INFO]: Starting world timer.
[07:26:31] [Server thread/INFO]: Initializing world manager.
[07:26:31] [Server thread/INFO]: Loaded (4) schedules into memory. Took 5ms
[07:26:31] [Server thread/INFO]: Loaded GeoIP
[07:26:31] [Server thread/INFO]: Loaded (0) skin cache entries into memory. Took 0ms
[07:26:31] [Server thread/INFO]: Loaded (0) ArmorStand templates into memory. Took 0ms
[07:26:31] [Server thread/INFO]: Version 9.7.2.10 has been enabled
[07:26:31] [Server thread/INFO]: _______________________________________________________
[07:26:31] [Server thread/INFO]: [CustomPolls] Enabling CustomPolls v1.1.1*
[07:26:31] [Server thread/INFO]: [CustomPolls] Database set to 'FlatfileDatabase'
[07:26:31] [Server thread/INFO]: [CustomPolls] Loaded 0 polls
[07:26:31] [Server thread/INFO]: [CustomPolls] Beginning reminder task.
[07:26:31] [Server thread/INFO]: [Skript] Enabling Skript v2.8.5
[07:26:32] [ForkJoinPool.commonPool-worker-1/INFO]: [Skript] You're currently running the latest stable version of Skript.
[07:26:36] [Server thread/INFO]: [Skript] Loaded 233068 aliases in 4562ms
[07:26:36] [Server thread/INFO]: [Skript]  ~ created by & © Peter Güttinger aka Njol ~
[07:26:36] [Server thread/INFO]: Running delayed init tasks
[07:26:36] [Server thread/INFO]: [Skript] Loading variables...
[07:26:36] [Server thread/INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[07:26:36] [Server thread/INFO]: [Skript] All scripts loaded without errors.
[07:26:36] [Server thread/INFO]: [Skript] Loaded 2 scripts with a total of 2 structures in 0.04 seconds
[07:26:36] [Server thread/INFO]: [Skript] Finished loading.
[07:26:36] [Server thread/INFO]: Done (21.172s)! For help, type "help"
[07:26:45] [User Authenticator #0/INFO]: UUID of player JasonWu5 is 273ddf3c-0968-41fb-8843-b493ddfeff6b
[07:26:46] [Server thread/INFO]: JasonWu5 joined the game
[07:26:46] [Server thread/INFO]: JasonWu5[/192.168.1.254:58718] logged in with entity id 56 at ([world]15.854882006788033, 66.0, -111.15718699737918)
[07:27:07] [Server thread/INFO]: JasonWu5 issued server command: /pl
[07:31:36] [Server thread/INFO]: Saving the game (this may take a moment!)
[07:31:37] [Server thread/INFO]: Saved the game
[07:31:37] [Craft Scheduler Thread - 2 - CMILib/INFO]: 保存背包已完成,已保存: 76 已跳過: 0