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, toStringergetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientpublic 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.