-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Feature Request: Support answers from specific chat commands / prefixes (ChatControl compatibility)
Hello,
First of all, thank you for developing AxChatGames. It is a very fun plugin and a great way to make chat more active on survival servers.
I would like to suggest a feature that could significantly improve compatibility with chat channel plugins, especially ChatControl and similar plugins that route messages through commands or custom prefixes.
Problem
On my server, players do not write directly into the default global chat.
Instead, global messages are sent through ChatControl using a command like:
/channel send global <message>
In some setups, a prefix may also be used to route a message into global chat.
At the moment, AxChatGames only seems to detect answers from normal chat input, so answers sent through command-based or prefix-based global chat systems are not recognized.
Because of this, chat games can only be answered through the default chat flow, which makes integration with structured chat systems difficult.
Requested feature
Please add a way to configure which input methods should count as valid answers for chat games.
For example, something like:
answer-detection:
allowed-prefixes:
- "!"
allowed-commands:
- "/channel send global"This would allow AxChatGames to accept answers such as:
!apple
/channel send global apple
instead of only accepting messages sent through the default chat handler.
Why this would be useful
A lot of servers use multiple chat channels, for example:
- global
- local
- trade
- help
- staff
In these setups, it is often important that answers are accepted only in global chat, not from every possible chat source.
This feature would make AxChatGames much easier to use on servers with modern chat systems and would improve compatibility with plugins such as:
- ChatControl
- VentureChat
- HuskChat
- other channel-based chat plugins
Benefits
- Better compatibility with popular chat management plugins
- More flexibility for server owners
- Allows chat game answers to be restricted to the intended channel
- Prevents answers from being accepted from the wrong chat source
- Makes AxChatGames more practical for production servers with advanced chat setups
Why it may be worth implementing
I think this feature would solve a real integration problem for many server owners, not just for one niche setup.
Servers that use structured chat systems usually do so intentionally, and being able to bind AxChatGames answers to a specific command or prefix would make the plugin much more adaptable in real-world environments.
It also seems like a relatively high-value feature: small in scope, but very useful for compatibility.
Possible implementation ideas
Any of these approaches would already be very helpful:
- Add support for configurable allowed prefixes
- Add support for configurable allowed commands
- Add an API hook / integration point so chat plugins can pass a processed message to AxChatGames
- Add a way to restrict valid answers to a specific channel name
Even basic support for commands and prefixes alone would already solve the problem for many servers.
Thank you for your work on the plugin and for considering this suggestion.