Interface Trigger<C extends FilteredTriggerConfiguration>

    • Method Detail

      • configurationType

        java.lang.reflect.Type configurationType()
        Gets the type of the used FilteredTriggerConfiguration.

        This type represents the C type parameter of this instance.

        Returns:
        The configuration type
      • trigger

        void trigger()
        Triggers the Trigger for all the online players.
      • trigger

        void trigger​(java.lang.Iterable<ServerPlayer> players)
        Triggers the Trigger for the specified players.
        Parameters:
        players - The players to trigger for
      • trigger

        void trigger​(ServerPlayer player)
        Triggers the Trigger for the specified player.
        Parameters:
        player - The player to trigger for