Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.74 KB

SHREDDEDPAPER_YAML.md

File metadata and controls

43 lines (34 loc) · 1.74 KB

shreddedpaper.yml

# Multithreading settings
multithreading:

  # The number of threads to use for ticking chunks. `-1` defaults to the number
  # of available processors subtract one, or 1, whichever is larger.
  # Set to `1` to essentially disable multi-threading.
  thread-count: -1
  
  # The size of a region in chunks. Chunks are grouped into regions when
  # ticking, and neighbouring regions are locked so any changes into the
  # neighbouring region do not step on other threads.
  # The larger the value, the more performant the server will be, but the more
  # likely the work is not evenly distributed between threads. Too small, and
  # threads may accidentally try accessing chunks of another thread.
  # A minimum of 8 chunks is recommended, as lightning rods have the largest
  # search radius at 8 chunks.
  # Must be a power of 2.
  region-size: 8
  
  # Whether to run plugins' code without 'folia-supported: true' in sync. This
  # will give unsupported plugins a better chance of working, but is not
  # guaranteed. If false, or if the plugin is supported, all the plugin's code
  # will run asynchronously in the ticking region worker threads.
  run-unsupported-plugins-in-sync: true
  
  # Can unsupported plugins modify blocks/entities/etc from the global scheduler
  # This will be false if there are multiple servers as tasks in the global
  # scheduler do not have the required region locks. These locks aren't needed
  # for single server instances.
  allow-unsupported-plugins-to-modify-chunks-via-global-scheduler: true

# ShreddedPaper's optimizations settings
optimizations:
  
  # Check entity activation range less often. Spigot does this every tick
  # unnecessarily. Set to '0' to disable.
  entity-activation-check-frequency: 20