Annotation Type Subscribe


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Subscribe
    An annotation that indicates that this method can be used to listen for an event from the proxy.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      PostOrder order
      The order events will be posted to this listener.
    • Element Detail

      • order

        PostOrder order
        The order events will be posted to this listener.
        Returns:
        the order
        Default:
        com.velocitypowered.api.event.PostOrder.NORMAL