ChatControl-Red icon indicating copy to clipboard operation
ChatControl-Red copied to clipboard

Adventure API

Open ArifErdoganK opened this issue 9 months ago • 2 comments

Are you using MySQL?

Yes

Are you using a proxy?

Yes - Velocity

"/version ChatControlRed" - plugin version

11.2.8 / 2.2.8

Optional: Error log

No response

ZIP of "/chc debug"

[09:44:24 INFO]: ArifErdoganK issued server command: /chatcs
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 INFO]: ArifErdoganK lost connection: Disconnected
>ver
[09:44:28 INFO]: This server is running CraftBukkit version git-PaperSpigot-445 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

[09:46:57 INFO]: ArifErdoganK issued server command: /chatcs
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 INFO]: ArifErdoganK lost connection: Disconnected
[09:47:06 INFO]: UUID of player ArifErdoganK is 55824f0d-28d2-3f52-afae-ae6ab48e0c50
[09:47:06 INFO]: ArifErdoganK[/213.153.145.63:56760] logged in with entity id 1364 at ([Merkez]836.5, 71.0, 168.5)
[09:47:06 INFO]: [ChatControl] TIP: Joining player to his saved channel standard in mode write
[09:47:06 INFO]: [ChatControl] TIP: Joining player to his saved channel admin in mode read
[09:47:06 INFO]: [ChatControl] TIP: Player ArifErdoganK is already in channel 'standard' in mode read, not adding.
[09:47:06 INFO]: [ChatControl] TIP: Player ArifErdoganK is already in channel 'admin' in mode read, not adding.
[09:47:11 INFO]: ArifErdoganK issued server command: /chatcs debug
[09:47:11 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:47:11 INFO]: ArifErdoganK lost connection: Disconnected
[09:47:11 INFO]: Updating player 55824f0d-28d2-3f52-afae-ae6ab48e0c50

> ver
[09:47:14 INFO]: This server is running PandaSpigot version git-PandaSpigot-158 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) (Git: 2642118)
[09:47:14 INFO]: Checking version, please wait...
[09:47:14 INFO]: You are running the latest version

Client error:

Image

Steps to reproduce

I can't use the latest versions of the ChatControl plugin on any 1.8.8 fork. I have reported this issue to you before, and you mentioned that it is related to the PandaSpigot API. However, it seems like this is something you need to fix. I'm tired of putting my server into maintenance mode just to test your plugin. There are too many servers, and having to repeat this process on multiple servers only to get the same result is extremely frustrating. I would appreciate it if you could investigate the issue more closely and provide a solution because this is not the only problem I’ve encountered with this plugin.

ArifErdoganK avatar Mar 24 '25 06:03 ArifErdoganK

/chatcs means /chc

ArifErdoganK avatar Mar 24 '25 06:03 ArifErdoganK

Are you using MySQL?

Yes

Are you using a proxy?

Yes - Velocity

"/version ChatControlRed" - plugin version

11.2.8 / 2.2.8

Optional: Error log

No response

ZIP of "/chc debug"

[09:44:24 INFO]: ArifErdoganK issued server command: /chatcs
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:44:24 INFO]: ArifErdoganK lost connection: Disconnected
>ver
[09:44:28 INFO]: This server is running CraftBukkit version git-PaperSpigot-445 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
[09:46:57 INFO]: ArifErdoganK issued server command: /chatcs
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:46:57 INFO]: ArifErdoganK lost connection: Disconnected
[09:47:06 INFO]: UUID of player ArifErdoganK is 55824f0d-28d2-3f52-afae-ae6ab48e0c50
[09:47:06 INFO]: ArifErdoganK[/213.153.145.63:56760] logged in with entity id 1364 at ([Merkez]836.5, 71.0, 168.5)
[09:47:06 INFO]: [ChatControl] TIP: Joining player to his saved channel standard in mode write
[09:47:06 INFO]: [ChatControl] TIP: Joining player to his saved channel admin in mode read
[09:47:06 INFO]: [ChatControl] TIP: Player ArifErdoganK is already in channel 'standard' in mode read, not adding.
[09:47:06 INFO]: [ChatControl] TIP: Player ArifErdoganK is already in channel 'admin' in mode read, not adding.
[09:47:11 INFO]: ArifErdoganK issued server command: /chatcs debug
[09:47:11 ERROR]: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.format.ShadowColor net.kyori.adventure.text.format.Style.shadowColor()'
[09:47:11 INFO]: ArifErdoganK lost connection: Disconnected
[09:47:11 INFO]: Updating player 55824f0d-28d2-3f52-afae-ae6ab48e0c50

> ver
[09:47:14 INFO]: This server is running PandaSpigot version git-PandaSpigot-158 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) (Git: 2642118)
[09:47:14 INFO]: Checking version, please wait...
[09:47:14 INFO]: You are running the latest version

Client error:

Image

Steps to reproduce

I can't use the latest versions of the ChatControl plugin on any 1.8.8 fork. I have reported this issue to you before, and you mentioned that it is related to the PandaSpigot API. However, it seems like this is something you need to fix. I'm tired of putting my server into maintenance mode just to test your plugin. There are too many servers, and having to repeat this process on multiple servers only to get the same result is extremely frustrating. I would appreciate it if you could investigate the issue more closely and provide a solution because this is not the only problem I’ve encountered with this plugin.

I was able to get a debug from the console: Download link => https://limewire.com/d/tmiza#wCgyrnVjUk

ArifErdoganK avatar Mar 24 '25 07:03 ArifErdoganK

Apologizes for the delay as I was out of office; I'll be reviewing this in 24 hours or less.

kangarko avatar Mar 27 '25 19:03 kangarko

Interesting.

ArifErdoganK avatar Mar 28 '25 15:03 ArifErdoganK

We're using libby library resolver and it appears to cause jar hell in Java since we are loading a newer version of Adventure initially but it apparently uses the older version afterwards.

I'll see if I can relocate this.

kangarko avatar Mar 28 '25 19:03 kangarko

Hello,

Apologizes for the frustrating issue and my delay, I fell sick after returning home.

I cannot unfortunately reproduce this as PandaSpigot's latest release I believe has already updated the Adventure library:

a

Can you please try this build and let me know below (even after the issue is closed) if it works fine? https://downloads.hpfxd.com/v2/projects/pandaspigot/versions/1.8.8/builds/latest/downloads/paperclip

The issue ought to be resolved upstream because legacy server is not supposed to ship third party libraries, but if it does, it should correspond to the version (or greater) to the current server version (1.21). That is just a technical limitation and would be very complex to fix - all of my plugins are open source so contrs are welcome, but I recommend you give that version a shot as it appears to be working ok there.

kangarko avatar Mar 31 '25 17:03 kangarko