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

Set Listener Priorities for TC #7625

Closed
cobrex1 opened this issue Oct 2, 2024 · 0 comments · Fixed by TownyAdvanced/TownyChat#60
Closed

Set Listener Priorities for TC #7625

cobrex1 opened this issue Oct 2, 2024 · 0 comments · Fixed by TownyAdvanced/TownyChat#60

Comments

@cobrex1
Copy link

cobrex1 commented Oct 2, 2024

Please explain your feature request to the best of your abilities:

Working with the TownyChat plugin, it would be a nice option to be able to configure the priorities for the plugin when having issues with other chat plugins.

Llmdl you suggested that TC runs at NORMAL, that only gives two other options LOW and LOWEST for me to work on with the other plugin.

@LlmDl LlmDl self-assigned this Oct 17, 2024
LlmDl added a commit to TownyAdvanced/TownyChat that referenced this issue Oct 17, 2024
  - Add the ability to choose which EventPriority TownyChat uses to
modify chat.
    - Closes TownyAdvanced/Towny#7625.
  - New ChatConfig.yml Option: modify_chat.listener_priority
    - Default: normal
    - The priority used for the AsyncPlayerChatEvent listener in
TownyChat. This option will decide when TownyChat listens to the Chat
event thrown by Bukkit-based servers.
    - Valid settings are: lowest, low, normal, high, highest
    - Lowest is the earliest listener, allowing TownyChat to act upon
chat before Low, Normal, High, and Highest priority plugins.
    - Highest will cause TownyChat to change chat after other plugins
operating on lower priorities.
    - If you don't know what any of this means leave it at normal.
LlmDl added a commit to TownyAdvanced/TownyChat that referenced this issue Oct 17, 2024
- Add the ability to choose which EventPriority TownyChat uses to
modify chat.
    - Closes TownyAdvanced/Towny#7625.
  - New ChatConfig.yml Option: modify_chat.listener_priority
    - Default: normal
    - The priority used for the AsyncPlayerChatEvent listener in
TownyChat. This option will decide when TownyChat listens to the Chat
event thrown by Bukkit-based servers.
    - Valid settings are: lowest, low, normal, high, highest
    - Lowest is the earliest listener, allowing TownyChat to act upon
chat before Low, Normal, High, and Highest priority plugins.
    - Highest will cause TownyChat to change chat after other plugins
operating on lower priorities.
    - If you don't know what any of this means leave it at normal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants