-
Notifications
You must be signed in to change notification settings - Fork 0
[server] Login sequence #1
Copy link
Copy link
Open
Labels
C:protocolcrate: oxcr_protocol or the protocol librarycrate: oxcr_protocol or the protocol libraryC:servercrate: servercrate: serverS:in-progressstatus: the issue is being worked onstatus: the issue is being worked onT:enhancementNew feature or requestNew feature or request
Description
nothendev
opened on Sep 8, 2023
Issue body actions
- Client connects to the server
- C->S: Handshake State=2
- C->S: Login Start
- S->C: Encryption Request
- Client auth
- C->S: Encryption Response
- Server auth, both enable encryption
- S->C: Set Compression (Optional, enables compression)
- S->C: Login Success
- S->C: Login (play)
- S->C: Plugin Message: minecraft:brand with the server's brand (Optional)
- S->C: Change Difficulty (Optional)
- S->C: Player Abilities (Optional)
- C->S: Plugin Message: minecraft:brand with the client's brand (Optional)
- C->S: Client Information
- S->C: Set Held Item
- S->C: Update Recipes
- S->C: Update Tags
- S->C: Entity Event (for the OP permission level; see Entity statuses#Player)
- S->C: Commands
- S->C: Recipe
- S->C: Player Position
- S->C: Player Info (Add Player action)
- S->C: Player Info (Update latency action)
- S->C: Set Center Chunk
- S->C: Light Update (One sent for each chunk in a square centered on the player's position)
- S->C: Chunk Data and Update Light (One sent for each chunk in a square centered on the player's position)
- S->C: Initialize World Border (Once the world is finished loading)
- S->C: Set Default Spawn Position (“home” spawn, not where the client will spawn on login)
- S->C: Synchronize Player Position (Required, tells the client they're ready to spawn)
- C->S: Confirm Teleportation
- C->S: Set Player Position and Rotation (to confirm the spawn position)
- C->S: Client Command (sent either before or while receiving chunks, further testing needed, server handles correctly if not sent)
- S->C: inventory, entities, etc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C:protocolcrate: oxcr_protocol or the protocol librarycrate: oxcr_protocol or the protocol libraryC:servercrate: servercrate: serverS:in-progressstatus: the issue is being worked onstatus: the issue is being worked onT:enhancementNew feature or requestNew feature or request