mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Yay generation uses async tasks
This commit is contained in:
@ -14,7 +14,7 @@ settings:
|
||||
#Sends anonymous statistics to create usage reports
|
||||
send-usage: true
|
||||
#Number of AsyncTask workers.
|
||||
#Used for plugin asynchronous tasks, compression and web communication.
|
||||
#Used for plugin asynchronous tasks, world generation, compression and web communication.
|
||||
async-workers: 2
|
||||
|
||||
network:
|
||||
@ -59,12 +59,9 @@ chunk-ticking:
|
||||
clear-tick-list: false
|
||||
|
||||
chunk-generation:
|
||||
#Whether to run the generation on a different thread or on the main thread
|
||||
#Generation will be less glitchy on the main thread, but will lag more
|
||||
#Using this with fast generators is recommended
|
||||
use-async: true
|
||||
#Max. amount of chunks to generate per tick, only for use-async: false
|
||||
per-tick: 3
|
||||
#Max. amount of chunks in the waiting queue ot be generated
|
||||
#It's recommended to set this to 8 * settings.async-workers
|
||||
queue-size: 16
|
||||
#Max. amount of chunks to populate per tick
|
||||
populations-per-tick: 1
|
||||
|
||||
|
Reference in New Issue
Block a user