Java API
class

ProxySignals

me.tamkungz.signals.velocity.event.ProxySignals

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

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

<p>

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

anything not listed here is still available through that method.

public final class ProxySignals

Constructors 1

ProxySignals

public ProxySignals(EventSignalSource source)

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

@param
source where the signals come from

Methods 5

initialize

public EventSignalBuilder<ProxyInitializeEvent> initialize()

Listens to {@link ProxyInitializeEvent}.

@return
a builder for the post order option

shutdown

public EventSignalBuilder<ProxyShutdownEvent> shutdown()

Listens to {@link ProxyShutdownEvent}.

@return
a builder for the post order option

reload

public EventSignalBuilder<ProxyReloadEvent> reload()

Listens to {@link ProxyReloadEvent}.

@return
a builder for the post order option

ping

public EventSignalBuilder<ProxyPingEvent> ping()

Listens to {@link ProxyPingEvent}.

@return
a builder for the post order option

pluginMessage

public EventSignalBuilder<PluginMessageEvent> pluginMessage()

Listens to {@link PluginMessageEvent}.

@return
a builder for the post order option