-
Notifications
You must be signed in to change notification settings - Fork 132
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
Mute dont work. #601
Comments
Seems like you're using a chat formatting plugin that interferes with it. Could you try removing it and checking if it works without it? |
Works without chat formatting |
What plugin are you using to format the chat? If the plugin is still allowing you to chat then its related to the plugin and might be only something that can be fixed by that chat plugin owner. |
The owner of the chat is me. Using TextComponent on AsyncPlayerChatEvent |
How can I fix this problem for myself? |
Ensure that you're correctly re-formatting the message (using the setFormat Method or something like that, instead of just cancelling the event and sending it through a Broadcast for example), aswell as respecting the cancellation status of the event (refer to the spigot documentation regarding cancelled events). AdvancedBan works on the highest priority as can be seen here on the bukkit-based chat listener. On this you're also able to see how AdvancedBan handles a mute status so you can adjust your plugin accordingly. |
On that link, everything is not very clear, what should I write to check if the player is muted? |
TL;DR: You are not respecting the cancellation status of the event is my guess, you can read more about it on the EventAPI documentation on SpigotMC.org.. I cannot provide support regarding your plugin. |
Not cancel, you need to check if the event has been cancelled already. I have no clue how you're actually handling events, nor is this the right channel to ask that. You can ask in our discord server in the development channel and wait for someone who can help . |
In that discord figs who will help you |
_What version of AdvancedBan (
/AdvancedBan
) are you using? - last version_What kind of server do you have (
Bungeecord/single server
)? single server_What server version (/version) are you using? - 1.19.2 Purpur
Please provide the EXACT steps required to reproduce the problem...
Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log) - no errors, log -
2023-01-09-1.log.gz
Add any additional information below. -
Entered the command /mute The player's nickname and the reason, but he can still talk to the chat even though he is not an OP and does not have any rights.
https://youtu.be/qX67OJyzGmE - youtube link with the problem
The text was updated successfully, but these errors were encountered: