Advertisement
dadodasyra

Untitled

Nov 12th, 2022 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.16 KB | None | 0 0
  1. # Main configuration file for PocketMine-MP
  2. # These settings are the ones that cannot be included in server.properties
  3. # Some of these settings are safe, others can break your server if modified incorrectly
  4. # New settings/defaults won't appear automatically in this file when upgrading.
  5.  
  6. settings:
  7.  #Whether to send all strings translated to server locale or let the device handle them
  8.   force-language: false
  9.   shutdown-message: "Le serveur redémarre"
  10.   #Allow listing plugins via Query
  11.   query-plugins: true
  12.   #Enable plugin and core profiling by default
  13.   enable-profiling: false
  14.   #Will only add results when tick measurement is below or equal to given value (default 20)
  15.   profile-report-trigger: 20
  16.   #Number of AsyncTask workers.
  17.   #Used for plugin asynchronous tasks, world generation, compression and web communication.
  18.   #Set this approximately to your number of cores.
  19.   #If set to auto, it'll try to detect the number of cores (or use 2)
  20.   async-workers: 4
  21.   #Whether to allow running development builds. Dev builds might crash, break your plugins, corrupt your world and more.
  22.   #It is recommended to avoid using development builds where possible.
  23.   enable-dev-builds: false
  24.  
  25. memory:
  26.  #Global soft memory limit in megabytes. Set to 0 to disable
  27.   #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
  28.   global-limit: 8192
  29.  
  30.   #Main thread soft memory limit in megabytes. Set to 0 to disable
  31.   #This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
  32.   main-limit: 8192
  33.  
  34.   #Main thread hard memory limit in megabytes. Set to 0 to disable
  35.   #This will stop the server when the limit is surpassed
  36.   main-hard-limit: 12000
  37.  
  38.   #AsyncWorker threads' hard memory limit in megabytes. Set to 0 to disable
  39.   #This will crash the task currently executing on the worker if the task exceeds the limit
  40.   #NOTE: THIS LIMIT APPLIES PER WORKER, NOT TO THE WHOLE PROCESS.
  41.   async-worker-hard-limit: 0
  42.  
  43.   #Period in ticks to check memory (default 1 second)
  44.   check-rate: 20
  45.  
  46.   #Continue firing low-memory-triggers and event while on low memory
  47.   continuous-trigger: true
  48.  
  49.   #Only if memory.continuous-trigger is enabled. Specifies the rate in memory.check-rate steps (default 30 seconds)
  50.   continuous-trigger-rate: 30
  51.  
  52.   garbage-collection:
  53.    #Period in ticks to fire the garbage collector manually (default 30 minutes), set to 0 to disable
  54.     #This only affects the main thread. Other threads should fire their own collections
  55.     period: 36000
  56.  
  57.     #Fire asynchronous tasks to collect garbage from workers
  58.     collect-async-worker: true
  59.  
  60.     #Trigger on low memory
  61.     low-memory-trigger: true
  62.  
  63.   #Settings controlling memory dump handling.
  64.   memory-dump:
  65.    #Dump memory from async workers as well as the main thread. If you have issues with segfaults when dumping memory, disable this setting.
  66.     dump-async-worker: true
  67.  
  68.   max-chunks:
  69.    #Cap maximum render distance per player when low memory is triggered. Set to 0 to disable cap.
  70.     chunk-radius: 12 #Default 8
  71.  
  72.     #Do chunk garbage collection on trigger
  73.     trigger-chunk-collect: true
  74.  
  75.   world-caches:
  76.    #Disallow adding to world chunk-packet caches when memory is low
  77.     disable-chunk-cache: true
  78.     #Clear world caches when memory is low
  79.     low-memory-trigger: true
  80.  
  81.  
  82. network:
  83.  #Threshold for batching packets, in bytes. Only these packets will be compressed
  84.   #Set to 0 to compress everything, -1 to disable.
  85.   batch-threshold: 256
  86.   #Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage
  87.   compression-level: 1
  88.   #Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
  89.   async-compression: true
  90.   #Experimental. Use UPnP to automatically port forward
  91.   upnp-forwarding: false
  92.   #Maximum size in bytes of packets sent over the network (default 1492 bytes). Packets larger than this will be
  93.   #fragmented or split into smaller parts. Clients can request MTU sizes up to but not more than this number.
  94.   max-mtu-size: 1400
  95.   #Enable encryption of Minecraft network traffic. This has an impact on performance, but prevents hackers from stealing sessions and pretending to be other players.
  96.   #DO NOT DISABLE THIS unless you understand the risks involved.
  97.   enable-encryption: true
  98.  
  99. debug:
  100.  #If > 1, it will show debug messages in the console
  101.   level: 0
  102.  
  103. player:
  104.  #Choose whether to enable player data saving.
  105.   save-player-data: true
  106.   #If true, checks that joining players' Xbox user ID (XUID) match what was previously recorded.
  107.   #This also prevents non-XBL players using XBL players' usernames to steal their data on servers with xbox-auth=off.
  108.   verify-xuid: false
  109.  
  110. level-settings:
  111.  #The default format that worlds will use when created
  112.   default-format: leveldb
  113.  
  114. chunk-sending:
  115.  #To change server normal render distance, change view-distance in server.properties.
  116.   #Amount of chunks sent to players per tick
  117.   per-tick: 4
  118.   #Radius of chunks that need to be sent before spawning the player
  119.   spawn-radius: 6
  120.  
  121. chunk-ticking:
  122.  #Max amount of chunks processed each tick
  123.   per-tick: 40
  124.   #Radius of chunks around a player to tick
  125.   tick-radius: 3
  126.   #Number of blocks inside ticking areas' subchunks that get ticked every tick. Higher values will accelerate events
  127.   #like tree and plant growth, but at a higher performance cost.
  128.   blocks-per-subchunk-per-tick: 3
  129.   #IDs of blocks not to perform random ticking on.
  130.   disable-block-ticking:
  131.    #- 2 # grass
  132.  
  133. chunk-generation:
  134.  #Max. amount of chunks in the waiting queue to be populated
  135.   population-queue-size: 8
  136.  
  137. ticks-per:
  138.   autosave: 6000
  139.  
  140. auto-report:
  141.  #Send crash reports for processing
  142.   enabled: true
  143.   send-code: false
  144.   send-settings: true
  145.   send-phpinfo: false
  146.   use-https: true
  147.   host: crash.pmmp.io
  148.  
  149. anonymous-statistics:
  150.  #Sends anonymous statistics for data aggregation, plugin usage tracking
  151.   enabled: false #TODO: re-enable this when we have a new stats host
  152.   host: stats.pocketmine.net
  153.  
  154. auto-updater:
  155.   enabled: true
  156.   on-update:
  157.     warn-console: true
  158.   #Can be development, alpha, beta or stable.
  159.   preferred-channel: stable
  160.   #If using a development version, it will suggest changing the channel
  161.   suggest-channels: true
  162.   host: update.pmmp.io
  163.  
  164. timings:
  165.  #Choose the host to use for viewing your timings results.
  166.   host: timings.pmmp.io
  167.  
  168. console:
  169.  #Choose whether to enable server stats reporting on the console title.
  170.   #NOTE: The title ticker will be disabled regardless if console colours are not enabled.
  171.   title-tick: true
  172.  
  173. aliases:
  174.  #Examples:
  175.   #showtheversion: version
  176.   #savestop: [save-all, stop]
  177.  
  178. worlds:
  179.  #These settings will override the generator set in server.properties and allows loading multiple worlds
  180.   #Example:
  181.   #world:
  182.   # seed: 404
  183.   # generator: FLAT
  184.   # preset: 2;bedrock,59xstone,3xdirt,grass;1
  185.  
  186. plugins:
  187.  #Setting this to true will cause the legacy structure to be used where plugin data is placed inside the --plugins dir.
  188.   #False will place plugin data under plugin_data under --data.
  189.   #This option exists for backwards compatibility with existing installations.
  190.   legacy-data-dir: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement