Configuration
Tachyon's environment variables for the Velocity proxy and the tachyon.yml death delay settings for Paper, with defaults.
Velocity part
The Velocity part is configured with environment variables on the proxy process. It reads them once when the proxy starts, so restart the proxy after changing them.
| Variable | Default | Description |
|---|---|---|
TACHYON_ENABLED | true | Whether low ping mode starts on for each player. Players can still change it for themselves with /tachyon toggle. |
TACHYON_KNOCKBACK | true | Whether Tachyon sends predicted knockback. With false, only the sound, hurt animation and crit particles are sent early, and the server's knockback is shown when it arrives. |
TACHYON_THRESHOLD | 60 | Milliseconds. Tachyon only predicts while the measured backend delay is at or above this. |
TACHYON_FALLBACK | 400 | Milliseconds. The delay Tachyon assumes before it has measured one. |
TACHYON_MARGIN | 90 | Milliseconds added to the backend delay. Within that time after a hit, the backend's copies of the predicted packets are dropped. |
TACHYON_SOUND_RADIUS | 6 | Blocks. Attack sounds this close to the attacker count as the backend's copy of their hit sound. |
Booleans take true or false. Numbers take whole numbers of 0 or more. Any other value is ignored and the default is used.
Set them wherever you start the proxy, for example in a start script:
TACHYON_THRESHOLD=80 TACHYON_MARGIN=120 java -Xmx1G -jar velocity.jarPaper part
The Paper part keeps its settings in plugins/Tachyon/tachyon.. The file is created on first start, and edits are picked up while the server runs.
graceThreshold: 60
graceCap: 300| Key | Environment variable | Default | Description |
|---|---|---|---|
graceThreshold | TACHYON_GRACE_THRESHOLD | 60 | Milliseconds. Players with a lower ping get no death delay. |
graceCap | TACHYON_GRACE_CAP | 300 | Milliseconds. The longest delay any player gets. |
When an environment variable is set, it overrides the value in the file.
The delay is the player's ping, capped at graceCap, rounded up to whole ticks of 50 ms. With the defaults:
| Ping | Death delay |
|---|---|
| 40 ms | None |
| 60 ms | 2 ticks |
| 120 ms | 3 ticks |
| 500 ms | 6 ticks |