Class Settings.QUEUE

java.lang.Object
com.plotsquared.core.configuration.Settings.QUEUE
Enclosing class:
Settings

@Comment("Settings relating to PlotSquared\'s GlobalBlockQueue") public static final class Settings.QUEUE extends Object
  • Field Details

    • MAX_ITERATION_TIME

      @Comment({"Average time per tick spent completing chunk tasks in ms.","Queue will adjust the batch size to match this."}) public static int MAX_ITERATION_TIME
    • INITIAL_BATCH_SIZE

      @Comment({"Initial number of chunks to process by the queue. This can be increased or","decreased by the queue based on the actual iteration time compared to above."}) public static int INITIAL_BATCH_SIZE
    • NOTIFY_PROGRESS

      @Comment("Notify progress of the queue to the player or console.") public static boolean NOTIFY_PROGRESS
    • NOTIFY_INTERVAL

      @Comment("Interval in ms to notify player or console of progress.") public static int NOTIFY_INTERVAL
    • NOTIFY_WAIT

      @Comment({"Time to wait in ms before beginning to notify player or console of progress.","Prevent needless notification of progress for short queues."}) public static int NOTIFY_WAIT
    • LIGHTING_MODE

      @Comment({"How lighting should be handled by the queue. Modes:"," - 0 - Do not do any lighting (fastest)"," - 1 - Only execute lighting where blocks with light values are placed"," - 2 - Only execute lighting where blocks with light values are placed or removed/replaced"," - 3 - Always execute lighting (slowest)"}) public static int LIGHTING_MODE
    • UPDATE_EDGES

      @Comment({"If blocks at the edges of queued operations should be set causing updates"," - Slightly slower, but prevents issues such as fences left connected to nothing"}) public static boolean UPDATE_EDGES
  • Constructor Details