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

    • 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
    • WORKER_COUNT

      public static final int WORKER_COUNT
    • MAX_PACKET_SIZE

      public static final int MAX_PACKET_SIZE
    • SOCKET_SEND_BUFFER_SIZE

      public static final int SOCKET_SEND_BUFFER_SIZE
    • SOCKET_RECEIVE_BUFFER_SIZE

      public static final int SOCKET_RECEIVE_BUFFER_SIZE
    • POOLED_BUFFER_SIZE

      public static final int POOLED_BUFFER_SIZE
    • PLAYER_PACKET_PER_TICK

      public static final int PLAYER_PACKET_PER_TICK
    • PLAYER_PACKET_QUEUE_SIZE

      public static final int PLAYER_PACKET_QUEUE_SIZE
    • SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY

      public static final int SEND_LIGHT_AFTER_BLOCK_PLACEMENT_DELAY
    • KEEP_ALIVE_DELAY

      public static final long KEEP_ALIVE_DELAY
    • KEEP_ALIVE_KICK

      public static final long KEEP_ALIVE_KICK
    • LOGIN_PLUGIN_MESSAGE_TIMEOUT

      public static final long LOGIN_PLUGIN_MESSAGE_TIMEOUT
    • 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
    • STACKING_RULE

      @Nullable public static final @Nullable String STACKING_RULE
    • WORLD_BORDER_SIZE

      public static final int WORLD_BORDER_SIZE
    • BIOMES_ENABLED

      public static final boolean BIOMES_ENABLED
    • ATTRIBUTES_ENABLED

      public static final boolean ATTRIBUTES_ENABLED
    • TERMINAL_ENABLED

      public static final boolean TERMINAL_ENABLED
    • TERMINAL_SUPPORT_HEX_COLOR

      public static final boolean TERMINAL_SUPPORT_HEX_COLOR
    • TERMINAL_SUPPORT_COLOR

      public static final boolean TERMINAL_SUPPORT_COLOR
    • EXTENSIONS_ENABLED

      public static final boolean EXTENSIONS_ENABLED
    • EXTENSIONS_FOLDER

      @NotNull public static final @NotNull String EXTENSIONS_FOLDER
    • EXTENSIONS_DEV_CLASSES

      @Nullable public static final @Nullable String EXTENSIONS_DEV_CLASSES
    • EXTENSIONS_DEV_RESOURCES

      @Nullable public static final @Nullable String EXTENSIONS_DEV_RESOURCES
    • MAP_RGB_MAPPING

      @NotNull public static final @NotNull String MAP_RGB_MAPPING
    • MAP_RGB_REDUCTION

      @Nullable public static final @Nullable String MAP_RGB_REDUCTION
    • EVENT_NODE_ALLOW_MULTIPLE_PARENTS

      public static final boolean EVENT_NODE_ALLOW_MULTIPLE_PARENTS