Class ProxySignals

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

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

Each method is the same as EventSignalSource.on(Class) for the named event class. BungeeCord events are bridged at NORMAL priority.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the shortcuts; prefer BungeeSignals#proxy().
  • Method Summary

    Modifier and Type
    Method
    Description
    me.tamkungz.signals.Signal<net.md_5.bungee.api.event.ProxyPingEvent>
    Listens to ProxyPingEvent.
    me.tamkungz.signals.Signal<net.md_5.bungee.api.event.PluginMessageEvent>
    Listens to PluginMessageEvent.
    me.tamkungz.signals.Signal<net.md_5.bungee.api.event.ProxyReloadEvent>
    Listens to ProxyReloadEvent.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProxySignals

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

    • ping

      public me.tamkungz.signals.Signal<net.md_5.bungee.api.event.ProxyPingEvent> ping()
      Listens to ProxyPingEvent.
      Returns:
      the signal for that event
    • reload

      public me.tamkungz.signals.Signal<net.md_5.bungee.api.event.ProxyReloadEvent> reload()
      Listens to ProxyReloadEvent.
      Returns:
      the signal for that event
    • pluginMessage

      public me.tamkungz.signals.Signal<net.md_5.bungee.api.event.PluginMessageEvent> pluginMessage()
      Listens to PluginMessageEvent.
      Returns:
      the signal for that event