Skip to content

Commit

Permalink
correct config option
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Aug 7, 2024
1 parent 006252e commit 63f5b2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ The time in ticks (1 sec = 20 ticks) a checked tps will be cached\s
A server restart is required when changing a command's enable status!""");

// Elytra Speed
this.elytra_old_chunk_limit = getLong("elytra.elytra-speed.old-chunk-inhabited-millis", 200L, """
this.elytra_old_chunk_limit = getLong("elytra.elytra-speed.old-chunk-inhabited-ticks", 200L, """
Time in ticks that a chunk has to have been inhabited to count as old chunk.\s
Note that the time is incremented once per tick per player within mob spawning\s
distance of a chunk.""");
this.elytra_speed_calc_period = getInt("elytra.elytra-speed.check-period-millis", 500,
"The period in millis players will be checked to determine their speed.");
this.elytra_speed_calc_period = getInt("elytra.elytra-speed.check-period-millis", 500, """
The period in millis players will be checked to determine their speed.\s
If you have lagging players with consistent high ping, you can increase this number.""");
this.elytra_calculate_3D = getBoolean("elytra.elytra-speed.calculate-3D-speed", false, """
If set to false, will only calculate 2-Dimensional speed without taking height\s
changes into consideration.""");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ public Config() throws Exception {
"A server restart is required when changing a command's enable status!");

// Elytra Speed
this.elytra_old_chunk_limit = getLong("elytra.elytra-speed.old-chunk-inhabited-millis", 200L,
this.elytra_old_chunk_limit = getLong("elytra.elytra-speed.old-chunk-inhabited-ticks", 200L,
"Time in ticks that a chunk has to have been inhabited to count as old chunk.\n" +
"Note that the time is incremented once per tick per player within mob spawning\n" +
"distance of a chunk.");
this.elytra_speed_calc_period = getInt("elytra.elytra-speed.check-period-millis", 500,
"The period in millis players will be checked to determine their speed.");
"The period in millis players will be checked to determine their speed.\n" +
"If you have lagging players with consistent high ping, you can increase this number.");
this.elytra_calculate_3D = getBoolean("elytra.elytra-speed.calculate-3D-speed", false,
"If set to false, will only calculate 2-Dimensional speed\n" +
"without taking height changes into consideration.");
Expand Down

0 comments on commit 63f5b2b

Please sign in to comment.