PlayerSignals
public PlayerSignals(EventSignalSource source)
Creates the shortcuts; prefer {@code VelocitySignals#players()}.
me.tamkungz.signals.velocity.event.PlayerSignals
Shortcuts for common Velocity player events, reached with {@code VelocitySignals#players()}.
<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 PlayerSignals
public PlayerSignals(EventSignalSource source)
Creates the shortcuts; prefer {@code VelocitySignals#players()}.
public EventSignalBuilder<PreLoginEvent> preLogin()
Listens to {@link PreLoginEvent}.
public EventSignalBuilder<LoginEvent> login()
Listens to {@link LoginEvent}.
public EventSignalBuilder<PostLoginEvent> postLogin()
Listens to {@link PostLoginEvent}.
public EventSignalBuilder<DisconnectEvent> disconnect()
Listens to {@link DisconnectEvent}.
public EventSignalBuilder<PlayerChatEvent> chat()
Listens to {@link PlayerChatEvent}.
public EventSignalBuilder<CommandExecuteEvent> command()
Listens to {@link CommandExecuteEvent}.
public EventSignalBuilder<PlayerSettingsChangedEvent> settingsChanged()
Listens to {@link PlayerSettingsChangedEvent}.
public EventSignalBuilder<PlayerChooseInitialServerEvent> chooseInitialServer()
Listens to {@link PlayerChooseInitialServerEvent}.