Package org.core.event.events.connection
Interface ClientConnectionEvent.Leave
- All Superinterfaces:
ClientConnectionEvent
,EntityEvent<LivePlayer>
,Event
- All Known Subinterfaces:
ClientConnectionEvent.Leave.Kick
,ClientConnectionEvent.Leave.Quit
- Enclosing interface:
- ClientConnectionEvent
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface org.core.event.events.connection.ClientConnectionEvent
ClientConnectionEvent.Incoming, ClientConnectionEvent.Leave
-
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.Component
default void
setLeaveMessage(@NotNull net.kyori.adventure.text.Component message)
Methods inherited from interface org.core.event.events.entity.EntityEvent
getEntity
-
Method Details
-
getLeaveMessage
@NotNull @NotNull net.kyori.adventure.text.Component getLeaveMessage() -
setLeaveMessage
ClientConnectionEvent.Leave setLeaveMessage(@NotNull @NotNull net.kyori.adventure.text.Component message) -
removeLeaveMessage
default void removeLeaveMessage()
-