Class ProxySignals

java.lang.Object
me.tamkungz.signals.velocity.event.ProxySignals

public final class ProxySignals extends Object
Shortcuts for common Velocity proxy events, reached with VelocitySignals#proxy().

Each method is the same as EventSignalSource.on(Class) for the named event class; anything not listed here is still available through that method.

  • Constructor Details

    • ProxySignals

      public ProxySignals(EventSignalSource source)
      Creates the shortcuts; prefer VelocitySignals#proxy().
      Parameters:
      source - where the signals come from
  • Method Details

    • initialize

      public EventSignalBuilder<com.velocitypowered.api.event.proxy.ProxyInitializeEvent> initialize()
      Listens to ProxyInitializeEvent.
      Returns:
      a builder for the post order option
    • shutdown

      public EventSignalBuilder<com.velocitypowered.api.event.proxy.ProxyShutdownEvent> shutdown()
      Listens to ProxyShutdownEvent.
      Returns:
      a builder for the post order option
    • reload

      public EventSignalBuilder<com.velocitypowered.api.event.proxy.ProxyReloadEvent> reload()
      Listens to ProxyReloadEvent.
      Returns:
      a builder for the post order option
    • ping

      public EventSignalBuilder<com.velocitypowered.api.event.proxy.ProxyPingEvent> ping()
      Listens to ProxyPingEvent.
      Returns:
      a builder for the post order option
    • pluginMessage

      public EventSignalBuilder<com.velocitypowered.api.event.connection.PluginMessageEvent> pluginMessage()
      Listens to PluginMessageEvent.
      Returns:
      a builder for the post order option