Actually listeners events are only related to commands (all (#*#) or by id (#cmdId#)). Custom events that don't fit this pattern are automatically removed by listener::clean() function.
It would be interesting if plugins could manage their own events such as #pluginClass::*# or #pluginClass::customId#.
Suggested changelog entry
Listeners : Prise en charge des évènements personnalisés de type #pluginClass::*# ou #pluginClass::customId#
Related issues/external references
Fix #2963
Types of changes
[ ] Bug fix (non-breaking change which fixes)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change is only breaking for integrators, not for external standards or end-users.
Support custom listeners
Description
Actually listeners events are only related to commands (all (
#*#
) or by id (#cmdId#
)). Custom events that don't fit this pattern are automatically removed by listener::clean() function.It would be interesting if plugins could manage their own events such as
#pluginClass::*#
or#pluginClass::customId#
.Suggested changelog entry
#pluginClass::*#
ou#pluginClass::customId#
Related issues/external references
Fix #2963
Types of changes