diff --git a/cogs/timings.py b/cogs/timings.py index c008bb7..1d66d5b 100644 --- a/cogs/timings.py +++ b/cogs/timings.py @@ -277,6 +277,20 @@ class Timings(commands.Cog): except KeyError as key: logging.info("Missing: " + str(key)) + try: + worlds = request_raw["worlds"] + high_mec = False + for world in worlds: + max_entity_cramming = int(request_raw["worlds"][world]["gamerules"]["maxEntityCramming"]) + if max_entity_cramming >= 24: + high_mec = True + if high_mec: + embed_var.add_field(name="❌ maxEntityCramming", + value=f"Decrease this by running the /gamerule command in each world. Recommended: 8. ") + except KeyError as key: + logging.info("Missing: " + str(key)) + + try: normal_ticks = request["timingsMaster"]["data"][0]["totalTicks"] worst_tps = 20 diff --git a/cogs/timings_check.yml b/cogs/timings_check.yml index c954dc4..5ddb879 100644 --- a/cogs/timings_check.yml +++ b/cogs/timings_check.yml @@ -13,11 +13,9 @@ servers: Yatopia is prone to bugs. Consider using [Purpur](https://ci.pl3x.net/job/Purpur/). - name: "Paper" - prefix: "||❌" - suffix: "||" + prefix: "❌" value: |- - ||Purpur has more optimizations but is generally less supported. - Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).|| + Purpur has more optimizations. Consider using [Purpur](https://ci.pl3x.net/job/Purpur/). plugins: paper: ClearLag: @@ -52,12 +50,11 @@ plugins: LimitPillagers: prefix: "❌" value: |- - You probably don't need LimitPillagers as Paper already adds its features. + LimitPillagers is not useful in 1.15 and above. VillagerOptimiser: prefix: "❌" value: |- - You probably don't need VillagerOptimiser as Paper already adds its features. - See entity-activation-range in spigot.yml. + VillagerOptimiser is not useful in 1.15 and above. StackMob: prefix: "❌" value: |-