Interface ServerSideConnectionEvent.Join
-
- All Superinterfaces:
AudienceMessageEvent
,Event
,MessageCancellable
,MessageEvent
,ServerSideConnectionEvent
- Enclosing interface:
- ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Join extends ServerSideConnectionEvent, AudienceMessageEvent, MessageCancellable
Called when aplayer
joins the game within aworld
for the first time after initial connection. Fired afterServerSideConnectionEvent.Login
once theplayer
has been properly added to theServerWorld
. If data is wanted to be modified that could affect a player's representation (such as vanishing), it's recommended to modify such data in the logging inUser
instead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
ServerSideConnectionEvent.Auth, ServerSideConnectionEvent.Disconnect, ServerSideConnectionEvent.Handshake, ServerSideConnectionEvent.Join, ServerSideConnectionEvent.Login
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerPlayer
player()
Gets theplayer
.-
Methods inherited from interface org.spongepowered.api.event.message.AudienceMessageEvent
audience, filterAudience, originalAudience, setAudience
-
Methods inherited from interface org.spongepowered.api.event.message.MessageCancellable
isMessageCancelled, setMessageCancelled
-
Methods inherited from interface org.spongepowered.api.event.message.MessageEvent
message, originalMessage, setMessage
-
Methods inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
connection, profile
-
-
-
-
Method Detail
-
player
ServerPlayer player()
Gets theplayer
.- Returns:
- The player
-
-