From 115d941301cbeb227389f8f63a02db3316eb9c06 Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Thu, 14 Jan 2021 02:22:36 -0600 Subject: [PATCH] Timings - Check max-per-tick (Closes #8) --- cogs/timings_check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cogs/timings_check.yml b/cogs/timings_check.yml index fe2e24b..f669044 100644 --- a/cogs/timings_check.yml +++ b/cogs/timings_check.yml @@ -269,11 +269,13 @@ config: value: "Enable this in [spigot.yml](http://bit.ly/spiconf)." entity-activation-range.wake-up-inactive.villagers-for: - expressions: + - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-max-per-tick"]) >= 1 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["villagers-for"]) >= 100 prefix: "❌" value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 20." entity-activation-range.wake-up-inactive.flying-monsters-for: - expressions: + - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-max-per-tick"]) >= 1 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["flying-monsters-for"]) >= 100 prefix: "❌" value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 60." @@ -284,6 +286,7 @@ config: value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 1." entity-activation-range.wake-up-inactive.animals-for: - expressions: + - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-max-per-tick"]) >= 1 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["animals-for"]) >= 100 prefix: "❌" value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 40." @@ -304,6 +307,7 @@ config: value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 2." entity-activation-range.wake-up-inactive.monsters-for: - expressions: + - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-max-per-tick"]) >= 1 - int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-for"]) >= 100 prefix: "❌" value: "Decrease this in [spigot.yml](http://bit.ly/spiconf).\nRecommended: 60."