Class ServerFlag

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

@Deprecated(forRemoval=true) public final class ServerFlag extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
use ServerProperties, which names the same settings and reads them through ServerProperty.get(). Every constant here is the value its property held when this class was initialized, so a setting made writable with <name>.mutable=true never reaches a reader that came through this class.
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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final float
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SHUTDOWN_ON_SIGNAL

      public static final boolean SHUTDOWN_ON_SIGNAL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SERVER_TICKS_PER_SECOND

      public static final int SERVER_TICKS_PER_SECOND
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SERVER_MAX_TICK_CATCH_UP

      public static final int SERVER_MAX_TICK_CATCH_UP
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CHUNK_VIEW_DISTANCE

      public static final int CHUNK_VIEW_DISTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ENTITY_VIEW_DISTANCE

      public static final int ENTITY_VIEW_DISTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ENTITY_SYNCHRONIZATION_TICKS

      public static final int ENTITY_SYNCHRONIZATION_TICKS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DISPATCHER_THREADS

      public static final int DISPATCHER_THREADS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY

      public static final int SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • LOGIN_PLUGIN_MESSAGE_TIMEOUT

      public static final long LOGIN_PLUGIN_MESSAGE_TIMEOUT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • KNOWN_PACKS_RESPONSE_TIMEOUT

      public static final long KNOWN_PACKS_RESPONSE_TIMEOUT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ACCEPT_TRANSFERS

      public static final boolean ACCEPT_TRANSFERS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AUTOMATIC_COMPONENT_TRANSLATION

      public static final boolean AUTOMATIC_COMPONENT_TRANSLATION
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PLAYER_PACKET_PER_TICK

      public static final int PLAYER_PACKET_PER_TICK
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PLAYER_PACKET_QUEUE_SIZE

      public static final int PLAYER_PACKET_QUEUE_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • KEEP_ALIVE_DELAY

      public static final long KEEP_ALIVE_DELAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • KEEP_ALIVE_KICK

      public static final long KEEP_ALIVE_KICK
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PLAYER_CHUNK_UPDATE_LIMITER_HISTORY_SIZE

      public static final int PLAYER_CHUNK_UPDATE_LIMITER_HISTORY_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SUPPRESS_CONNECTION_ACCEPT_ERRORS

      public static final boolean SUPPRESS_CONNECTION_ACCEPT_ERRORS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SUPPRESS_CONNECTION_IO_ERRORS

      public static final boolean SUPPRESS_CONNECTION_IO_ERRORS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SUPPRESS_MALFORMED_PACKET_ERROR_LEVEL

      public static final int SUPPRESS_MALFORMED_PACKET_ERROR_LEVEL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SUPPRESS_MISUSED_PACKET_ERROR_LEVEL

      public static final int SUPPRESS_MISUSED_PACKET_ERROR_LEVEL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • REJECT_MALFORMED_PACKET

      public static final boolean REJECT_MALFORMED_PACKET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • REJECT_MISUSED_PACKET

      public static final boolean REJECT_MISUSED_PACKET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • WARN_PACKET_UNREAD_BYTES

      public static final boolean WARN_PACKET_UNREAD_BYTES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MAX_PACKET_SIZE

      public static final int MAX_PACKET_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MAX_PACKET_SIZE_PRE_AUTH

      public static final int MAX_PACKET_SIZE_PRE_AUTH
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SOCKET_SEND_BUFFER_SIZE

      public static final int SOCKET_SEND_BUFFER_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SOCKET_RECEIVE_BUFFER_SIZE

      public static final int SOCKET_RECEIVE_BUFFER_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SOCKET_NO_DELAY

      public static final boolean SOCKET_NO_DELAY
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SOCKET_TIMEOUT

      public static final int SOCKET_TIMEOUT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • POOLED_BUFFER_SIZE

      public static final int POOLED_BUFFER_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MIN_CHUNKS_PER_TICK

      public static final float MIN_CHUNKS_PER_TICK
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MAX_CHUNKS_PER_TICK

      public static final float MAX_CHUNKS_PER_TICK
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CHUNKS_PER_TICK_MULTIPLIER

      public static final float CHUNKS_PER_TICK_MULTIPLIER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • GROUPED_PACKET

      public static final boolean GROUPED_PACKET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CACHED_PACKET

      public static final boolean CACHED_PACKET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • VIEWABLE_PACKET

      public static final boolean VIEWABLE_PACKET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TAG_HANDLER_CACHE_ENABLED

      public static final boolean TAG_HANDLER_CACHE_ENABLED
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SERIALIZE_EMPTY_COMPOUND

      public static final boolean SERIALIZE_EMPTY_COMPOUND
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AUTH_URL

      public static final String AUTH_URL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AUTH_PREVENT_PROXY_CONNECTIONS

      public static final boolean AUTH_PREVENT_PROXY_CONNECTIONS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • WORLD_BORDER_SIZE

      public static final int WORLD_BORDER_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ENFORCE_INTERACTION_LIMIT

      public static final boolean ENFORCE_INTERACTION_LIMIT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • REGISTRY_UNSAFE_OPS

      public static final boolean REGISTRY_UNSAFE_OPS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • EVENT_NODE_ALLOW_MULTIPLE_PARENTS

      public static final boolean EVENT_NODE_ALLOW_MULTIPLE_PARENTS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FASTER_SOCKET_WRITES

      public static final boolean FASTER_SOCKET_WRITES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ACQUIRABLE_STRICT

      public static final boolean ACQUIRABLE_STRICT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UNSAFE_COLLECTIONS

      public static final boolean UNSAFE_COLLECTIONS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TEMPLATE_COMPILER

      public static final boolean TEMPLATE_COMPILER
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PROXY_PROTOCOL

      public static final boolean PROXY_PROTOCOL
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PROXY_PROTOCOL_REQUIRED

      public static final boolean PROXY_PROTOCOL_REQUIRED
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NBT_MAX_DEPTH

      public static final int NBT_MAX_DEPTH
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NBT_MAX_BYTES

      public static final int NBT_MAX_BYTES
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INSIDE_TEST

      public static final boolean INSIDE_TEST
      Deprecated, for removal: This API element is subject to removal in a future version.