-
Notifications
You must be signed in to change notification settings - Fork 51
Sample Ticks Per Second
Daniel Mills edited this page Mar 31, 2016
·
4 revisions
Twenty times a second, the server "ticks". Every tick, the server moves entities, handles blocks and pretty much does everything Minecraft does. This is known as the TPS. Server side lag happens when a "tick" is doing a lot of work and is too much work to all happen in 1/20th of a second (50 milliseconds). If the server is taking longer than 50 milliseconds to complete a single tick, there will be less than 20 ticks within a second. You will begin to see block lag, entities moving slow, and more.
Perfect TPS is 20, however typically servers are never ALWAYS at 20 TPS. The idea is to ensure that the server does not feel laggy. Try to keep it above 17 or even 19.5 TPS.
Located at plugins/React/samplers/sample-ticks-per-second.yml
component:
# The interval at which this sample measures.
# You should not change this unless you know what you're doing.
# This interval is sometimes highly sensitive to accuracy.
interval: 1