public class ClientReceiveMotdEvent extends ServerMultipleMessageEventBase
Constructor and Description |
---|
ClientReceiveMotdEvent(@NonNull Client client,
@NonNull List<ServerMessage> sourceMessages)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull Optional<List<String>> |
getMotd()
Gets the MOTD.
|
getSource, toStringer
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
public ClientReceiveMotdEvent(@NonNull Client client, @NonNull List<ServerMessage> sourceMessages)
client
- the clientsourceMessages
- source messagespublic @NonNull Optional<List<String>> getMotd()
ServerInfo.getMotd()
Copyright © 2013–2021 Kitteh. All rights reserved.