-
-
Notifications
You must be signed in to change notification settings - Fork 992
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
Add support for local and global chats in Discord #4684
Conversation
3165a7e
to
1741621
Compare
1741621
to
afb5859
Compare
afb5859
to
77c5f81
Compare
77c5f81
to
448fcfe
Compare
448fcfe
to
1db6cc9
Compare
9fd7a6c
to
d265ce3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few things
EssentialsDiscord/src/main/java/net/essentialsx/discord/JDADiscordService.java
Outdated
Show resolved
Hide resolved
EssentialsDiscord/src/main/java/net/essentialsx/discord/DiscordSettings.java
Show resolved
Hide resolved
d265ce3
to
f6c49dd
Compare
@brawaru could you update this to the latest 2.x so we can get this merged :) |
This change makes use of added separate events for local and global chats, making it possible to change formatting of messages sent from different chat types, as well as disable them altogether (for example, if you don't want to see local chat messages in Discord). By default Essentials Discord will continue to use Bukkit chat events without any kind of separation, you must explicitly opt in to have new behaviour by changing use-essential-events to true.
f6c49dd
to
26d8033
Compare
Rebased, but haven't tested anything yet. Will try to when I have time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't know why i requested these be enabled by default, they should be disabled 😄
This pull request is a draft since it requires #4683 to be merged first.
Information
×
Details
Proposed feature:
This change makes use of added separate events for local and global chats in , making it possible to change the formatting of messages sent from different chat types, as well as disable them altogether (for example, if you don't want to see local chat messages in Discord).
By default Essentials Discord will continue to use Bukkit chat events without any kind of separation, you must explicitly opt in to have new behaviour by changing use-essential-events to true.
Environments tested:
OS: Windows 10 20H2.
Java version:
Demonstration:
Fixed #4989