Class ServerFlag

java.lang.Object
net.minestom.server.ServerFlag

public final class ServerFlag extends Object
Contains server settings/flags to be set with system properties.

Some flags (labeled at the bottom) are experimental. They may be removed without notice, and may have issues.

  • Field Details

    • SHUTDOWN_ON_SIGNAL

      public static final Boolean SHUTDOWN_ON_SIGNAL
    • SERVER_TICKS_PER_SECOND

      public static final int SERVER_TICKS_PER_SECOND
    • SERVER_MAX_TICK_CATCH_UP

      public static final int SERVER_MAX_TICK_CATCH_UP
    • CHUNK_VIEW_DISTANCE

      public static final int CHUNK_VIEW_DISTANCE
    • ENTITY_VIEW_DISTANCE

      public static final int ENTITY_VIEW_DISTANCE
    • ENTITY_SYNCHRONIZATION_TICKS

      public static final int ENTITY_SYNCHRONIZATION_TICKS
    • DISPATCHER_THREADS

      public static final int DISPATCHER_THREADS
    • SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY

      public static final int SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY
    • LOGIN_PLUGIN_MESSAGE_TIMEOUT

      public static final long LOGIN_PLUGIN_MESSAGE_TIMEOUT
    • PLAYER_PACKET_PER_TICK

      public static final int PLAYER_PACKET_PER_TICK
    • PLAYER_PACKET_QUEUE_SIZE

      public static final int PLAYER_PACKET_QUEUE_SIZE
    • KEEP_ALIVE_DELAY

      public static final long KEEP_ALIVE_DELAY
    • KEEP_ALIVE_KICK

      public static final long KEEP_ALIVE_KICK
    • MAX_PACKET_SIZE

      public static final int MAX_PACKET_SIZE
    • MAX_PACKET_SIZE_PRE_AUTH

      public static final int MAX_PACKET_SIZE_PRE_AUTH
    • SOCKET_SEND_BUFFER_SIZE

      public static final int SOCKET_SEND_BUFFER_SIZE
    • SOCKET_RECEIVE_BUFFER_SIZE

      public static final int SOCKET_RECEIVE_BUFFER_SIZE
    • SOCKET_NO_DELAY

      public static final boolean SOCKET_NO_DELAY
    • SOCKET_TIMEOUT

      public static final int SOCKET_TIMEOUT
    • POOLED_BUFFER_SIZE

      public static final int POOLED_BUFFER_SIZE
    • MIN_CHUNKS_PER_TICK

      public static final float MIN_CHUNKS_PER_TICK
    • MAX_CHUNKS_PER_TICK

      public static final float MAX_CHUNKS_PER_TICK
    • CHUNKS_PER_TICK_MULTIPLIER

      public static final float CHUNKS_PER_TICK_MULTIPLIER
    • GROUPED_PACKET

      public static final boolean GROUPED_PACKET
    • CACHED_PACKET

      public static final boolean CACHED_PACKET
    • VIEWABLE_PACKET

      public static final boolean VIEWABLE_PACKET
    • TAG_HANDLER_CACHE_ENABLED

      public static final boolean TAG_HANDLER_CACHE_ENABLED
    • SERIALIZE_EMPTY_COMPOUND

      public static final boolean SERIALIZE_EMPTY_COMPOUND
    • AUTH_URL

      @NotNull public static final @NotNull String AUTH_URL
    • AUTH_PREVENT_PROXY_CONNECTIONS

      public static final boolean AUTH_PREVENT_PROXY_CONNECTIONS
    • WORLD_BORDER_SIZE

      public static final int WORLD_BORDER_SIZE
    • MAP_RGB_MAPPING

      @NotNull public static final @NotNull String MAP_RGB_MAPPING
    • MAP_RGB_REDUCTION

      public static final int MAP_RGB_REDUCTION
    • ENFORCE_INTERACTION_LIMIT

      public static final boolean ENFORCE_INTERACTION_LIMIT
    • REGISTRY_LATE_REGISTER

      public static final boolean REGISTRY_LATE_REGISTER
    • REGISTRY_UNSAFE_OPS

      public static final boolean REGISTRY_UNSAFE_OPS
    • EVENT_NODE_ALLOW_MULTIPLE_PARENTS

      public static final boolean EVENT_NODE_ALLOW_MULTIPLE_PARENTS
    • INSIDE_TEST

      public static boolean INSIDE_TEST