Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add support for Paper's AsyncChat #3423

Open
NoltoxGit opened this issue Jan 22, 2024 · 2 comments
Open

[Feature Request] Add support for Paper's AsyncChat #3423

NoltoxGit opened this issue Jan 22, 2024 · 2 comments
Labels
Improvement Issues that suggest enhancing a feature or functionality further

Comments

@NoltoxGit
Copy link

I would like to be able to..

Hello,
Can you add the support for the Paper AsyncChatEvent and/or AsyncChatDecorateEvent in the configuration of your plugin please?
Because you're currently using an old listener: org.bukkit.event.player.AsyncPlayerChatEvent.

Example for a new configuration:

# Use Paper's async Chat Event
use-async-chat: true/false

Thank you so much if you add this! :)

Is your feature request related to a problem? Please describe.

Because it seems better for users of the latest versions of Paper and other forks

@AuroraLS3 AuroraLS3 added the Improvement Issues that suggest enhancing a feature or functionality further label Jan 22, 2024
@AuroraLS3
Copy link
Collaborator

Only thing this listener is used for is AFK detection so I'm not 100% sure how useful it is, but I'll consider it.

@AuroraLS3
Copy link
Collaborator

Since this class isn't available before 1.16, it needs some fancy logic to have a 2nd listener class in a separate module and then choosing listener on the fly at runtime in order to not drop support for older versions.

https://docs.gradle.org/current/kotlin-dsl/gradle/org.gradle.api.plugins/-java-plugin-convention/disable-auto-target-jvm.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Issues that suggest enhancing a feature or functionality further
Projects
Status: INBOX
Development

No branches or pull requests

2 participants