Class SocialReactionTrigger

java.lang.Object
ovh.mythmc.social.api.callback.reaction.SocialReactionTrigger

public final class SocialReactionTrigger extends Object
Event fired before a Reaction is displayed.

This event is triggered before a reaction is displayed in the system. It allows for modification or cancellation of the reaction display. If the event is cancelled, the reaction will not be displayed.

Fields:

  • user: The SocialUser who triggered the reaction.
  • reaction: The Reaction being triggered.
  • cancelled: Whether this event has been cancelled, preventing the reaction from being displayed.
  • Constructor Details

    • SocialReactionTrigger

      public SocialReactionTrigger()