PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
53 stars 21 forks source link

AntiBotDeluxe #1461

Closed ColorsASD closed 2 years ago

ColorsASD commented 2 years ago

Terms

Discord tag (optional)

Eriik#0580

What happened?

If AntiBotDeluxe (https://www.spigotmc.org/resources/antibotdeluxe-%E2%80%BA-the-most-advanced-antibot-spigot-bungee-1700-sales-1-7-1-17.31700/) loads sooner the plugin will be unusable.

(If i put ItemAdder plugins.yml: loadbefore: [AntiBotDeluxe] will all fine!)

Steps to reproduce the issue

Not related.

Server version

git-Purpur-1428 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 9beb23b on ver/1.17.1)

ItemsAdder Version

ItemsAdder version 2.5.5

ProtocolLib Version

ProtocolLib version 4.7.0

LoneLibs Version

LoneLibs version 1.0.16b

LightAPI Version (optional)

LightAPI version bukkit-5.1.0 (build SNAPSHOT)

LibsDisguises Version (optional)

LibsDisguises version 10.0.27

FULL server log

[00:28:10] [Craft Scheduler Thread - 6 - ItemsAdder/WARN]: [ItemsAdder] Loaded class org.apache.commons.codec.digest.DigestUtils from AntiBotDeluxe v10.2 which is not a depend, softdepend or loadbefore of this plugin. [00:28:10] [Craft Scheduler Thread - 6 - ItemsAdder/WARN]: [ItemsAdder] Plugin ItemsAdder v2.5.5 generated an exception while executing task 86 java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.codec.digest.DigestUtils.sha1Hex(java.lang.String)' at dev.lone.itemsadder.main.fk.B(SourceFile:162) ~[ItemsAdder-v2.5.5.jar:?] at dev.lone.itemsadder.main.fk.(SourceFile:65) ~[ItemsAdder-v2.5.5.jar:?] at dev.lone.itemsadder.main.az.a(SourceFile:1744) ~[ItemsAdder-v2.5.5.jar:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[custom.jar:git-Purpur-1428] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[custom.jar:git-Purpur-1428] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[custom.jar:git-Purpur-1428] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Error (optional)

[00:28:10] [Craft Scheduler Thread - 6 - ItemsAdder/WARN]: [ItemsAdder] Loaded class org.apache.commons.codec.digest.DigestUtils from AntiBotDeluxe v10.2 which is not a depend, softdepend or loadbefore of this plugin.
[00:28:10] [Craft Scheduler Thread - 6 - ItemsAdder/WARN]: [ItemsAdder] Plugin ItemsAdder v2.5.5 generated an exception while executing task 86
java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.codec.digest.DigestUtils.sha1Hex(java.lang.String)'
    at dev.lone.itemsadder.main.fk.B(SourceFile:162) ~[ItemsAdder-v2.5.5.jar:?]
    at dev.lone.itemsadder.main.fk.<init>(SourceFile:65) ~[ItemsAdder-v2.5.5.jar:?]
    at dev.lone.itemsadder.main.az.a(SourceFile:1744) ~[ItemsAdder-v2.5.5.jar:?]
    at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[custom.jar:git-Purpur-1428]
    at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[custom.jar:git-Purpur-1428]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[custom.jar:git-Purpur-1428]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

ItemsAdder config.yml

Not related.

Problematic items yml configuration file (optional)

Not related.

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 2 years ago

Antibotdeluxe must update their library org.apache.commons.codec

They are using an old version which is causing this issue. ItemsAdder is using the latest version of org.apache.commons.codec, Antibotdeluxe is interfering because it's using an old version of it. You must ask the dev to update their commons lib