Interface ServerSideConnectionEvent.Join
-
- All Superinterfaces:
AudienceMessageEvent,Event,MessageCancellable,MessageEvent,ServerSideConnectionEvent
- Enclosing interface:
- ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Join extends ServerSideConnectionEvent, AudienceMessageEvent, MessageCancellable
Called when aplayerjoins the game within aworldfor the first time after initial connection. Fired afterServerSideConnectionEvent.Loginonce theplayerhas 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 inUserinstead.
-
-
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 ServerPlayerplayer()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
-
-