Package dev.qixils.crowdcontrol
Annotation Type Subscribe
-
@AvailableSince("1.0.0") @Retention(RUNTIME) @Target(METHOD) public @interface Subscribe
Indicates that the annotated method is an effect handler for theprovided effect
. The containing class must beregistered
.- Since:
- 1.0.0
-
-
Element Detail
-
effect
@AvailableSince("1.0.0") @NotNull @Deprecated @ScheduledForRemoval(inVersion="4.0.0") @NotNull String effect
Deprecated.usevalue()
insteadThe name of the effect to listen to.- Returns:
- effect name
- Since:
- 1.0.0
- Default:
- ""
-
-
-
value
@AvailableSince("3.5.3") @NotNull @NotNull String value
The name of the effect to listen to.- Returns:
- effect name
- Since:
- 3.5.3
- Default:
- ""
-
-