All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minestom.server.network.ConnectionState Maven / Gradle / Ivy

package net.minestom.server.network;

/**
 * Represents the connection state of a client.
 */
public enum ConnectionState {
    /**
     * Default state before any packet is received.
     */
    HANDSHAKE,
    /**
     * Client declares `Status` intent during handshake.
     */
    STATUS,
    /**
     * Client declares `Login` intent during handshake.
     */
    LOGIN,
    /**
     * Client acknowledged login and is now configuring the game.
     */
    CONFIGURATION,
    /**
     * Client finished configuration.
     */
    PLAY
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy