Java API
class

ProxySignals

me.tamkungz.signals.bungee.event.ProxySignals

Version
0.2.1-SNAPSHOT
Java
21
Source file
me/tamkungz/signals/bungee/event/ProxySignals.java
Repository
View source ↗

Shortcuts for common BungeeCord proxy events, reached with {@code BungeeSignals#proxy()}.

<p>

Each method is the same as {@link EventSignalSource#on(Class)} for the named event class.

BungeeCord events are bridged at {@code NORMAL} priority.

public final class ProxySignals

Constructors 1

ProxySignals

public ProxySignals(EventSignalSource source)

Creates the shortcuts; prefer {@code BungeeSignals#proxy()}.

@param
source where the signals come from

Methods 3

ping

public Signal<ProxyPingEvent> ping()

Listens to {@link ProxyPingEvent}.

@return
the signal for that event

reload

public Signal<ProxyReloadEvent> reload()

Listens to {@link ProxyReloadEvent}.

@return
the signal for that event

pluginMessage

public Signal<PluginMessageEvent> pluginMessage()

Listens to {@link PluginMessageEvent}.

@return
the signal for that event