-
Notifications
You must be signed in to change notification settings - Fork 164
System properties
There is a number of properties which you can use to attempt to tweak ProtocolSupport
protocolsupport.ping152delay
Delay in ms before connection is assumed as 1.5.2 server ping
Default: 500
Values: any integer
protocolsupport.pinglegacydelay
Delay in ms before connection is assumed as legacy server ping (1.1 server ping protocol)
Default: 1000
Values: any integer
protocolsupport.chunksend18interval
Delay in ms between chunk packet sending for 1.8 clients
Default: 5
Values: any integer
protocolsupport.compressionlevel
Compression level which is used to compress packets
Default: 3
Values: 0-10 (fastest->best)
protocolsupport.loginthreads
Number of threads that are used to process login packets
Note: Limiting number of threads is dangerous because Bukkit AsyncPlayerPreLoginEvent event and some ProtocolSupport events are fired from this threads, any plugins may not expect that number of threads may be limited
Default: Integer.MAX_VALUE
Values: any integer
protocolsupport.loginthreadskeepalive
Amount of seconds for which not used login thread is kept alive
Default: 60
Values: any integer
protocolsupport.statusthreads
Number of threads that are used to process status packets
Default: 2
Values: any integer
protocolsupport.statusthreadskeepalive
Amount of seconds for which not used satus thread is kept alive
Default: 60
Values: any integer
protocolsupport.replaceencoderdecoder
Replace standard encoders and decoders with protocolsupport ones (should produce less garbage)
Default: false
Values: true/false