mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
BatchPacket, compress any packet depending on the size, really fast threaded chunk sending
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
# Main configuration file for PocketMine-MP
|
||||
# These settings are the ones that cannot be included in server.properties
|
||||
# Some of these settings are safe, others can break your server if modified incorrectly
|
||||
# New settings/defaults won't appear automatically on this file when upgrading.
|
||||
|
||||
settings:
|
||||
shutdown-message: "Server closed"
|
||||
@ -10,13 +11,22 @@ settings:
|
||||
deprecated-verbose: true
|
||||
#Enable plugin and core profiling by default
|
||||
enable-profiling: false
|
||||
advanced-cache: false
|
||||
upnp-forwarding: false
|
||||
#Sends anonymous statistics to create usage reports
|
||||
send-usage: true
|
||||
#Number of AsyncTask workers
|
||||
#WARNING: This will increase global memory usage, but it won't be listed in the total.
|
||||
async-workers: 1
|
||||
#Number of AsyncTask workers.
|
||||
#Used for plugin asynchronous tasks, compression and web communication.
|
||||
async-workers: 2
|
||||
|
||||
network:
|
||||
#Threshold for batching packets, in bytes. Only these packets will be compressed
|
||||
#Set to 0 to compress everything, -1 to disable.
|
||||
batch-threshold: 256
|
||||
#Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage
|
||||
compression-level: 7
|
||||
#Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
|
||||
async-compression: true
|
||||
#Experimental, only for Windows. Tries to use UPnP to automatically port forward
|
||||
upnp-forwarding: false
|
||||
|
||||
debug:
|
||||
#If > 1, it will show debug messages in the console
|
||||
@ -33,17 +43,15 @@ level-settings:
|
||||
|
||||
chunk-sending:
|
||||
#Amount of chunks sent to players per tick
|
||||
per-tick: 4
|
||||
#Compression level used when sending chunks. Higher = more CPU, less bandwidth usage
|
||||
compression-level: 7
|
||||
per-tick: 8
|
||||
#Amount of chunks sent around each player
|
||||
max-chunks: 256
|
||||
|
||||
chunk-ticking:
|
||||
#Max amount of chunks processed each tick
|
||||
per-tick: 80
|
||||
per-tick: 24
|
||||
#Radius of chunks around a player to tick
|
||||
tick-radius: 4
|
||||
tick-radius: 3
|
||||
#NOTE: This is currently not implemented
|
||||
light-updates: false
|
||||
clear-tick-list: false
|
||||
@ -54,7 +62,7 @@ chunk-generation:
|
||||
#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: 1
|
||||
per-tick: 3
|
||||
#Max. amount of chunks to populate per tick
|
||||
populations-per-tick: 1
|
||||
|
||||
@ -78,7 +86,7 @@ auto-report:
|
||||
enabled: true
|
||||
send-code: true
|
||||
send-settings: true
|
||||
send-phpinfo: true
|
||||
send-phpinfo: false
|
||||
host: crash.pocketmine.net
|
||||
|
||||
auto-updater:
|
||||
|
Reference in New Issue
Block a user