Interface ServerSideConnectionEvent.Join
- All Superinterfaces:
AudienceMessageEvent
,Event
,MessageCancellable
,MessageEvent
,ServerSideConnectionEvent
- Enclosing interface:
- ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Join
extends ServerSideConnectionEvent, AudienceMessageEvent, MessageCancellable
Called when a
player
joins the game within a
world
for the first time after initial connection.
Fired after ServerSideConnectionEvent.Login
once the player
has been
properly added to the ServerWorld
. 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 in
User
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
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 Details
-
player
ServerPlayer player()Gets theplayer
.- Returns:
- The player
-